OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agoRotated ChangeLog
Nick Clifton [Mon, 7 Jan 2002 12:10:15 +0000 (12:10 +0000)]
Rotated ChangeLog

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

22 years ago * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
Alan Modra [Sun, 6 Jan 2002 12:15:45 +0000 (12:15 +0000)]
* config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
* config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.

22 years ago * elfxx-ia64.c (is_unwind_section_name): Add target vector as
Alan Modra [Sun, 6 Jan 2002 11:14:19 +0000 (11:14 +0000)]
* elfxx-ia64.c (is_unwind_section_name): Add target vector as
argument so we can handle HP-UX specially.
(elfNN_ia64_hpux_vec): New for use in is_unwind_section_name.
(elfNN_hpux_backend_section_from_bfd_section): New for support
of SHN_IA_64_ANSI_COMMON.
(elfNN_ia64_relax_section): Add support for SHN_IA_64_ANSI_COMMON.
(is_unwind_section_name): Add special HP-UX support.
(elfNN_ia64_section_from_shdr): Add support for more sections.
(elfNN_ia64_fake_sections): Modify is_unwind_section_name call and
add support for more sections.
(elfNN_ia64_additional_program_headers): Modify
is_unwind_section_name call.
(elfNN_ia64_modify_segment_map): Remove assumption that there is
only one unwind section in segment.

22 years ago * readelf.c (get_ia64_segment_type): Add support for macros.
Alan Modra [Sun, 6 Jan 2002 11:13:31 +0000 (11:13 +0000)]
* readelf.c (get_ia64_segment_type): Add support for macros.
(get_segment_type): Add support for IA64 specific macros.

22 years ago * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
Alan Modra [Sun, 6 Jan 2002 11:12:39 +0000 (11:12 +0000)]
* ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
(SHT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_OPT_ANOT): Ditto
(PT_IA_64_HP_HSL_ANOT): Ditto
(PT_IA_64_HP_STACK): Ditto
(SHN_IA_64_ANSI_COMMON): Ditto

22 years ago * syms.c (_bfd_generic_make_empty_symbol): New function.
Alan Modra [Sun, 6 Jan 2002 07:30:35 +0000 (07:30 +0000)]
* syms.c (_bfd_generic_make_empty_symbol): New function.
* libbfd-in.h (_bfd_nosymbols_make_empty_symbol): Define as
_bfd_generic_make_empty_symbol.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* hppabsd-core.c (hppabsd_core_make_empty_symbol): Delete function.
(hppabsd_core_get_symtab_upper_bound): Don't define.
(hppabsd_core_get_symtab): Likewise.
(hppabsd_core_print_symbol): Likewise.
(hppabsd_core_get_symbol_info): Likewise.
(hppabsd_core_bfd_is_local_label_name): Likewise.
(hppabsd_core_get_lineno): Likewise.
(hppabsd_core_find_nearest_line): Likewise.
(hppabsd_core_bfd_make_debug_symbol): Likewise.
(hppabsd_core_read_minisymbols): Likewise.
(hppabsd_core_minisymbol_to_symbol): Likewise.
(hppabsd_core_vec): Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols).
Formatting fixes.
* hpux-core.c: Similarly.
* irix-core.c: Similarly.
* osf-core.c: Similarly.
* sco5-core.c: Similarly.
* binary.c (binary_make_empty_symbol): Remove function, define as
_bfd_generic_make_empty_symbol.
* ihex.c (ihex_make_empty_symbol): Likewise.
* mmo.c (mmo_make_empty_symbol): Likewise.
* ppcboot.c (ppcboot_make_empty_symbol): Likewise.
* srec.c (srec_make_empty_symbol): Likewise.
* versados.c (versados_make_empty_symbol): Likewise.
* vms.c (_bfd_vms_make_empty_symbol): Remove.
(vms_make_empty_symbol): Define as _bfd_generic_make_empty_symbol.
* vms-gsd.c (_bfd_vms_slurp_gsd): Call bfd_make_empty_symbol
rather than _bfd_vms_make_empty_symbol.
* vms-misc.c (new_symbol): Likewise.

