OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoSet default LANGUAGE to english/us.
Nick Clifton [Tue, 9 Apr 2002 16:55:48 +0000 (16:55 +0000)]
Set default LANGUAGE to english/us.

22 years ago * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
Joern Rennecke [Tue, 9 Apr 2002 16:48:03 +0000 (16:48 +0000)]
* config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
symbol_used_in_reloc_p is true.

22 years agoCompute checksum for PE images.
Nick Clifton [Tue, 9 Apr 2002 16:43:26 +0000 (16:43 +0000)]
Compute checksum for PE images.

22 years agoUse signature to identify DIALOGEX.
Nick Clifton [Tue, 9 Apr 2002 16:37:21 +0000 (16:37 +0000)]
Use signature to identify DIALOGEX.
Add testcase.

22 years agoDon't add default dialog style when explicit style specified.
Nick Clifton [Tue, 9 Apr 2002 15:59:13 +0000 (15:59 +0000)]
Don't add default dialog style when explicit style specified.
Print style even if it is 0.
Add testcase.

22 years ago"\a" escape (used for right justified key definitions in menus) is encodes as
Nick Clifton [Tue, 9 Apr 2002 15:44:36 +0000 (15:44 +0000)]
"\a" escape (used for right justified key definitions in menus) is encodes as
binary 8.

22 years agoFix parsing hex constants in strings. Add test for the fix.
Nick Clifton [Tue, 9 Apr 2002 15:36:43 +0000 (15:36 +0000)]
Fix parsing hex constants in strings.  Add test for the fix.

22 years ago * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
Joern Rennecke [Tue, 9 Apr 2002 15:26:59 +0000 (15:26 +0000)]
* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
endian hosts.

22 years agoFix typo in BEDIT warning.
Nick Clifton [Tue, 9 Apr 2002 15:23:38 +0000 (15:23 +0000)]
Fix typo in BEDIT warning.

22 years agoApply patch from Bernd Herd to fix quoted class definitions inside dialogs.
Nick Clifton [Tue, 9 Apr 2002 15:21:01 +0000 (15:21 +0000)]
Apply patch from Bernd Herd to fix quoted class definitions inside dialogs.

22 years agoTue Apr 9 15:13:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
Joern Rennecke [Tue, 9 Apr 2002 15:15:26 +0000 (15:15 +0000)]
Tue Apr  9 15:13:10 2002  J"orn Rennecke <joern.rennecke@superh.com>

* MAINTAINERS: Update my email address.

22 years agodaily update
Alan Modra [Tue, 9 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
Alan Modra [Mon, 8 Apr 2002 11:01:43 +0000 (11:01 +0000)]
* elf32-hppa.c (hppa_unwind_entry_compare): Move to elf-hppa.h.
(elf32_hppa_final_link): Split out sorting logic to..
* elf-hppa.h (elf_hppa_sort_unwind): ..here.
(elf_hppa_final_link): Call elf_hppa_sort_unwind.

22 years ago * ldlang.c (lang_size_sections_1): Don't complain about
Alan Modra [Mon, 8 Apr 2002 01:01:43 +0000 (01:01 +0000)]
* ldlang.c (lang_size_sections_1): Don't complain about
SEC_NEVER_LOAD sections having no memory region specified.

22 years ago * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
Alan Modra [Mon, 8 Apr 2002 00:24:02 +0000 (00:24 +0000)]
* ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.

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

22 years ago* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
Andrew Cagney [Sun, 7 Apr 2002 21:49:09 +0000 (21:49 +0000)]
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
pattern.
* configure: Re-generate.

22 years ago* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
Andrew Cagney [Sun, 7 Apr 2002 21:42:32 +0000 (21:42 +0000)]
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
is greater or equal to 4.3.3.
* configure: Regenerate.
Fix PR gdb/344.

22 years ago* Makefile.in (do-tar-bz2): Delete rule. Replace with ...
Andrew Cagney [Sun, 7 Apr 2002 20:53:57 +0000 (20:53 +0000)]
* Makefile.in (do-tar-bz2): Delete rule.  Replace with ...
(do-tar, do-bz2): New rules.
(taz): Update.  Replace do-tar-bz2 with do-tar and do-bz2.
(gdb-tar): New rule.
(gdb-taz): Rewrite.  Use gdb-tar and do-bz2.
(insight_dejagnu.tar): New rule.
(insight.tar): New rule.
(gdb+dejagnu.tar): New rule.
(gdb.tar): New rule.

22 years ago* MAINTAINERS: Update dejagnu/
Andrew Cagney [Sun, 7 Apr 2002 19:17:07 +0000 (19:17 +0000)]
* MAINTAINERS: Update dejagnu/

22 years ago* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
Matthew Green [Sun, 7 Apr 2002 13:57:53 +0000 (13:57 +0000)]
* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.

22 years agofix a typo in my name
Matthew Green [Sun, 7 Apr 2002 13:56:38 +0000 (13:56 +0000)]
fix a typo in my name

22 years agodaily update
Alan Modra [Sun, 7 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 6 Apr 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:13:09 +0000 (23:13 +0000)]
* ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.

22 years ago * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:11:32 +0000 (23:11 +0000)]
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
R_CRIS_32_PCREL>: Fix typo in name.
(cris_elf_check_relocs): Always create .rela.got here when
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen.
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here;
assume it's created.

