OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.

22 years ago * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
Stephane Carrez [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.

22 years ago * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
Stephane Carrez [Sat, 29 Jun 2002 10:33:45 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.

22 years ago * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
Stephane Carrez [Sat, 29 Jun 2002 10:32:34 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.

22 years agodaily update
Alan Modra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
Jeff Law [Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.

22 years ago * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
Jeff Law [Thu, 27 Jun 2002 22:57:02 +0000 (22:57 +0000)]
    * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
        (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
        and opd_rel_sec in order for starting rela section.  Check _raw_size.
        (elf_backend_reloc_type_class): Define.

22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
Alan Modra [Thu, 27 Jun 2002 11:51:42 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
Alan Modra [Thu, 27 Jun 2002 11:29:15 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agodaily update
Alan Modra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agold:
Joern Rennecke [Wed, 26 Jun 2002 15:42:33 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years agoRescind Tom Rix's maintainerships.
Nick Clifton [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
Alan Modra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
Alan Modra [Wed, 26 Jun 2002 13:22:55 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
Nick Clifton [Wed, 26 Jun 2002 08:21:04 +0000 (08:21 +0000)]
New Turkish translation

22 years ago* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
Jason Thorpe [Wed, 26 Jun 2002 03:10:20 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

22 years ago * ecoff.c: (get_tag): Replace strcpy with xstrdup.
Alan Modra [Wed, 26 Jun 2002 01:18:42 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.

22 years ago2002-06-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 26 Jun 2002 01:12:32 +0000 (01:12 +0000)]
2002-06-25  H.J. Lu <hjl@gnu.org>

* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.

22 years agodaily update
Alan Modra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update

22 years agoCheck unit->addr_size to read in the proper number of prologue bytes.
Nick Clifton [Tue, 25 Jun 2002 19:10:00 +0000 (19:10 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.

22 years agofixup position of #ifdef BFD64 for powerpc delta recently applied.
Nick Clifton [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.

22 years agoOnly create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Nick Clifton [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

22 years ago * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
Alan Modra [Tue, 25 Jun 2002 09:40:45 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params.  Use PTR instead of
void *.  Include terminating NUL in namesz.  Correct padding.
Support NULL "name" param.  Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise.  Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.

22 years agoSet BSF_FUNCTION for symbols of type stProc and stStaticProc.
Nick Clifton [Tue, 25 Jun 2002 08:47:31 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.

22 years ago * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Alan Modra [Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

22 years ago * aout-adobe.c: Don't compare against "true" or "false.
Alan Modra [Tue, 25 Jun 2002 06:21:54 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".

* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.

22 years agomerge from gcc
DJ Delorie [Tue, 25 Jun 2002 01:03:52 +0000 (01:03 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * elflink.h (elf_link_add_archive_symbols): For the default
Alan Modra [Sun, 23 Jun 2002 12:44:31 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.

22 years ago * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
Alan Modra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt):  Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.

22 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 23 Jun 2002 02:09:05 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago2002-06-23 Alan Modra <amodra@bigpond.net.au>
Alan Modra [Sun, 23 Jun 2002 02:04:28 +0000 (02:04 +0000)]
2002-06-23  Alan Modra  <amodra@bigpond.net.au>

* elflink.h: Comment typo fixes.

2002-06-23  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.

22 years agodaily update
Alan Modra [Sun, 23 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Sat, 22 Jun 2002 13:31:20 +0000 (13:31 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Sat, 22 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Fix AIX configury bug.
DJ Delorie [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.

22 years ago * configure.in: Quote bu_cv_have_fopen64.
Alan Modra [Fri, 21 Jun 2002 02:41:52 +0000 (02:41 +0000)]
* configure.in: Quote bu_cv_have_fopen64.
* configure: Regenerate.

22 years ago * configure.in: Check for strcoll.
Alan Modra [Fri, 21 Jun 2002 02:34:38 +0000 (02:34 +0000)]
* configure.in: Check for strcoll.
* configure: Regenerate.
* config.in: Regenerate.
* nm.c (main): Set locale for LC_COLLATE category.
(non_numeric_forward): Use strcoll if available.

22 years agodaily update
Alan Modra [Fri, 21 Jun 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-20 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 20 Jun 2002 19:55:10 +0000 (19:55 +0000)]
2002-06-20  Dave Brolley  <brolley@redhat.com>

* MAINTAINERS: Add self as fr30 and frv maintainer.

22 years agoUpdate bug reporting guidelines
Nick Clifton [Thu, 20 Jun 2002 14:44:10 +0000 (14:44 +0000)]
Update bug reporting guidelines

22 years agoRemove romp target
Nick Clifton [Thu, 20 Jun 2002 14:10:38 +0000 (14:10 +0000)]
Remove romp target

22 years agodaily update
Alan Modra [Thu, 20 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: replace ${topsrcdir} with ${srcdir}
DJ Delorie [Wed, 19 Jun 2002 23:57:41 +0000 (23:57 +0000)]
* configure.in: replace ${topsrcdir} with ${srcdir}

22 years ago* configure.in: Move definition of libstdcxx_flags
DJ Delorie [Wed, 19 Jun 2002 23:53:30 +0000 (23:53 +0000)]
* configure.in: Move definition of libstdcxx_flags
right above usage, rather than waaay earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:47:55 +0000 (23:47 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Pull definition of is_cross_compiler earlier.
DJ Delorie [Wed, 19 Jun 2002 23:39:41 +0000 (23:39 +0000)]
* configure.in: Pull definition of is_cross_compiler earlier.

22 years ago* configure.in: Rearrange a little.
DJ Delorie [Wed, 19 Jun 2002 23:24:18 +0000 (23:24 +0000)]
* configure.in: Rearrange a little.

22 years ago* configure.in: Remove references to librx.
DJ Delorie [Wed, 19 Jun 2002 23:07:26 +0000 (23:07 +0000)]
* configure.in: Remove references to librx.
* Makefile.in: Remove references to librx.

22 years ago* configure.in: Eliminate ${gasdir} variable.
DJ Delorie [Wed, 19 Jun 2002 17:39:26 +0000 (17:39 +0000)]
* configure.in: Eliminate ${gasdir} variable.

22 years agoTypo fixes in comment.
Joern Rennecke [Wed, 19 Jun 2002 14:31:07 +0000 (14:31 +0000)]
Typo fixes in comment.

22 years ago * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
Joern Rennecke [Wed, 19 Jun 2002 14:28:09 +0000 (14:28 +0000)]
* config/tc-sh.c (get_specific): Revert 2002-05-01 change.
(assemble_ppi): Generate warning if the same register is used
twice as destination in the same padd / pmuls instruction.

22 years agoIf the target does not support an ELF style has table, return true, indicating
Nick Clifton [Wed, 19 Jun 2002 10:07:37 +0000 (10:07 +0000)]
If the target does not support an ELF style has table, return true, indicating
that nothing needed to be done, rather than false, indicating that the
section's size could not be computed.

22 years ago2002-06-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 19 Jun 2002 05:34:56 +0000 (05:34 +0000)]
2002-06-18  Chris Demetriou  <cgd@broadcom.com>

* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
section flags for SEC_DATA, rather than for SEC_CODE being unset.

22 years ago2002-06-18 H.J. Lu (hjl@gnu.org)
H.J. Lu [Wed, 19 Jun 2002 03:07:04 +0000 (03:07 +0000)]
2002-06-18  H.J. Lu  (hjl@gnu.org)

* nm.c: Include "elf/common.h".
(extended_symbol_info): Add elfinfo, a pointer to
elf_symbol_type.
(SYM_SIZE): Use elfinfo if it is not NULL.
(get_symbol_type): New function.
(display_archive): Set print_width for each archive member.
(display_file): Likewise.
(display_rel_file): Don't set print_width here.
(print_object_filename_sysv): Handle print_width.
(print_archive_member_sysv): Likewise.
(print_symbols): Pass (bfd_vma) 0 to print_symbol.
(print_symbol): Set the elfinfo field in extended_symbol_info
for ELF.
(print_object_filename_sysv): Fix the output format.
(print_symbol_info_sysv): Print type and section for ELF.

2002-06-18  Elias Athanasopoulos  <eathan@otenet.gr>

* nm.c (print_size_symbols): Remove assignment, which makes
the symbol's size equal to its value when --size-sort is
used.

22 years ago2002-06-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 19 Jun 2002 01:52:52 +0000 (01:52 +0000)]
2002-06-18  Chris Demetriou  <cgd@broadcom.com>

* emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
format specifier used to print BFD name.

22 years ago2002-06-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 19 Jun 2002 01:48:10 +0000 (01:48 +0000)]
2002-06-18  Chris Demetriou  <cgd@broadcom.com>

* ld-mips-elf/empic2-ref.s: Add a missing .end, apparently
turned up by recent assembler changes.

22 years agodaily update
Alan Modra [Wed, 19 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:34:27 +0000 (21:34 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

* configure.in: Add support for frv.
* config.sub: Add support for frv.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:21:05 +0000 (21:21 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

* po/POTFILES.in: Add frv-*.[ch].
* disassemble.c (ARCH_frv): New macro.
(disassembler): Handle bfd_arch_frv.
* configure.in: Support frv_bfd_arch.
* Makefile.am (HFILES): Add frv-*.h.
(CFILES): Add frv-*.c
(ALL_MACHINES): Add frv-*.lo.
(CLEANFILES): Add stamp-frv.
(FRV_DEPS): New variable.
(stamp-frv): New target.
(frv-asm.lo): New target.
(frv-desc.lo): New target.
(frv-dis.lo): New target.
(frv-ibld.lo): New target.
(frv-opc.lo): New target.
(frv-*.[ch]): New files.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:17:27 +0000 (21:17 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Jim Blandy:
* emulparams/elf32frv.sh: New file.
* configure.tgt: Support frv-*-*.
* Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
(eelf32frv.c): New target.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:16:32 +0000 (21:16 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore:
* dis-asm.h (print_insn_frv): New prototype.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:15:57 +0000 (21:15 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Dave Brolley:
* common.h (EM_CYGNUS_FRV): New macro.
* frv.h: New file.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:15:21 +0000 (21:15 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley:
* po/POTFILES.in: Add tc-frv.c, tc-frv.h.
* configure.in: Support frv-*-*.
* Makefile.am (CPU_TYPES): Add frv.
(TARGET_CPU_CFILES): Add tc-frv.c.
(TARGET_CPU_HFILES): Add tc-frv.h.
(DEPTC_frv_coff): New variable.
(DEPTC_frv_elf): New variable.
(DEPOBJ_frv_coff): New variable.
(DEPOBJ_frv_elf): New variable.
(DEP_frv_coff): New variable.
(DEP_frv_elf): New variable.
* tc-frv.c: New file.
* tc-frv.h: New file.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:14:45 +0000 (21:14 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

* gas/frv: New testsuite.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:11:47 +0000 (21:11 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore:
* readelf.c (elf/frv.h): #include it.
(guess_is_rela): Support EM_CYGNUS_FRV.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:10:55 +0000 (21:10 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

From Catherine Moore, Michael Meissner, Dave Brolley:
* po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c
* targets.c: Support bfd_elf32_frv_vec.
* reloc.c: Add FRV relocs.
* configure.in: Add support for bfd-elf32-frv-vec.
* config.bfd (targ_cpu): Add support for frv-*-elf.
* archures.c: Add frv arch and machines.
* Makefile.am (ALL_MACHINES): Add cpu-frv.lo.
(ALL_MACHINES_CFILES): Add cpu-frv.c.
(BFD32_BACKENDS): Add elf32-frv.lo.
(BFD32_BACKENDS_CFILES): Add elf32-frv.c
(cpu-frv.lo): New target.
(elf32-frv.lo): New target.
* cpu-frv.c: New file.
* elf32-frv.c: New file.

22 years ago * Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
Ben Elliston [Tue, 18 Jun 2002 17:43:07 +0000 (17:43 +0000)]
* Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
* Makefile.in: Regenerate.

22 years agobinutils/
Jakub Jelinek [Tue, 18 Jun 2002 14:09:06 +0000 (14:09 +0000)]
binutils/
* readelf.c (get_file_header): Only read the first section header if
e_shoff is non-zero.

bfd/
* elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies
e_shnum == 0.
Only read the first section header if e_shoff is non-zero.
Don't consider e_shstrndx if there are no sections.

22 years agomerge from gcc
DJ Delorie [Tue, 18 Jun 2002 03:01:43 +0000 (03:01 +0000)]
merge from gcc

22 years ago* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
Catherine Moore [Tue, 18 Jun 2002 01:37:34 +0000 (01:37 +0000)]
* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.

22 years agodaily update
Alan Modra [Tue, 18 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-sh.c (assemble_ppi): Initialize reg_n.
Joern Rennecke [Mon, 17 Jun 2002 15:32:25 +0000 (15:32 +0000)]
* config/tc-sh.c (assemble_ppi): Initialize reg_n.

22 years agoFix comment.
Joern Rennecke [Mon, 17 Jun 2002 15:27:57 +0000 (15:27 +0000)]
Fix comment.

22 years ago * gas/sh/dsp.s: Add three more instructions.
Joern Rennecke [Mon, 17 Jun 2002 15:25:41 +0000 (15:25 +0000)]
* gas/sh/dsp.s: Add three more instructions.
* gas/sh/dsp.d: Update.

22 years agoFix ld segfault for some elf targets. Fix default layout for d10v.
Tom Rix [Mon, 17 Jun 2002 14:08:40 +0000 (14:08 +0000)]
Fix ld segfault for some elf targets.  Fix default layout for d10v.

22 years agoTests for d10v.
Tom Rix [Mon, 17 Jun 2002 14:05:53 +0000 (14:05 +0000)]
Tests for d10v.

22 years agoFix build breakage.
Tom Rix [Mon, 17 Jun 2002 13:48:59 +0000 (13:48 +0000)]
Fix build breakage.

22 years agoFix pc relocations.
Tom Rix [Mon, 17 Jun 2002 13:43:50 +0000 (13:43 +0000)]
Fix pc relocations.

22 years ago * opncls.c (bfd_openr): Remove redundant bfd_set_error.
Alan Modra [Mon, 17 Jun 2002 02:33:42 +0000 (02:33 +0000)]
* opncls.c (bfd_openr): Remove redundant bfd_set_error.
(bfd_fdopenr): Likewise.
(bfd_openstreamr): Likewise.
(bfd_openw): Likewise.

22 years ago * targets.c: Sort target vecs.
Alan Modra [Mon, 17 Jun 2002 02:27:38 +0000 (02:27 +0000)]
* targets.c: Sort target vecs.
(_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec,
bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec,
bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec,
bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec.
* configure.in: Sort target vecs.  Add m88kmach3_vec.
* configure: Regenerate.

22 years agodaily update
Alan Modra [Mon, 17 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * elf64-mmix.c (bpo_reloc_request_sort_fn): Use member
Hans-Peter Nilsson [Sun, 16 Jun 2002 20:48:46 +0000 (20:48 +0000)]
* elf64-mmix.c (bpo_reloc_request_sort_fn): Use member
bpo_reloc_no to break sort order ties, not address of items.

22 years ago * elf-hppa.h (elf_hppa_final_link): Fix formatting in comment.
Jeff Law [Sun, 16 Jun 2002 15:32:08 +0000 (15:32 +0000)]
* elf-hppa.h (elf_hppa_final_link): Fix formatting in comment.
Skip excluded sections in determing __gp value.
(elf_hppa_final_link_relocate): Use the symbol's address in
R_PARISC_FPTR64 relocations that don't need an opd entry.
* elf64-hppa.c (allocate_dynrel_entries): Simplify code.
(elf64_hppa_finalize_dynreloc): Likewise.
(elf64_hppa_size_dynamic_sections): Move comments and fix typo.
(elf64_hppa_finish_dynamic_symbol): Break up assert.

22 years agodaily update
Alan Modra [Sun, 16 Jun 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.
Andrew Cagney [Sat, 15 Jun 2002 22:49:38 +0000 (22:49 +0000)]
* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.

22 years ago2002-06-15 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sat, 15 Jun 2002 18:40:26 +0000 (18:40 +0000)]
2002-06-15  H.J. Lu  (hjl@gnu.org)

* nm.c (print_size): New variable. Initialize to 0.
(long_options): Add 'S'/"print-size".
(main): Handle 'S'.
(print_symbol_info_bsd): Print size only if print_size is not
0.

* doc/binutils.texi: Document -S/--print-size.

22 years agodaily update
Alan Modra [Sat, 15 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-06-14 H.J. Lu <hjl@gnu.org>
Daniel Jacobowitz [Fri, 14 Jun 2002 14:08:54 +0000 (14:08 +0000)]
2002-06-14  H.J. Lu  <hjl@gnu.org>
            Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2dbg.h (dwarf2_directive_file): Return char *.
        * dwarf2dbg.c (dwarf2_directive_file): Return filename.
        * config/tc-mips.c (s_mips_file): Call s_app_file_string
        and new_logical_line for the first .file directive.
        * read.c (s_app_file_string): New function.
        (s_app_file): Call it.
        * read.h (s_app_file_string): Add declaration.

2002-06-14  Daniel Jacobowitz  <drow@mvista.com>

        * configure.in: Remove MIPS_STABS_ELF.
        * configure: Regenerated.
        * config.in: Regenerated.
        * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
        for MIPS targets.
        * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
        ".extern".
        (pdr_seg): Declare unconditionally.
        (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
        (s_mips_end): Likewise.  Generate stabs function markers.
        (s_mips_ent): Generate stabs function markers.
        (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
        ELF.
        (s_mips_mask): Likewise.
        (mips_flag_mdebug): New.
        (md_longopts): Add "mdebug" and "no-mdebug".
        (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
        (mips_after_parse_args): Set mips_flag_mdebug.
        * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.

2002-06-14  Daniel Jacobowitz  <drow@mvista.com>

        * gas/mips/lineno.d: Use --gstabs.
        * gas/mips/mips.exp (lineno.s): Remove XFAIL.

22 years agoEnable 16 byte alignment for .bss, .data and .text sections so that sse and
Nick Clifton [Fri, 14 Jun 2002 11:24:12 +0000 (11:24 +0000)]
Enable 16 byte alignment for .bss, .data and .text sections so that sse and
sse2 code will work.

22 years agodaily update
Alan Modra [Fri, 14 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoIndividual processor configurations for sh-elf / sh-linux:
Joern Rennecke [Thu, 13 Jun 2002 20:11:35 +0000 (20:11 +0000)]
Individual processor configurations for sh-elf / sh-linux:

gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.

bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.

ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.

Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.

22 years agoDisplay the symbol's size and use it for sorting.
Nick Clifton [Thu, 13 Jun 2002 17:04:39 +0000 (17:04 +0000)]
Display the symbol's size and use it for sorting.

22 years ago* config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
Maciej W. Rozycki [Thu, 13 Jun 2002 10:10:51 +0000 (10:10 +0000)]
* config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
value twice for RELA relocations.

22 years ago2002-06-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 13 Jun 2002 02:43:23 +0000 (02:43 +0000)]
2002-06-12  H.J. Lu <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
false if xvec doesn't match.