OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago * gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
Svein Seldal [Sat, 16 Nov 2002 12:23:23 +0000 (12:23 +0000)]
* gas/config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
  (c4x_operands_match): Added check for 8-bits LDF insn. Give
  warning when using constant direct bigger than 2^16. Add the new
  arguments.
* include/opcode/tic4x.h: Major rewrite of entire file. Define
  instruction classes, and put each instruction into a class.
* opcodes/tic4x-dis.c: (c4x_print_op): Add support for the new
  argument format. Fix bug in 'N' register printer.

21 years agodaily update
Alan Modra [Fri, 15 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agoFix h8300 relaxation.
Nick Clifton [Fri, 15 Nov 2002 11:18:49 +0000 (11:18 +0000)]
Fix h8300 relaxation.

21 years ago2002-11-15 Klee Dienes <kdienes@apple.com>
Klee Dienes [Fri, 15 Nov 2002 08:38:38 +0000 (08:38 +0000)]
2002-11-15  Klee Dienes  <kdienes@apple.com>

        * pef.c (bfd_pef_convert_architecture): Move declaration
        ARCH_POWERPC and ARCH_M68K to the start of the function.

21 years agodaily update
Alan Modra [Thu, 14 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl: syntactic cleanup
DJ Delorie [Thu, 14 Nov 2002 22:42:36 +0000 (22:42 +0000)]
* Makefile.tpl: syntactic cleanup

21 years agoAdd --enable-auto-import extension.
Nick Clifton [Thu, 14 Nov 2002 18:03:17 +0000 (18:03 +0000)]
Add --enable-auto-import extension.

21 years agoHandle binaries with corrupt section or segment headers
Nick Clifton [Thu, 14 Nov 2002 14:38:39 +0000 (14:38 +0000)]
Handle binaries with corrupt section or segment headers

21 years ago * coff-tic4x.c (tic4x_howto_table): Formatting fixup
Svein Seldal [Thu, 14 Nov 2002 11:02:30 +0000 (11:02 +0000)]
* coff-tic4x.c (tic4x_howto_table): Formatting fixup

21 years ago * elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs):
Hans-Peter Nilsson [Thu, 14 Nov 2002 01:32:28 +0000 (01:32 +0000)]
* elf64-mmix.c (_bfd_mmix_finalize_linker_allocated_gregs):
For bpo_gregs_section->contents, allocate _raw_size, not
_cooked_size.

21 years agodaily update
Alan Modra [Wed, 13 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * config.bfd: Add entries for powerpc-*-darwin and cousins.
Alan Modra [Wed, 13 Nov 2002 01:45:42 +0000 (01:45 +0000)]
* config.bfd: Add entries for powerpc-*-darwin and cousins.

21 years agoMissed commit in last change.
Alan Modra [Tue, 12 Nov 2002 23:25:42 +0000 (23:25 +0000)]
Missed commit in last change.

21 years agodaily update
Alan Modra [Tue, 12 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-13 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 12 Nov 2002 22:49:45 +0000 (22:49 +0000)]
2002-11-13  H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't restore abfd->arch_info.

21 years ago * bfd.c (struct bfd_preserve): New.
Alan Modra [Tue, 12 Nov 2002 15:44:24 +0000 (15:44 +0000)]
* bfd.c (struct bfd_preserve): New.
(bfd_preserve_save): New function.
(bfd_preserve_restore): Ditto.
(bfd_preserve_finish): Ditto.
* bfd-in2.h: Regenerate.
* mach-o.c: Formatting.
(bfd_mach_o_scan_read_symtab_symbol): Make "value" unsigned.
(bfd_mach_o_object_p): Use bfd_preserve_save/restore/finish.
(bfd_mach_o_core_p): Ditto.
(bfd_mach_o_scan): Pass in mdata.
* mach-o.h (bfd_mach_o_scan): Update prototype.
* pef.c: Formatting.
(bfd_pef_object_p): Use bfd_preserve_save/restore/finish.
(bfd_pef_xlib_object_p): Ditto.
(bfd_pef_scan): Pass in mdata.  Move version check to bfd_pef_object_p.
* pef.h (bfd_pef_scan): Update prototype.
* xsym.c: Formatting, K&R fixes.
(bfd_sym_object_p): Use bfd_preserve_save/restore/finish.
(bfd_sym_scan): New function split out from bfd_sym_object_p.
* xsym.h (bfd_sym_scan): Declare.
* elfcode.h (elf_object_p): Use bfd_preserve_save/restore/finish.
(elf_core_file_p): Likewise.
* targets.c (_bfd_target_vector): Revert 2002-11-08 change.

21 years ago * ldlang.c (lang_add_section): Discard debugging sections that have
Alan Modra [Tue, 12 Nov 2002 11:31:43 +0000 (11:31 +0000)]
* ldlang.c (lang_add_section): Discard debugging sections that have
        been marked SEC_EXCLUDE.

21 years agoAdd new/updated Danish translations
Nick Clifton [Tue, 12 Nov 2002 10:08:25 +0000 (10:08 +0000)]
Add new/updated Danish translations

21 years ago * emultempl/ppc64elf.em (ppc_before_allocation): New function.
Alan Modra [Tue, 12 Nov 2002 07:56:38 +0000 (07:56 +0000)]
* emultempl/ppc64elf.em (ppc_before_allocation): New function.
(LDEMUL_BEFORE_ALLOCATION): Define.
(gld${EMULATION_NAME}_finish): Run discard_info for relocatable
linking.
* emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.

21 years ago * elflink.h (elf_link_add_object_symbols): Optimize stabs for
Alan Modra [Tue, 12 Nov 2002 07:55:43 +0000 (07:55 +0000)]
* elflink.h (elf_link_add_object_symbols): Optimize stabs for
relocatable link too.
(elf_link_input_bfd): When emitting relocs, adjust offsets for
eh_frame and stab sections.  Zap deleted relocs.
(elf_reloc_symbol_deleted_p): Return true for zero r_symndx.
(elf_bfd_discard_info): Run for relocatable link too.
* elf64-ppc.c (ppc64_elf_edit_opd): Rename from edit_opd.  Make global.
Handle ld -r case.
(ppc64_elf_size_dynamic_sections): Don't call edit_opd from here.
* elf64-ppc.h (ppc64_elf_edit_opd): Declare.

21 years ago * elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.
Alan Modra [Tue, 12 Nov 2002 07:35:26 +0000 (07:35 +0000)]
* elf-bfd.h (struct cie_header): Move from elf_eh-frame.c.
(struct cie, struct eh_cie_fde, struct eh_frame_sec_info): Likewise.
(struct eh_frame_array_ent, struct eh_frame_hdr_info): Likewise.
(enum elf_link_info_type): Remove ELF_INFO_TYPE_EH_FRAME_HDR.
(struct eh_frame_hdr_info): Add "hdr_sec", remove "split".
(struct elf_link_hash_table): Add eh_info.
(struct elf_obj_tdata): Change eh_frame_hdr to an asection *.
(_bfd_elf_discard_section_eh_frame): Update prototype.
(_bfd_elf_discard_section_eh_frame_hdr): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_write_section_eh_frame_hdr): Likewise.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Remove "ehdrsec"
param.  Get "hdr_info" from link hash table.
(_bfd_elf_discard_section_eh_frame_hdr): Remove "sec" param.  Get
header section from link hash table.  Save header section to elf_tdata.
(_bfd_elf_maybe_strip_eh_frame_hdr): Remove local "sec".  Use
header section from link hash table.  Don't alloc hdr_info.  Clear
hdr_sec instead of setting "strip".
(_bfd_elf_eh_frame_section_offset): Formatting.
(_bfd_elf_write_section_eh_frame): Remove "ehdrsec", add "info" param.
Get header section from link hash table.
(_bfd_elf_write_section_eh_frame_hdr): Remove "sec", add "info" param.
Get header section from link hash table.
* elf.c (map_sections_to_segments): Use cached eh_frame_hdr.
(get_program_header_size): Likewise.
(_bfd_elf_section_offset): Formatting.
* elflink.h (elf_link_create_dynamic_sections): Stash eh frame header
section pointer in link hash table.
(elf_bfd_final_link): Adjust _bfd_elf_write_section_eh_frame_hdr
and _bfd_elf_write_section_eh_frame calls.  Update comment about
eh_frame entries.
(elf_bfd_discard_info): Adjust _bfd_elf_discard_section_eh_frame and
_bfd_elf_discard_section_eh_frame_hdr calls.  Remove "ehdr".

* po/SRC-POTFILES.in: Regenerate.

21 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero
Alan Modra [Tue, 12 Nov 2002 06:21:05 +0000 (06:21 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't zero
relocs for discarded FDEs.  Remove dead code.
(_bfd_elf_write_section_eh_frame_hdr): Remove dead code.
* elflink.h (elf_bfd_discard_info): Don't save edited relocs.
Tidy conditions under which stabs are edited.  Formatting.
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from discarded relocs.
* elfxx-ia64.c (elfNN_ia64_install_dyn_reloc): Add reloc output
section adjustments after testing magic values.

21 years ago * gas/ppc/booke.d: Adjust output for corrected condition reg.
Alan Modra [Tue, 12 Nov 2002 04:04:13 +0000 (04:04 +0000)]
* gas/ppc/booke.d: Adjust output for corrected condition reg.

21 years ago * ppc-dis.c (print_insn_powerpc): Correct condition register display.
Alan Modra [Tue, 12 Nov 2002 04:03:31 +0000 (04:03 +0000)]
* ppc-dis.c (print_insn_powerpc): Correct condition register display.

21 years ago* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.
Christopher Faylor [Tue, 12 Nov 2002 03:48:43 +0000 (03:48 +0000)]
* configure.tgt (LIB_PATH): Default to searching w32api directory under cygwin.

21 years ago * elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
Alan Modra [Mon, 11 Nov 2002 23:42:29 +0000 (23:42 +0000)]
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Correct
references to large plt symbols.

21 years ago * mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when
Alan Modra [Mon, 11 Nov 2002 23:19:03 +0000 (23:19 +0000)]
* mach-o.c (bfd_mach_o_scan_read_thread): Don't re-use 'i' when
looking for an unused section name.

21 years ago * rddbg.c (read_section_stabs_debugging_info): Also recognize
Alan Modra [Mon, 11 Nov 2002 23:15:38 +0000 (23:15 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Also recognize
LC_SYMTAB.stab/LC_SYMTAB.stabstr as a valid pair of sections.

21 years agodaily update
Alan Modra [Mon, 11 Nov 2002 23:01:15 +0000 (23:01 +0000)]
daily update

21 years ago* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list of
Christopher Faylor [Mon, 11 Nov 2002 21:16:28 +0000 (21:16 +0000)]
* pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list of
restricted auto-export libs.

21 years ago* pe-dll.c (autofilter_liblist): Generalize library names to catch more
Christopher Faylor [Mon, 11 Nov 2002 17:42:36 +0000 (17:42 +0000)]
* pe-dll.c (autofilter_liblist): Generalize library names to catch more
creative library naming instances like, e.g., libstdc++-2.a.

21 years ago* configure.in: Use .gdbinit under Cygwin.
Christopher Faylor [Mon, 11 Nov 2002 17:21:33 +0000 (17:21 +0000)]
* configure.in: Use .gdbinit under Cygwin.
* configure: Regenerate.

21 years ago* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.
Christopher Faylor [Mon, 11 Nov 2002 17:11:53 +0000 (17:11 +0000)]
* config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if STRICT_PE_FORMAT.

21 years ago* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer. Drop COFF from cgf
Christopher Faylor [Mon, 11 Nov 2002 16:53:19 +0000 (16:53 +0000)]
* MAINTAINERS: Reinstate DJ Delorie as COFF maintainer.  Drop COFF from cgf
maintainership.

21 years ago* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.
Christopher Faylor [Mon, 11 Nov 2002 16:06:50 +0000 (16:06 +0000)]
* MAINTAINERS: Replace DJ Delorie as PE/COFF maintainer.

21 years ago * Makefile.am: Added tic4x dependecy
Svein Seldal [Mon, 11 Nov 2002 14:58:49 +0000 (14:58 +0000)]
    * Makefile.am: Added tic4x dependecy
        * Makefile.in: Regenerate

21 years ago gas tic4x target enhancements (long list - see gas/ChangeLog and
Svein Seldal [Mon, 11 Nov 2002 14:29:01 +0000 (14:29 +0000)]
gas tic4x target enhancements (long list - see gas/ChangeLog and
include/ChangeLog)

21 years ago * ld-elf/sec64k.exp: New test.
Hans-Peter Nilsson [Mon, 11 Nov 2002 10:16:57 +0000 (10:16 +0000)]
* ld-elf/sec64k.exp: New test.
* lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/"
to a source file starting with "/".

21 years ago * macro.c (get_any_string): Correct logic for not going beyond end
Hans-Peter Nilsson [Mon, 11 Nov 2002 08:42:52 +0000 (08:42 +0000)]
* macro.c (get_any_string): Correct logic for not going beyond end
of in->ptr[].

21 years ago Retire common MPW configury bits.
Stan Shebs [Mon, 11 Nov 2002 05:38:51 +0000 (05:38 +0000)]
    Retire common MPW configury bits.
        * mpw-mh-mpw: Remove.
        * mpw: Remove directory along with all of its files.

21 years ago * coff-h8300.c: Fix formatting.
Kazu Hirata [Mon, 11 Nov 2002 05:05:22 +0000 (05:05 +0000)]
* coff-h8300.c: Fix formatting.
* elf32-h8300.c: Likewise.
* reloc16.c: Likewise.

21 years agodaily update
Alan Modra [Sun, 10 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * config/tc-mmix.c (get_putget_operands): Mark both possible
Hans-Peter Nilsson [Sun, 10 Nov 2002 18:35:51 +0000 (18:35 +0000)]
* config/tc-mmix.c (get_putget_operands): Mark both possible
operands as invalid at beginning.

21 years ago * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
Hans-Peter Nilsson [Sun, 10 Nov 2002 13:09:11 +0000 (13:09 +0000)]
* config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
Initialize target of fixup to zero.

21 years ago * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
Hans-Peter Nilsson [Sun, 10 Nov 2002 09:29:07 +0000 (09:29 +0000)]
* ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d,
ld-mmix/local7.d: Tweak for change in readelf output.

21 years agodaily update
Alan Modra [Sat, 9 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * ld-elfvsb/define.s: Avoid use of @ in .type directive.
Alan Modra [Sat, 9 Nov 2002 12:27:50 +0000 (12:27 +0000)]
* ld-elfvsb/define.s: Avoid use of @ in .type directive.

21 years ago * elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
Alan Modra [Sat, 9 Nov 2002 00:52:27 +0000 (00:52 +0000)]
* elf32-arm.h (elf32_arm_size_dynamic_sections): Don't strip output
section when dynamic section unused;  _bfd_strip_section_from_output
instead.

21 years agodaily update
Alan Modra [Fri, 8 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-07 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Fri, 8 Nov 2002 00:46:21 +0000 (00:46 +0000)]
2002-11-07  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.
(EVUIMM_8): Same.

21 years ago2002-11-07 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Thu, 7 Nov 2002 23:43:50 +0000 (23:43 +0000)]
2002-11-07  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.

21 years agoDisable sym_vec too.
Alan Modra [Thu, 7 Nov 2002 23:26:51 +0000 (23:26 +0000)]
Disable sym_vec too.

21 years ago * targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.
Alan Modra [Thu, 7 Nov 2002 23:13:30 +0000 (23:13 +0000)]
* targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.

21 years agodaily update
Alan Modra [Thu, 7 Nov 2002 23:00:09 +0000 (23:00 +0000)]
daily update

21 years ago * dwarf2.c: Revert last change.
Alan Modra [Thu, 7 Nov 2002 22:19:59 +0000 (22:19 +0000)]
* dwarf2.c: Revert last change.

21 years agoUse bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents().
Nick Clifton [Thu, 7 Nov 2002 14:36:31 +0000 (14:36 +0000)]
Use bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents().

21 years agoConvert ia64-gen to use getopt(). Add standard GNU options plus --srcdir.
Nick Clifton [Thu, 7 Nov 2002 14:33:48 +0000 (14:33 +0000)]
Convert ia64-gen to use getopt().  Add standard GNU options plus --srcdir.
Convert Makefile.am to pass --srcdir to ia64-gen.  Fix compile time warnings.

21 years agoFix attribution last entry
Hans-Peter Nilsson [Thu, 7 Nov 2002 13:28:48 +0000 (13:28 +0000)]
Fix attribution last entry

21 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,
Hans-Peter Nilsson [Thu, 7 Nov 2002 13:28:04 +0000 (13:28 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,
case R_CRIS_32_GOT>: Correct test for filling in constant .got
contents, enabling for a non-DSO, for symbols defined in the
program with --export-dynamic.

21 years ago * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
Hans-Peter Nilsson [Thu, 7 Nov 2002 13:25:48 +0000 (13:25 +0000)]
* ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.

21 years ago * elf64-ppc.c: Comment typo fixes.
Alan Modra [Thu, 7 Nov 2002 12:45:29 +0000 (12:45 +0000)]
* elf64-ppc.c: Comment typo fixes.
(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.

21 years ago Only run fastcall test for x86 PE targets.
Nick Clifton [Thu, 7 Nov 2002 09:20:10 +0000 (09:20 +0000)]
 Only run fastcall test for x86 PE targets.

21 years agoAdded/Updated Danish translation.
Nick Clifton [Thu, 7 Nov 2002 08:45:25 +0000 (08:45 +0000)]
Added/Updated Danish translation.

21 years agoOnly run tests for PE type x86 targets.
Nick Clifton [Thu, 7 Nov 2002 08:36:04 +0000 (08:36 +0000)]
Only run tests for PE type x86 targets.

21 years agoRevert part of previous patch: Display unknown symbol types in decimal, not hex.
Nick Clifton [Thu, 7 Nov 2002 08:33:15 +0000 (08:33 +0000)]
Revert part of previous patch: Display unknown symbol types in decimal, not hex.

21 years ago* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
Alexandre Oliva [Thu, 7 Nov 2002 02:29:32 +0000 (02:29 +0000)]
* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
NEWABI, but we should still emit HI16_S for non-PIC n32.

21 years ago2002-11-06 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Thu, 7 Nov 2002 00:54:09 +0000 (00:54 +0000)]
2002-11-06  Aldy Hernandez  <aldyh@redhat.com>

        * opcodes/ppc-opc.c: Change RD to RS for evmerge*.

21 years ago* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
Alexandre Oliva [Thu, 7 Nov 2002 00:46:59 +0000 (00:46 +0000)]
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.

21 years ago * config/tc-alpha.c (alpha_validate_fix): Move code ...
Richard Henderson [Thu, 7 Nov 2002 00:42:19 +0000 (00:42 +0000)]
    * config/tc-alpha.c (alpha_validate_fix): Move code ...
        (alpha_fix_adjustable): ... here.
        * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.

21 years ago * ld-sh/rd-sh.exp: Set asflags_save always.
Kaz Kojima [Wed, 6 Nov 2002 23:37:23 +0000 (23:37 +0000)]
* ld-sh/rd-sh.exp: Set asflags_save always.

21 years agodaily update
Alan Modra [Wed, 6 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate
Alexandre Oliva [Wed, 6 Nov 2002 21:56:05 +0000 (21:56 +0000)]
* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate
exactly three internal relocs per external reloc.  Set reloc_count
to the external reloc count.

21 years agoAdds support for fastcall symbols as used on Microsoft Windows platforms
Nick Clifton [Wed, 6 Nov 2002 19:36:20 +0000 (19:36 +0000)]
Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)

21 years agoAdded Svein Seldal as maintainer for the TIC4X target
Svein Seldal [Wed, 6 Nov 2002 17:32:52 +0000 (17:32 +0000)]
Added Svein Seldal as maintainer for the TIC4X target

21 years ago(stub_bytes): Mark as const.
Nick Clifton [Wed, 6 Nov 2002 17:12:05 +0000 (17:12 +0000)]
(stub_bytes): Mark as const.
Fix comment formatting.

21 years agooops - omitted fix to display unknown symbol type in hex.
Nick Clifton [Wed, 6 Nov 2002 17:02:36 +0000 (17:02 +0000)]
oops - omitted fix to display unknown symbol type in hex.

21 years agoAdd hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.
Nick Clifton [Wed, 6 Nov 2002 17:00:57 +0000 (17:00 +0000)]
Add hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.

21 years agoAdd support for PEF, Mach-O, xSYM
Nick Clifton [Wed, 6 Nov 2002 13:26:29 +0000 (13:26 +0000)]
Add support for PEF, Mach-O, xSYM

21 years agoAh bah, missed these from last commit.
Alan Modra [Wed, 6 Nov 2002 12:04:31 +0000 (12:04 +0000)]
Ah bah, missed these from last commit.

21 years ago * Makefile.am: Remove entries for elf32-qnx.[ch].
Alan Modra [Wed, 6 Nov 2002 11:38:35 +0000 (11:38 +0000)]
* Makefile.am: Remove entries for elf32-qnx.[ch].
* Makefile.in: Regenerate.
* config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec,
ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure.in: Remove support for bfd_elf32_sh{l}qnx_vec,
bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec,
and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets.
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure: Regenerate.
* elf32-qnx.c: Remove.
* elf32-qnx.h: Remove.
* elf.c: Remove calls to QNX specific set_nonloadable_filepos,
is_contained_by_filepos, and copy_private_bfd_data_p.
* elf32-i386.c: Remove QNX extended bfd support.
* elf32-ppc.c: Remove QNX extended bfd support.
* elf32-sh.c: Remove QNX extended bfd support.
* elfarm-nabi.c: Remove QNX extended bfd support.
* targets.c: Remove qnx vectors.
* elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove
(elf_backend_is_contained_by_filepos): Remove.
(elf_backend_copy_private_bfd_data_p): Remove.
* po/SRC-POTFILES.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 5 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
Alan Modra [Tue, 5 Nov 2002 22:59:23 +0000 (22:59 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.

21 years ago2002-11-05 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 5 Nov 2002 21:53:13 +0000 (21:53 +0000)]
2002-11-05  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (support_64bit_objects): Check *l before it
is freed.

21 years ago * elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
Alan Modra [Tue, 5 Nov 2002 05:01:11 +0000 (05:01 +0000)]
* elf32-arm.h (t2a1_push_insn, t2a2_ldr_insn, t2a3_mov_insn,
t2a4_bx_insn, t2a5_pop_insn, t2a6_bx_insn): Remove.

21 years ago * config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
Alan Modra [Tue, 5 Nov 2002 01:18:56 +0000 (01:18 +0000)]
* config.bfd (sh-*-linux*): Use bfd_elf*_sh64*lin_vec as sh64
vectors in target_selvecs.
(shle-*-netbsdelf*): Use bfd_elf*_sh64*nbsd_vec as sh64 vectors
in target_selvecs.
(sh-*-netbsdelf*): Likewise.
* configure.in (assocvecs): New variable.  Handle assocvecs like
selvecs.
* configure: Regenerate.
* format.c (bfd_check_format_matches): Store bfd_target pointers
in matching_vector instead of target names.  Select first target
from bfd_associated_vector that matches a list of ambiguous targets.
* targets.c (_bfd_associated_vector): New array.
(bfd_associated_vector): New variable.
(_bfd_target_vector): Add bfd_elf*_sh64*lin_vec.
* libbfd-in.h (bfd_associated_vector): Declare.
* libbfd.h: Regenerate.

21 years ago * vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
Alan Modra [Tue, 5 Nov 2002 01:08:18 +0000 (01:08 +0000)]
* vms-gsd.c (_bfd_vms_write_gsd): Check that symbol->udata.p is
non-NULL before dereferencing.

21 years agodaily update
Alan Modra [Mon, 4 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * vms.c (vms_object_p): Restore the start address when returning
Kaz Kojima [Mon, 4 Nov 2002 21:44:36 +0000 (21:44 +0000)]
* vms.c (vms_object_p): Restore the start address when returning
NULL.

21 years agoTop level configury changes for RDA.
Kevin Buettner [Mon, 4 Nov 2002 18:41:14 +0000 (18:41 +0000)]
Top level configury changes for RDA.

21 years agoSet SEC_DATA and SEC_LOAD flags for sections marked as 's'.
Nick Clifton [Mon, 4 Nov 2002 16:10:56 +0000 (16:10 +0000)]
Set SEC_DATA and SEC_LOAD flags for sections marked as 's'.

21 years ago * elflink.h (struct elf_final_link_info): Add shndxbuf_size.
Alan Modra [Mon, 4 Nov 2002 13:20:56 +0000 (13:20 +0000)]
* elflink.h (struct elf_final_link_info): Add shndxbuf_size.
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields.
Set up a larger symshndxbuf, and write it out.  Free it on
exit rather than freeing symbuf twice.  Correct section index
on output section symbol loop.
(elf_link_output_sym): Accumulate symbol extension section
indices, reallocating symshndxbuf rather than writing it out.
(elf_link_flush_output_syms): Don't flush symshndxbuf.
* elf.c (assign_section_numbers): Init i_shdrp to all zero.
Use bfd_zalloc to clear i_shdrp[0] too.

21 years ago * readelf.c (byte_get_little_endian): Comment typo fix.
Alan Modra [Mon, 4 Nov 2002 03:18:41 +0000 (03:18 +0000)]
* readelf.c (byte_get_little_endian): Comment typo fix.
(print_symbol): Constify "symbol" arg.  Don't pass "symbol" to printf
as the format string.
(dump_relocations): Correct section sym names.
(process_section_headers): Clear symtab_shndx_hdr.
(read_and_display_attr_value): Don't pass indirect string to printf
as the format string.
(display_debug_frames): Indicate when zero terminator found.  Decode
DW_EH_PE_pcrel addresses.

21 years ago * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
Kaz Kojima [Mon, 4 Nov 2002 01:18:13 +0000 (01:18 +0000)]
* ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5.
* ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5.
* ld-sh/tlspic-1.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols
defined by the linker scripts.

21 years ago* elf32-sh64-com.c (sh64_address_in_cranges): Use
Stephen Clarke [Mon, 4 Nov 2002 00:02:13 +0000 (00:02 +0000)]
* elf32-sh64-com.c (sh64_address_in_cranges): Use
_raw_size of cranges section if _cooked_size not yet set.

21 years agodaily update
Alan Modra [Sun, 3 Nov 2002 23:00:08 +0000 (23:00 +0000)]
daily update

21 years ago * elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
Hans-Peter Nilsson [Sun, 3 Nov 2002 10:43:44 +0000 (10:43 +0000)]
* elf32-v850.c (v850_elf_relax_delete_bytes): Correct parameters
for bfd_elf32_swap_symbol_out.

21 years agodaily update
Alan Modra [Sat, 2 Nov 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Fri, 1 Nov 2002 23:00:07 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 1 Nov 2002 20:41:48 +0000 (20:41 +0000)]
2002-11-01  H.J. Lu <hjl@gnu.org>

* gas/i386/i386.exp: Add "sub".

* gas/i386/sub.d: New.
* gas/i386/sub.s: New.

21 years ago * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
Alan Modra [Fri, 1 Nov 2002 10:42:26 +0000 (10:42 +0000)]
* write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
* doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
default.