22 years agodaily update
Alan Modra [Fri, 5 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 4 Apr 2002 19:53:38 +0000 (19:53 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define.
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally
define.
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise.
* bfd.c (bfd_link_hash_table_free): Define.
* binary.c (binary_bfd_link_hash_table_free): Define.
* bout.c (b_out_bfd_link_hash_table_free): Define.
* coff-rs6000.c (rs6000coff_vec): Include
_bfd_generic_link_hash_table_free.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define.
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally
define.
* i386msdos.c (msdos_bfd_link_hash_table_free): Define.
* i386os9k.c (os9k_bfd_link_hash_table_free): Define.
* ieee.c (ieee_bfd_link_hash_table_free): Define.
* ihex.c (ihex_bfd_link_hash_table_free): Define.
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define.
(_bfd_generic_link_hash_table_free): Add prototype.
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype.
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define.
* linker.c (_bfd_generic_link_hash_table_free): New function.
* mmo.c (mmo_bfd_link_hash_table_free): Define.
* nlm-target.h (nlm_bfd_link_hash_table_free): Define.
* oasys.c (oasys_bfd_link_hash_table_free): Define.
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define.
* som.c (som_bfd_link_hash_table_free): Define.
* srec.c (srec_bfd_link_hash_table_free): Define.
* tekhex.c (tekhex_bfd_link_hash_table_free): Define.
* versados.c (versados_bfd_link_hash_table_free): Define.
* vms.c (vms_bfd_link_hash_table_free): New function.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function.

* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc
instead of bfd_alloc.
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise.
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise.
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
* elf.c (_bfd_elf_link_hash_table_create): Likewise.
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise.
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise.
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise.
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* linker.c (_bfd_generic_link_hash_table_create): Likewise.
* m68klinux.c (linux_link_hash_table_create): Likewise.
* sparclinux.c (linux_link_hash_table_create): Likewise.
* sunos.c (sunos_link_hash_table_create): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.

* targets.c: Add _bfd_link_hash_table_free to xvec.

* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:57 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:22 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:05:44 +0000 (14:05 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* ppc-opc.c: Whitespace.
* s390-dis.c: Fix copyright date.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:04:39 +0000 (14:04 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* coff-arm.c: Fix copyright date.
* cpu-h8300.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-s390.c: Likewise.
* cpu-mips.c: Likewise.
* po/SRC-POTFILES.in: Regenerate.

22 years agoOpen out one-line if-then-else test clauses so that other clauses can be
Nick Clifton [Thu, 4 Apr 2002 08:23:30 +0000 (08:23 +0000)]
Open out one-line if-then-else test clauses so that other clauses can be
inserted in the future.

22 years ago * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
Thiemo Seufer [Thu, 4 Apr 2002 07:43:11 +0000 (07:43 +0000)]
* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
(mips_ip): Remove unused variable.
(md_apply_fix3): Cast signed/unsignes mismatches. Replace
unsigned char with bfd_byte.
(s_file): Remove unused variable.
(s_mips_ent): Likewise.

22 years ago * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
Thiemo Seufer [Thu, 4 Apr 2002 07:21:39 +0000 (07:21 +0000)]
* emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.

22 years agoActually commit the new files ommitted before.
Thiemo Seufer [Thu, 4 Apr 2002 07:10:00 +0000 (07:10 +0000)]
Actually commit the new files ommitted before.

22 years ago * Makefile.am: Add elfxx-mips.c to the known backends.
Thiemo Seufer [Thu, 4 Apr 2002 07:01:27 +0000 (07:01 +0000)]
* Makefile.am: Add elfxx-mips.c to the known backends.
(elf32-mips.lo): remove dependency to coff/external.h.
* Makefile.in: Regenerate.
* configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo
Remove elf32-mips.lo from 64 bit vectors. Update dependencies
accordingly.
* configure: Regenerate.
* elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h.
(irix_compat_t): IRIX compatibility level, moved from elf32-mips.c.
(elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New
MIPS specific backend functions.
* elf32-mips.c: Moved most code to elfxx-mips.c.
(mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make
static.
(mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc.
(mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc.
(mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc.
(mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed
interface to allow selection of the right REL or RELA howto table.
(mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made
static. Let it refuse n32 objects.
(elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus.
(elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo.
(elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info.
(elf32_mips_ignore_discarded_relocs): Rename from
_bfd_elf32_mips_ignore_discarded_relocs.
(elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section.
(elf32_mips_irix_compat): New function, replaces IRIX_COMPAT.
(elf_mips_howto_table_rela): Remove.
* elf64-mips.c: Moved most code to elfxx-mips.c.
(bfd_elf64_bfd_reloc_type_lookup): Make static.
(mips_elf64_rtype_to_howto): New function.
(mips_elf64_object_p): Likewise.
(elf64_mips_irix_compat): Likewise.
* elfxx-mips.c: New file containing common code merged together from
elf32-mips.c and elf64-mips.c.
* elfxx-mips.h: New file containing MIPS specific prototypes from
elf-bfd.h.
* elfxx-target.h: Add handling for elf_backend_mips_irix_compat and
elf_backend_mips_rtype_to_howto.

22 years ago * srec.c (MAXCHUNK, Chunk): Revise comments.
Alan Modra [Thu, 4 Apr 2002 03:05:51 +0000 (03:05 +0000)]
* srec.c (MAXCHUNK, Chunk): Revise comments.
(srec_write_record): Correct buffer size.
(srec_write_header): Do without intermediate buffer.
(srec_write_section): Validate Chunk.
(srec_write_terminator): Pass NULL instead of dummy buffer.
(srec_write_symbols): Pass file and symbol names directly to
bfd_bwrite so sprintf won't overflow buffer.

22 years agodaily update
Alan Modra [Thu, 4 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agoVarious fixes and improvements for d10v.
Tom Rix [Wed, 3 Apr 2002 19:44:05 +0000 (19:44 +0000)]
Various fixes and improvements for d10v.

22 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
Jakub Jelinek [Wed, 3 Apr 2002 17:42:39 +0000 (17:42 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
PC relative relocs against hidden symbols.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): When setting section
Alan Modra [Wed, 3 Apr 2002 13:26:34 +0000 (13:26 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): When setting section
LMAs, loop over segments until p_vaddr and p_memsz specify an
extent enclosing the section.

22 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
Jakub Jelinek [Wed, 3 Apr 2002 10:25:41 +0000 (10:25 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.

22 years ago * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
Alan Modra [Wed, 3 Apr 2002 04:10:28 +0000 (04:10 +0000)]
* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
O_logical_not>): Derive final_seg from add_symbol.
<O_multiply..O_logical_or>: More final_seg twiddles.

22 years agodaily update
Alan Modra [Wed, 3 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoDo not allow records to cross a 64K boundary - wrap if necessary.
Nick Clifton [Tue, 2 Apr 2002 14:08:51 +0000 (14:08 +0000)]
Do not allow records to cross a 64K boundary - wrap if necessary.

22 years ago * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
Richard Henderson [Tue, 2 Apr 2002 00:32:41 +0000 (00:32 +0000)]
    * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
        in 32-bit mode.

22 years agodaily update
Alan Modra [Tue, 2 Apr 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Mon, 1 Apr 2002 22:01:20 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
Jason Thorpe [Mon, 1 Apr 2002 18:31:46 +0000 (18:31 +0000)]
2002-04-01  Nathan Williams  <nathanw@wasabisystems.com>

* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.

22 years ago * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
Richard Henderson [Mon, 1 Apr 2002 10:00:49 +0000 (10:00 +0000)]
    * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
        (elf32_sparc_relocate_section): Use it to figure out when to
        initialize .got entries.
        * elf64-sparc.c: Similarly.

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

22 years agodaily update
Alan Modra [Sun, 31 Mar 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Sat, 30 Mar 2002 06:17:57 +0000 (06:17 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Fri, 29 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Thu, 28 Mar 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Thu, 28 Mar 2002 04:06:38 +0000 (04:06 +0000)]
merge from gcc

22 years ago * linker.c (link_action): Ignore duplicate warning syms.
Alan Modra [Thu, 28 Mar 2002 03:27:46 +0000 (03:27 +0000)]
* linker.c (link_action): Ignore duplicate warning syms.
(_bfd_generic_link_write_global_symbol): Follow warning symbol link.
* elflink.h (elf_adjust_dynstr_offsets): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_export_symbol): Likewise.
(elf_link_find_version_dependencies): Likewise.
(elf_link_assign_sym_version): Likewise.
(elf_link_sec_merge_syms): Likewise.
(elf_link_output_extsym): Likewise.
(elf_gc_sweep_symbol): Likewise.
(elf_gc_propagate_vtable_entries_used): Likewise.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(elf_gc_allocate_got_offsets): Likewise.
(elf_collect_hash_codes): Likewise.
* elflink.c (elf_link_renumber_hash_table_dynsyms): Likewise.
* elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols): Likewise.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise.
* elf32-arm.h (elf32_arm_discard_copies): Likewise.
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Likewise.
(elf_cris_discard_excess_dso_dynamics): Likewise.
* elf32-hppa.c (clobber_millicode_symbols): Likewise.
(mark_PIC_calls): Likewise.
(allocate_plt_static): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i386.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-i370.c (i370_elf_adjust_dynindx): Likewise.
* elf32-m68k.c (elf_m68k_discard_copies): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_sort_hash_table_f): Likewise.
(mips_elf_check_mips16_stubs): Likewise.
* elf32-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf32-sh.c (sh_elf_discard_copies): Likewise.
* elf32-xstormy16.c (xstormy16_relax_plt_check): Likewise.
(xstormy16_relax_plt_realloc): Likewise.
* elf64-alpha.c (elf64_alpha_calc_got_offsets_for_symbol): Likewise.
(elf64_alpha_output_extsym): Likewise.
* elf64-hppa.c (elf64_hppa_mark_exported_functions): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table_f): Likewise.
(mips_elf64_check_mips16_stubs): Likewise.
(mips_elf64_output_extsym): Likewise.
* elf64-ppc.c (func_desc_adjust): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-s390.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elf64-sh64.c (sh64_elf64_discard_copies): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
* elfxx-ia64.c (elfNN_ia64_global_dyn_sym_thunk): Likewise.
* aoutx.h (aout_link_write_other_symbol): Likewise.
* cofflink.c (_bfd_coff_write_task_globals): Likewise.
(_bfd_coff_write_global_sym): Likewise.
* i386linux.c (linux_tally_symbols): Likewise.
* m68klinux.c (linux_tally_symbols): Likewise.
* sparclinux.c (linux_tally_symbols): Likewise.
* pdp11.c (aout_link_write_other_symbol): Likewise.
* sunos.c (sunos_scan_dynamic_symbol): Likewise.
* xcofflink.c (xcoff_build_ldsyms): Likewise.
(xcoff_write_global_symbol): Likewise.

* cofflink.c (_bfd_coff_final_link): Formatting.
* cpu-mips.c (mips_compatible): Make static, prototype.
* elf32-i386.c (elf_i386_check_relocs): Formatting.
* elf32-sh.c (sh_elf_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_output_extsym): Likewise.
* elf64-mips.c (mips_elf64_sort_hash_table): Likewise.
(mips_elf64_final_link): Likewise.
* elflink.h (elf_link_find_version_dependencies): Remove duplicate
prototype.

22 years agodaily update
Alan Modra [Wed, 27 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Wed, 27 Mar 2002 19:17:34 +0000 (19:17 +0000)]
merge from gcc

22 years ago * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
Andreas Schwab [Wed, 27 Mar 2002 16:22:04 +0000 (16:22 +0000)]
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.

22 years ago * MAINTAINERS: Update my email address.
Peter Targett [Wed, 27 Mar 2002 16:04:12 +0000 (16:04 +0000)]
* MAINTAINERS: Update my email address.

22 years ago * configure.host: Set up for generic hosts first, then tweak as
Alan Modra [Wed, 27 Mar 2002 14:07:50 +0000 (14:07 +0000)]
* configure.host: Set up for generic hosts first, then tweak as
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.

22 years agoCopy the r_offset field into and out of the internal reloc strcuture.
Nick Clifton [Wed, 27 Mar 2002 11:28:19 +0000 (11:28 +0000)]
Copy the r_offset field into and out of the internal reloc strcuture.

22 years ago * elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
Alan Modra [Wed, 27 Mar 2002 00:16:54 +0000 (00:16 +0000)]
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
terminating NULL if empty symbol table.
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.

22 years agomerge from gcc
DJ Delorie [Tue, 26 Mar 2002 23:29:30 +0000 (23:29 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 26 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 18:13:54 +0000 (18:13 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Revert the last change since
the gcc exception handling isn't fixed yet.

22 years ago2002-03-26 H.J. Lu (hjl@gnu.org)
H.J. Lu [Tue, 26 Mar 2002 16:01:04 +0000 (16:01 +0000)]
2002-03-26  H.J. Lu  (hjl@gnu.org)

* elflink.h (elf_link_input_bfd): Complain about relocations
against local symbols in discarded sections.

22 years ago * elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.
Alan Modra [Tue, 26 Mar 2002 11:54:12 +0000 (11:54 +0000)]
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.

22 years agodaily update
Alan Modra [Mon, 25 Mar 2002 23:00:02 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sun, 24 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 23 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
Andreas Jaeger [Sat, 23 Mar 2002 18:15:32 +0000 (18:15 +0000)]
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.

22 years ago* ppc-opc.c (vmaddfp): Fix operand order.
Matthew Green [Sat, 23 Mar 2002 14:14:30 +0000 (14:14 +0000)]
* ppc-opc.c (vmaddfp): Fix operand order.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
Alan Modra [Sat, 23 Mar 2002 13:14:33 +0000 (13:14 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
section file offset for !SEC_LOAD sections.

22 years agodaily update
Alan Modra [Fri, 22 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update

22 years ago * config/te-aix5.h: Typo fix.
Alan Modra [Fri, 22 Mar 2002 02:07:36 +0000 (02:07 +0000)]
* config/te-aix5.h: Typo fix.

22 years agodaily update
Alan Modra [Thu, 21 Mar 2002 23:01:32 +0000 (23:01 +0000)]
daily update

22 years ago* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
Richard Earnshaw [Thu, 21 Mar 2002 15:26:03 +0000 (15:26 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate case R_ARM_GOTOFF)
(case R_ARM_GOT): Handle relocations to Thumb functions.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:53:45 +0000 (09:53 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:52:14 +0000 (09:52 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Thu, 21 Mar 2002 09:40:17 +0000 (09:40 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

22 years ago * coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Alan Modra [Thu, 21 Mar 2002 09:15:18 +0000 (09:15 +0000)]
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Whitespace changes.
* archive.c: Update copyright date.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years agoFix typo
Nick Clifton [Thu, 21 Mar 2002 09:13:34 +0000 (09:13 +0000)]
Fix typo

22 years ago * ppc-opc.c: Add optional field to mtmsrd.
Alan Modra [Thu, 21 Mar 2002 09:01:49 +0000 (09:01 +0000)]
* ppc-opc.c: Add optional field to mtmsrd.
(MTMSRD_L, XRLARB_MASK): Define.

22 years ago * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
Alan Modra [Thu, 21 Mar 2002 05:35:39 +0000 (05:35 +0000)]
* genscripts.sh (LIB_SEARCH_DIRS): Quote path.

22 years ago2002-03-20 Daniel Berlin <dan@dberlin.org>
Daniel Berlin [Thu, 21 Mar 2002 05:00:58 +0000 (05:00 +0000)]
2002-03-20  Daniel Berlin  <dan@dberlin.org>

* readelf.c: Add support for displaying dwarf2 location lists.
(do_debug_loc, debug_loc_section, debug_loc_size): New.
(parse_args): Use 'O' as shorthand for displaying location list
section.
(process_section_headers): Handle debug_loc as well.
(load_debug_loc): New.
(free_debug_loc): New.
(fetch_location_list): New.
(display_debug_loc): New.
(display_debug_info): Call load_debug_loc and free_debug_loc.
(debug_displays): We can display .debug_loc now, too.
(usage): Update usage string.
(read_and_display_attr_value): Note location lists, but don't
display them inline.

22 years agodaily update
Alan Modra [Wed, 20 Mar 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 20 Mar 2002 19:15:30 +0000 (19:15 +0000)]
2002-03-20  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2.c (struct funcinfo): Move up.
        (lookup_address_in_function_table): New argument function_ptr.
        Set it.
        (lookup_address_in_line_table): New argument function.  If function
        is non-NULL, use it to handle ``addr'' before the first line note of
        the function.
        (comp_unit_find_nearest_line): Update and swap calls to
        lookup_address_in_function_table and lookup_address_in_line_table.
        * syms.c (_bfd_stab_section_find_nearest_line): Use the first
        N_SLINE encountered if we see an N_FUN before any N_SLINE.

22 years agoFix extracting from AIX big archives.
Tom Rix [Wed, 20 Mar 2002 16:49:10 +0000 (16:49 +0000)]
Fix extracting from AIX big archives.

22 years agoFix problem with linking shared libstdc++-v3 on AIX.
Tom Rix [Wed, 20 Mar 2002 12:03:27 +0000 (12:03 +0000)]
Fix problem with linking shared libstdc++-v3 on AIX.

22 years ago * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
Alan Modra [Wed, 20 Mar 2002 07:49:53 +0000 (07:49 +0000)]
* ldlang.c (ldlang_add_undef): If the output bfd has been opened,
add the symbol to the linker hash table immediately.
(lang_place_undefineds): Split symbol creation out..
(insert_undefined): ..to here.

22 years ago * ld-cris/ldsym1.d: New test.
Hans-Peter Nilsson [Tue, 19 Mar 2002 23:49:51 +0000 (23:49 +0000)]
* ld-cris/ldsym1.d: New test.

22 years agodaily update
Alan Modra [Tue, 19 Mar 2002 23:00:01 +0000 (23:00 +0000)]
daily update

22 years ago * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
Hans-Peter Nilsson [Tue, 19 Mar 2002 22:48:15 +0000 (22:48 +0000)]
* ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no
longer set to object.
* ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d,
ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d,
ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d,
ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d,
ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d,
ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d,
ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d,
ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d,
ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto.

22 years ago2002-03-18 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 19 Mar 2002 21:03:43 +0000 (21:03 +0000)]
2002-03-18  David O'Brien  <obrien@FreeBSD.org>
* emultempl/elf32.em: Use lbasename vs. basename to fix problem where
the contents of the buffer returned from basename function will are
getting overwritten while still being used.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020318032031.GD1089@bubble.sa.bigpond.net.au>

22 years ago * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
Hans-Peter Nilsson [Tue, 19 Mar 2002 20:21:54 +0000 (20:21 +0000)]
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.

22 years ago * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
Andreas Jaeger [Tue, 19 Mar 2002 12:17:58 +0000 (12:17 +0000)]
* gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.
* gas/i386/x86-64-opcode.s: Likewise

22 years agodaily update
Alan Modra [Mon, 18 Mar 2002 23:00:03 +0000 (23:00 +0000)]
daily update