22 years agodaily update
Alan Modra [Sat, 5 Jan 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-01-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 5 Jan 2002 19:06:52 +0000 (19:06 +0000)]
2002-01-05  Daniel Jacobowitz  <drow@mvista.com>

        * tc-mips.c (mips_cprestore_valid): New flag.
        (mips_frame_reg_valid): New flag.
        (macro) [M_JAL_2]: Check both flags.
        [M_JAL_A]: Likewise.
        (s_cprestore): Set mips_cprestore_valid.
        (tc_get_register): If setting mips_frame_reg, set
        mips_frame_reg_valid and clear mips_cprestore_valid.
        (s_mips_ent): Clear both flags.
        (s_mips_end): Clear both flags.

2002-01-05  Daniel Jacobowitz  <drow@mvista.com>

        * gas/mips/jal-svr4pic.s: Add .ent and .frame directives.
        * gas/mips/mips-abi32-pic.s: Add .frame directive.
        * gas/mips/mips-gp32-fp32-pic.s: Likewise.
        * gas/mips/mips-gp32-fp64-pic.s: Likewise.
        * gas/mips/mips-gp64-fp32-pic.s: Likewise.
        * gas/mips/mips-gp64-fp64-pic.s: Likewise.

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
Alan Modra [Sat, 5 Jan 2002 13:14:00 +0000 (13:14 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
of bfd_section_list_remove and bfd_section_list_insert macros.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.

22 years ago * write.c (write_object_file): Make use of bfd_section_list_remove.
Alan Modra [Sat, 5 Jan 2002 13:13:18 +0000 (13:13 +0000)]
* write.c (write_object_file): Make use of bfd_section_list_remove.
* config/obj-ecoff.c (ecoff_frob_file): Likewise.
* config/tc-mmix.c (mmix_frob_file): Likewise.

22 years ago * section.c (bfd_section_init): Remove unnecessary initialisations.
Alan Modra [Sat, 5 Jan 2002 13:11:33 +0000 (13:11 +0000)]
* section.c (bfd_section_init): Remove unnecessary initialisations.
(bfd_section_list_clear): New function.
(bfd_section_list_remove, bfd_section_list_insert): New macros.
(_bfd_strip_section_from_output): Use them.
* coffcode.h (coff_set_alignment_hook): Likewise.
* elf32-mips.c (_bfd_mips_elf_final_link): Likewise.
* elf64-mips.c (mips_elf64_final_link): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* bfd-in2.h: Regenerate.

* netbsd-core.c (netbsd_core_file_p): Use bfd_make_section_anyway
rather than doing our own section handling.  Clean up after errors
with bfd_release and bfd_section_list_clear.  Handle unexpected
flags.
* aoutf1.h (sunos4_core_file_p): Likewise.
* aix386-core.c (aix386_core_file_p): Likewise.
* cisco-core.c (cisco_core_file_validate): Likewise.
* ptrace-core.c (ptrace_unix_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

* hppabsd-core.c (hppabsd_core_core_file_p):  Clean up after errors
with bfd_release and bfd_section_list_clear.
* hpux-core.c (hpux_core_core_file_p): Likewise.
* irix-core.c (irix_core_core_file_p): Likewise.
* lynx-core.c (lynx_core_file_p): Likewise.
* osf-core.c (osf_core_core_file_p): Likewise.
* rs6000-core.c (rs6000coff_core_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.

22 years ago * elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
Alan Modra [Sat, 5 Jan 2002 12:36:18 +0000 (12:36 +0000)]
* elf32-mips.c (_bfd_mips_elf_lo16_reloc): Simplify, and perform
sign extension adjustments without conditionals.

22 years agodaily update
Alan Modra [Fri, 4 Jan 2002 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
Jakub Jelinek [Fri, 4 Jan 2002 17:02:30 +0000 (17:02 +0000)]
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Don't crash if
CIE at .eh_frame start is removed due to no FDEs referencing it.

22 years agobfd:
Andreas Jaeger [Fri, 4 Jan 2002 14:49:06 +0000 (14:49 +0000)]
bfd:
* config.bfd (x86_64-*-netbsd*): New target.
* configure.in (x86_64-*-netbsd*): Set COREFILE
to netbsd-core.lo.
* configure: Regenerated.

gas:
* configure.in (i386-*-netbsdelf*): Collapse target into...
(i386-*-netbsd*): ...this.  Add support for x86-64.
* configure: Regenerated.

ld:
* configure.tgt (x86_64-*-netbsd*): New target.

22 years agoFix xcoff linker's ordering of pad sections
Tom Rix [Thu, 3 Jan 2002 22:06:38 +0000 (22:06 +0000)]
Fix xcoff linker's ordering of pad sections

22 years agoRemove use of ngettext()
Nick Clifton [Thu, 3 Jan 2002 21:32:36 +0000 (21:32 +0000)]
Remove use of ngettext()

22 years agoHandle R_ARM_THM_PC11
Nick Clifton [Thu, 3 Jan 2002 14:23:01 +0000 (14:23 +0000)]
Handle R_ARM_THM_PC11

22 years ago[gas/ChangeLog]
Matthew Green [Thu, 3 Jan 2002 02:07:19 +0000 (02:07 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific.
(PPC_OPCODE_BOOKE64): Likewise.

22 years agomerge from gcc
DJ Delorie [Thu, 3 Jan 2002 00:25:57 +0000 (00:25 +0000)]
merge from gcc

22 years ago * MAINTAINERS: Update URL for config.* scripts.
Ben Elliston [Wed, 2 Jan 2002 21:44:52 +0000 (21:44 +0000)]
* MAINTAINERS: Update URL for config.* scripts.

22 years ago2002-01-02 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 2 Jan 2002 18:59:32 +0000 (18:59 +0000)]
2002-01-02  Chris Demetriou  <cgd@broadcom.com>

        * ld-mips-elf/empic1-ln.d: New file to test basic linking of
        R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations.
        * ld-mips-elf/empic1-lp.d: Likewise.
        * ld-mips-elf/empic1-mn.d: Likewise.
        * ld-mips-elf/empic1-mp.d: Likewise.
        * ld-mips-elf/empic1-sn.d: Likewise.
        * ld-mips-elf/empic1-sp.d: Likewise.
        * ld-mips-elf/empic1-ref.s: Likewise.
        * ld-mips-elf/empic1-space.s: Likewise.
        * ld-mips-elf/empic1-tgt.s: Likewise.
        * ld-mips-elf/empic2-fwd-0.d: New file to test
        R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge
        cases.
        * ld-mips-elf/empic2-fwd-1.d: Likewise.
        * ld-mips-elf/empic2-rev-0.d: Likewise.
        * ld-mips-elf/empic2-rev-1.d: Likewise.
        * ld-mips-elf/empic2-ref.s: Likewise.
        * ld-mips-elf/empic2-space.s: Likewise.
        * ld-mips-elf/empic2-fwd-tgt.s: Likewise.
        * ld-mips-elf/empic2-rev-tgt.s: Likewise.
        * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF
        tests (including those above).

22 years agomerge from gcc
DJ Delorie [Wed, 2 Jan 2002 18:01:38 +0000 (18:01 +0000)]
merge from gcc

22 years agoTest for a NULL frag link.
Nick Clifton [Wed, 2 Jan 2002 17:19:07 +0000 (17:19 +0000)]
Test for a NULL frag link.

22 years agoAdd japanese translation
Nick Clifton [Wed, 2 Jan 2002 16:15:32 +0000 (16:15 +0000)]
Add japanese translation

22 years agoFix spelling typo.
Nick Clifton [Wed, 2 Jan 2002 15:55:48 +0000 (15:55 +0000)]
Fix spelling typo.
Reformat messages to ease translation into other languages.

22 years agoReformat error messages to ease translation into other languages.
Nick Clifton [Wed, 2 Jan 2002 15:36:27 +0000 (15:36 +0000)]
Reformat error messages to ease translation into other languages.

22 years agomerge from gcc
DJ Delorie [Tue, 1 Jan 2002 17:46:09 +0000 (17:46 +0000)]
merge from gcc

22 years ago * config/tc-ia64.c (has_suffix_p): New.
Richard Henderson [Tue, 1 Jan 2002 01:18:17 +0000 (01:18 +0000)]
    * config/tc-ia64.c (has_suffix_p): New.
        (note_register_values): Use it instead of strstr.

22 years ago * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
Richard Henderson [Tue, 1 Jan 2002 01:16:44 +0000 (01:16 +0000)]
    * config/tc-ia64.c (errata_nop_necessary_p): Prototype.
        (make_unw_section_name): Constify local variables.

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

22 years ago * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
Jeff Law [Mon, 31 Dec 2001 23:47:02 +0000 (23:47 +0000)]
    * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,
        'X', 'M', and 'A'.

22 years ago * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
Jeff Law [Mon, 31 Dec 2001 23:44:08 +0000 (23:44 +0000)]
    * hppa-dis.c (print_insn_hppa): Handle new 'c' mode completers,
        'X', 'M', and 'A'.  No longer emit a space after 'x' or 's'.
        Always emit a space after 'H'.

22 years ago * hppa.h (call, ret): Move to end of table.
Jeff Law [Mon, 31 Dec 2001 23:43:03 +0000 (23:43 +0000)]
    * hppa.h (call, ret): Move to end of table.
        (addb, addib): PA2.0 variants should have been PA2.0W.
        (ldw, ldh, ldb, stw, sth, stb, stwa): Reorder to keep disassembler
        happy.
        (fldw, fldd, fstw, fstd, bb): Likewise.
        (short loads/stores): Tweak format specifier slightly to keep
        disassembler happy.
        (indexed loads/stores): Likewise.
        (absolute loads/stores): Likewise.

22 years ago * elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
Jakub Jelinek [Mon, 31 Dec 2001 11:49:10 +0000 (11:49 +0000)]
* elflink.h (elf_bfd_final_link): Check if dynobj is not NULL
before looking for .eh_frame_hdr section.
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): If
.eh_frame_hdr section is being stripped from output, don't do
anything.

22 years agoFix for xcoff <bigaf> big archive format support.
Tom Rix [Mon, 31 Dec 2001 04:08:23 +0000 (04:08 +0000)]
Fix for xcoff <bigaf> big archive format support.

22 years agoFix for xcoff <bigaf> big archive support.
Tom Rix [Mon, 31 Dec 2001 04:06:14 +0000 (04:06 +0000)]
Fix for xcoff <bigaf> big archive support.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Dec 2001 19:13:07 +0000 (19:13 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Sun, 23 Dec 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 22 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago-binitfini emulation, put __rtinit symbol generation into linker.
Tom Rix [Sat, 22 Dec 2001 17:18:34 +0000 (17:18 +0000)]
-binitfini emulation, put __rtinit symbol generation into linker.

22 years agodaily update
Alan Modra [Fri, 21 Dec 2001 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
Jakub Jelinek [Fri, 21 Dec 2001 22:35:24 +0000 (22:35 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32.
(elf32_sparc_check_relocs): Handle R_SPARC_PLT32.
(elf32_sparc_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for
R_SPARC_DISP32.  Support R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL
and BFD_RELOC_SPARC_PLT32.
(sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64.
(sparc64_elf_relocate_section): Likewise.
* reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32.
* bfd-in2.h, libbfd.h: Rebuilt.

* config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define.
(sparc_cons): Provide prototype.
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and
BFD_RELOC_SPARC_PLT{32,64}.  Enumerate for which relocs
reloc->addend = fixp->fx_addnumber shouldn't be done instead of
enumarating for which pc relative ones it should be done.
(sparc_cons_special_reloc): New variable.
(sparc_cons): New function.
(cons_fix_new_sparc): Use sparc_cons_special_reloc.
* testsuite/gas/sparc/pcrel.s: New test.
* testsuite/gas/sparc/pcrel.d: Expected output.
* testsuite/gas/sparc/pcrel64.s: New test.
* testsuite/gas/sparc/pcrel64.d: Expected output.
* testsuite/gas/sparc/plt.s: New test.
* testsuite/gas/sparc/plt.d: Expected output.
* testsuite/gas/sparc/plt64.s: New test.
* testsuite/gas/sparc/plt64.d: Expected output.
* testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64
tests.

22 years agoImport Swedish translation
Nick Clifton [Fri, 21 Dec 2001 11:44:46 +0000 (11:44 +0000)]
Import Swedish translation

22 years agoUse real binary file for .incbin test
Nick Clifton [Fri, 21 Dec 2001 11:40:53 +0000 (11:40 +0000)]
Use real binary file for .incbin test

22 years agodaily update
Alan Modra [Thu, 20 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years agoSpecial handling of AIX xcoff text alignment fix.
Tom Rix [Thu, 20 Dec 2001 21:29:21 +0000 (21:29 +0000)]
Special handling of AIX xcoff text alignment fix.

22 years ago2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
Daniel Jacobowitz [Thu, 20 Dec 2001 21:11:26 +0000 (21:11 +0000)]
2001-12-20  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
            Daniel Jacobowitz <drow@mvista.com>

        * config/tc-mips.c (file_mips_gp32): Initialize to invalid value.
        (file_mips_fp32): Likewise.
        (md_begin): Compatibility handling for -mipsN option.

22 years ago 2001-12-19 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 20 Dec 2001 20:22:17 +0000 (20:22 +0000)]
 2001-12-19  Michael Snyder  <msnyder@redhat.com>

* elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste
error: target is i386 (not mips), and size of descdata is 124
(not 128).

22 years ago* gas/sh/err-at.s: New test.
Alexandre Oliva [Thu, 20 Dec 2001 17:28:20 +0000 (17:28 +0000)]
* gas/sh/err-at.s: New test.

22 years ago* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).
Alexandre Oliva [Thu, 20 Dec 2001 17:28:13 +0000 (17:28 +0000)]
* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).

22 years agoWhen --wide is used, do not truncate symbol names.
Nick Clifton [Thu, 20 Dec 2001 11:20:17 +0000 (11:20 +0000)]
When --wide is used, do not truncate symbol names.

22 years ago* config/tc-ppc.c (md_parse_option): Make -maltivec default
Matthew Green [Thu, 20 Dec 2001 07:34:44 +0000 (07:34 +0000)]
* config/tc-ppc.c (md_parse_option): Make -maltivec default
to generating PowerPC instructions.

22 years ago * configure.tgt (mips*-dec-netbsd*): Delete alias for
Alan Modra [Thu, 20 Dec 2001 05:40:08 +0000 (05:40 +0000)]
* configure.tgt (mips*-dec-netbsd*): Delete alias for
mips*el-*-netbsd*.
(sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.

22 years ago * configure.in (mips-dec-netbsd*): Delete.
Alan Modra [Thu, 20 Dec 2001 05:39:36 +0000 (05:39 +0000)]
* configure.in (mips-dec-netbsd*): Delete.
* configure: Regenerate.

22 years ago * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.
Alan Modra [Thu, 20 Dec 2001 05:38:52 +0000 (05:38 +0000)]
* config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.

22 years ago * configure.tgt (arm-*-netbsdelf*): Add target.
Alan Modra [Thu, 20 Dec 2001 03:19:43 +0000 (03:19 +0000)]
* configure.tgt (arm-*-netbsdelf*): Add target.
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
* emulparams/armelf_nbsd.sh: Added.
* Makefile.am: Add rules for earmelf_nbsd.
* Makefile.in: Regenerate.

22 years ago * configure.in (arm-*-netbsdelf*): Add target.
Alan Modra [Thu, 20 Dec 2001 03:19:03 +0000 (03:19 +0000)]
* configure.in (arm-*-netbsdelf*): Add target.
* configure: Regenerate.

22 years ago * config.bfd (arm-*-netbsdelf*): Add target.
Alan Modra [Thu, 20 Dec 2001 03:18:23 +0000 (03:18 +0000)]
* config.bfd (arm-*-netbsdelf*): Add target.
* configure.in: Include netbsd-core.lo for native arm-*-netbsd*.
* configure: Regenerate.

22 years ago * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
Alan Modra [Wed, 19 Dec 2001 23:54:26 +0000 (23:54 +0000)]
* elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
as can happen with a core file, before dereferencing.

22 years agodaily update
Alan Modra [Wed, 19 Dec 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * configure.host: Add rules for x86_64-*linux-gnu. Change
Andreas Jaeger [Wed, 19 Dec 2001 19:58:28 +0000 (19:58 +0000)]
* configure.host: Add rules for x86_64-*linux-gnu.  Change
s390x-linux entry to use gcc to report configuration, replace gcc
with $CC in s390-linux

22 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
Jakub Jelinek [Wed, 19 Dec 2001 11:48:15 +0000 (11:48 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
is 0, temporarily grow it to minimal CIE size.
(_bfd_elf_write_section_eh_frame): If input .eh_frame section would
end up empty, build a fake minimal CIE.

22 years ago * ld.texinfo (VERSION): Fix markup.
Andreas Jaeger [Wed, 19 Dec 2001 09:20:22 +0000 (09:20 +0000)]
* ld.texinfo (VERSION): Fix markup.

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 19 Dec 2001 05:18:34 +0000 (05:18 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).

22 years ago2001-12-18 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 19 Dec 2001 05:16:47 +0000 (05:16 +0000)]
2001-12-18  Michael Snyder  <msnyder@redhat.com>

        * elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE
        sections of corefiles.  Also it makes no sense to sort if count == 1.

22 years ago * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
Alan Modra [Wed, 19 Dec 2001 02:18:20 +0000 (02:18 +0000)]
* config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
ia64*-*-hpux* target.
(bfd_elf64_ia64_hpux_big_vec): Likewise.
* targets.c: Ditto.
* configure.in: Ditto.
* configure: Regenerate
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of
alloca with bfd_malloc.
(get_local_sym_hash): Likewise.
(elfNN_hpux_post_process_headers): New function.
#include elfNN-target.h again with values for IA64 HP-UX vector.

22 years ago*** empty log message ***
Alan Modra [Wed, 19 Dec 2001 02:14:37 +0000 (02:14 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 18 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 18 Dec 2001 19:03:23 +0000 (19:03 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 18 Dec 2001 18:11:52 +0000 (18:11 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf.c (_bfd_elf_copy_private_bfd_data): Update comments.

22 years ago2001-12-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 18 Dec 2001 17:59:59 +0000 (17:59 +0000)]
2001-12-18  H.J. Lu <hjl@gnu.org>

* elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype.
(_bfd_mips_elf_copy_private_bfd_data): Removed.

* elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in
the ELF header.

* elf32-i370.c (??_elf_copy_private_bfd_data): Removed.
(bfd_elf??_bfd_copy_private_bfd_data): Removed.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-sparc.c: Likewise.
* elfxx-ia64.c: Likewise.

* elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed.

* elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined
to _bfd_elf_copy_private_bfd_data.

22 years ago * elf32-s390 (elf_s390_check_relocs): Pass addend to
Martin Schwidefsky [Tue, 18 Dec 2001 16:21:38 +0000 (16:21 +0000)]
    * elf32-s390 (elf_s390_check_relocs): Pass addend to
        gc_record_vtentry.
        * elf64-s390 (elf_s390_check_relocs): Likewise.
        Fix by Andreas Jaeger <aj@suse.de>.

22 years ago * readelf.c (get_machine_flags): Recognize header flags for ABI and
Thiemo Seufer [Tue, 18 Dec 2001 15:08:05 +0000 (15:08 +0000)]
* readelf.c (get_machine_flags): Recognize header flags for ABI and
ASE extensions. More robust code for ISA checking. Ignore empty fields
in header flags for GNU extensions.

22 years agoCorrectly match all NetBSD/mips hosts.
Nick Clifton [Tue, 18 Dec 2001 14:42:03 +0000 (14:42 +0000)]
Correctly match all NetBSD/mips hosts.

22 years agoRemove redundant definition.
Nick Clifton [Tue, 18 Dec 2001 14:35:34 +0000 (14:35 +0000)]
Remove redundant definition.

22 years agoFix endian detection for configuration of sh-linux builds
Nick Clifton [Tue, 18 Dec 2001 14:33:38 +0000 (14:33 +0000)]
Fix endian detection for configuration of sh-linux builds
Tidy up dates in ChangeLog.

22 years ago* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.
Matthew Green [Tue, 18 Dec 2001 14:07:03 +0000 (14:07 +0000)]
* ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY.

22 years ago* config.bfd (m68*-*-netbsdelf*): New target.
Matthew Green [Tue, 18 Dec 2001 13:26:26 +0000 (13:26 +0000)]
* config.bfd (m68*-*-netbsdelf*): New target.
(m68*-*-netbsd): Also include bfd_elf32_m68k_vec.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd.

* configure.in (m68k-*-netbsdelf*): New target.
(m68k-*-netbsd*): Also include ELF support.
(m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
* configure: Regenerate.

* Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
(m68kelfnbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (m68*-hp-netbsd*): Renamed to ..
(m68*-*-netbsd*4k*): .. this.
(m68*-*-netbsdelf*): New target.
(m68*-*-netbsd*): Also include ELF support.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
* emulparams/m68kelfnbsd.sh: New emulation.

22 years ago * ldgram.y (vers_node): Support anonymous version tags.
Jakub Jelinek [Tue, 18 Dec 2001 12:15:35 +0000 (12:15 +0000)]
* ldgram.y (vers_node): Support anonymous version tags.
* ldlang.c (lang_register_vers_node): Ensure anonymous version
tag is not defined together with non-anonymous versions.
* ld.texinfo: Document it.

* elflink.h (size_dynamic_sections): Skip anonymous version tag.
(elf_link_assign_sym_version): Don't count anonymous version tag.

22 years ago * objcopy.c (copy_archive): Set output bfd format outside the loop.
Alan Modra [Tue, 18 Dec 2001 11:54:10 +0000 (11:54 +0000)]
* objcopy.c (copy_archive): Set output bfd format outside the loop.

22 years ago * elf-eh-frame.c (struct cie): Add make_lsda_relative.
Jakub Jelinek [Tue, 18 Dec 2001 11:49:52 +0000 (11:49 +0000)]
* elf-eh-frame.c (struct cie): Add make_lsda_relative.
(struct eh_cie_fde): Add lsda_encoding, lsda_offset,
make_lsda_relative.
(read_value, write_value): New.
(_bfd_elf_discard_section_eh_frame): Inicialize
lsda_encoding, lsda_offset and make_lsda_relative.
(_bfd_elf_eh_frame_section_offset): If make_lsda_relative,
request no dynamic reloc for LSDA field of FDE.
(_bfd_elf_write_section_eh_frame): Handle make_lsda_relative.
If a non-DW_EH_PE_absptr value is 0, don't adjust it by base
or pcrel.  Fix address computation for DW_EH_PE_pcrel relocs.
Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because
. might have changed due to deleted FDE or CIEs.

22 years ago * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
Jakub Jelinek [Tue, 18 Dec 2001 11:47:59 +0000 (11:47 +0000)]
* elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
(last_eq): Remove.
(_bfd_elf_strtab_finalize): Don't use a hash table for last
character chains, instead use an array.

22 years ago * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
Hans-Peter Nilsson [Tue, 18 Dec 2001 10:40:13 +0000 (10:40 +0000)]
* gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.

22 years agoImport Turkish translation.
Nick Clifton [Tue, 18 Dec 2001 10:35:27 +0000 (10:35 +0000)]
Import Turkish translation.

22 years agoImport japanese translation from translation project.
Nick Clifton [Tue, 18 Dec 2001 10:33:37 +0000 (10:33 +0000)]
Import japanese translation from translation project.

22 years ago * addr2line.c (main): Protoype.
Thiemo Seufer [Tue, 18 Dec 2001 08:22:30 +0000 (08:22 +0000)]
* addr2line.c (main): Protoype.
* ar.c (main): Protoype.
* nm.c (main): Protoype.
* objcopy.c (main): Protoype.
* objdump.c (main): Protoype.
* size.c (main): Protoype.
* strings.c (main): Protoype.
* gasp.c (main): Protoype.

22 years ago * elf.c (elfcore_netbsd_get_lwpid): New function.
Alan Modra [Tue, 18 Dec 2001 07:53:11 +0000 (07:53 +0000)]
* elf.c (elfcore_netbsd_get_lwpid): New function.
(elfcore_grok_netbsd_procinfo): New function.
(elfcore_grok_netbsd_note): New function.
(elfcore_read_notes): Call elfcore_grok_netbsd_note to process
NetBSD ELF core file notes.

22 years ago * config.sub: Import latest version.
Alan Modra [Tue, 18 Dec 2001 07:20:15 +0000 (07:20 +0000)]
* config.sub: Import latest version.
* config.guess: Likewise.

22 years ago * elfcode.h (struct bfd_preserve): New.
Alan Modra [Tue, 18 Dec 2001 07:12:19 +0000 (07:12 +0000)]
* elfcode.h (struct bfd_preserve): New.
(elf_object_p): Replace preserved_* vars with instance of above.
Save and restore arch_info pointer rather than arch, mach so that
more cases can be restored.  Save and restore new section_tail,
section_htab structure, and init appropriately.  Move "rest of
section header" code so that i_shdrp needs no NULL initialisation.
Free old section_htab on success.
* elfcore.h (elf_core_file_p): Likewise.

22 years agoFix email address.
Tom Rix [Tue, 18 Dec 2001 00:55:39 +0000 (00:55 +0000)]
Fix email address.

22 years agoMinimal handle .typchk and .except section.
Tom Rix [Tue, 18 Dec 2001 00:32:32 +0000 (00:32 +0000)]
Minimal handle .typchk and .except section.

22 years ago * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
Richard Henderson [Tue, 18 Dec 2001 00:24:47 +0000 (00:24 +0000)]
    * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.

22 years ago * alpha-opc.c (unop): Encode with RB as $sp.
Richard Henderson [Tue, 18 Dec 2001 00:23:00 +0000 (00:23 +0000)]
    * alpha-opc.c (unop): Encode with RB as $sp.

22 years ago * Makefile.am: Add rules for eelf64alpha_nbsd.
Richard Henderson [Mon, 17 Dec 2001 23:54:58 +0000 (23:54 +0000)]
    * Makefile.am: Add rules for eelf64alpha_nbsd.
        * Makefile.in: Regenerate.
        * configure.tgt (alpha*-*-netbsd*): Set
        targ_emul to elf64alpha_nbsd.
        * emulparams/elf64alpha_nbsd.sh: Added.

22 years agodaily update
Alan Modra [Mon, 17 Dec 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * elf-bfd.h (elf_discarded_section): Define.
Jakub Jelinek [Mon, 17 Dec 2001 22:44:12 +0000 (22:44 +0000)]
* elf-bfd.h (elf_discarded_section): Define.
* elflink.h (elf_link_input_bfd): Use it.
(elf_reloc_symbol_deleted_p): Likewise.

* elf64-alpha.c (elf64_alpha_relocate_section): Don't warn about
overflows for pc relative relocs against discarded sections.

22 years agoAdd except and typeck section strings. Fix xcoff_big_format_p macro.
Tom Rix [Mon, 17 Dec 2001 22:41:02 +0000 (22:41 +0000)]
Add except and typeck section strings.  Fix xcoff_big_format_p macro.

22 years agoFix formatting in next-to-last entry
Hans-Peter Nilsson [Mon, 17 Dec 2001 22:20:23 +0000 (22:20 +0000)]
Fix formatting in next-to-last entry