OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
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.

21 years ago * dep-in.sed: Fix typo.
Alan Modra [Fri, 1 Nov 2002 10:35:43 +0000 (10:35 +0000)]
* dep-in.sed: Fix typo.

21 years ago2002-10-31 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Thu, 31 Oct 2002 09:18:48 +0000 (09:18 +0000)]
2002-10-31  David O'Brien  <obrien@FreeBSD.org>
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't mix
signed and unsigned in comparison.

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

21 years ago * configure.in: Update ARM CPU patterns.
Daniel Jacobowitz [Wed, 30 Oct 2002 17:05:41 +0000 (17:05 +0000)]
    * configure.in: Update ARM CPU patterns.
        * configure: Regenerated.

21 years ago * coffcode.h: Remove extraneous '\'.
Daniel Jacobowitz [Wed, 30 Oct 2002 15:50:17 +0000 (15:50 +0000)]
* coffcode.h: Remove extraneous '\'.

21 years ago * emultempl/aix.em: Use include <> for generated headers.
Daniel Jacobowitz [Wed, 30 Oct 2002 03:57:39 +0000 (03:57 +0000)]
* emultempl/aix.em: Use include <> for generated headers.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/pe.em: Likewise.
* ldctor.c: Likewise.
* ldexp.c: Likewise.
* ldfile.c: Likewise.
* ldlang.c: Likewise.
* ldlex.c: Likewise.
* ldlex.l: Likewise.
* ldmain.c: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* mri.c: Likewise.
* pe-dll.c: Likewise.

21 years ago * itbl-lex.l: Use #include <> for generated headers.
Daniel Jacobowitz [Wed, 30 Oct 2002 03:56:39 +0000 (03:56 +0000)]
    * itbl-lex.l: Use #include <> for generated headers.
        * itbl-ops.c: Likewise.

21 years agodaily update
Alan Modra [Tue, 29 Oct 2002 00:20:31 +0000 (00:20 +0000)]
daily update

21 years ago2002-10-28 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 28 Oct 2002 22:30:29 +0000 (22:30 +0000)]
2002-10-28  H.J. Lu <hjl@gnu.org>

* Makefile.am (targets.lo): Depend on Makefile instead of
config.status.
(archures.lo): Likewise.
* Makefile.in: Regenerated.

21 years ago * doc/gasp.texi: Fix typo in deprecation note.
Daniel Jacobowitz [Mon, 28 Oct 2002 15:44:08 +0000 (15:44 +0000)]
    * doc/gasp.texi: Fix typo in deprecation note.

21 years agodaily update
Alan Modra [Sun, 27 Oct 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:02:05 +0000 (01:02 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Sun, 27 Oct 2002 01:01:04 +0000 (01:01 +0000)]
merge from gcc

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

21 years ago* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
DJ Delorie [Sat, 26 Oct 2002 03:57:38 +0000 (03:57 +0000)]
* Makefile.tpl (bootstrap):  Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in:  Regenerate.

21 years agodaily update
Alan Modra [Sat, 26 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add
Jason Thorpe [Fri, 25 Oct 2002 21:48:58 +0000 (21:48 +0000)]
* config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Add
bfd_elf64_bigmips_vec and bfd_elf64_littlemips_vec to
targ_selvecs.

21 years agoAdd some string section merging support.
Jim Wilson [Fri, 25 Oct 2002 18:55:22 +0000 (18:55 +0000)]
Add some string section merging support.
* elf64-sh64.c (sh_elf64_relocate_section): Call
_bfd_elf_rela_local_sym.  Handle relocs against STT_SECTION symbol
of SHF_MERGE section.

21 years ago * simple.c: Correct placement of ATTRIBUTE_UNUSED.
Hans-Peter Nilsson [Fri, 25 Oct 2002 15:43:03 +0000 (15:43 +0000)]
* simple.c: Correct placement of ATTRIBUTE_UNUSED.

21 years agoFiles missed in previous commit.
Dave Anglin [Fri, 25 Oct 2002 03:19:29 +0000 (03:19 +0000)]
Files missed in previous commit.

21 years ago * aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
Dave Anglin [Fri, 25 Oct 2002 02:45:54 +0000 (02:45 +0000)]
* aoutx.h (NAME(aout,swap_ext_reloc_in)): Cast bytes->r_index to
unsigned int.  Cast RELOC_BASE10, RELOC_BASE13 and RELOC_BASE22 to
unsigned int.
(NAME(aout,final_link)): Cast enum used in assignment.
(aout_link_write_symbols): Cast enums in comparisons, int values to
boolean, enums in assignments to int.
(aout_link_input_section_std): Cast rel->r_index to unsigned int.
(aout_link_input_section_ext): Likewise.  Cast enums used in comparisons
with unsigned ints.
(aout_link_reloc_link_order): Cast enum to int in assignment.
* archive.c (_bfd_generic_read_ar_hdr_mag): Cast result of memchr
calls to char *.
* bfd-in.h (bfd_set_section_vma): Cast enum true to unsigned int in
assignment.
* bfd-in2.h (bfd_set_section_vma): Likewise.
* bfd.c (bfd_record_phdr): Cast enums in assignments.
* binary.c (bfd_alloc): Cast enum to long.
* coffgen.c (_bfd_coff_is_local_label_name): Cast return to boolean.
* dwarf2.c (read_abbrevs): Add casts to enum types.
(read_attribute_value): Likewise.
(arange_add): Cast result of bfd_zalloc call.
(comp_unit_contains_address): Return true and false.
(comp_unit_find_nearest_line): Cast return to boolean.
* format.c (bfd_check_format_matches, bfd_set_format): Likewise.
* gen-aout.c: define macro '_' if not defined.
* libbfd.c (bfd_realloc): Cast malloc and realloc to PTR.
(bfd_bwrite): Cast bfd_realloc to bfd_byte *.
(bfd_write_bigendian_4byte_int): Cast return to boolean.
(bfd_seek): Cast bfd_realloc to bfd_byte *.
(bfd_generic_is_local_label_name): Cast return to boolean.
* libcoff.h (_bfd_coff_adjust_symndx): Remove extraneous '\'.
* linker.c (_bfd_link_hash_newfunc): Cast bfd_hash_allocate result to
struct bfd_hash_entry *.
(_bfd_generic_link_hash_newfunc): likewise.
(_bfd_generic_final_link): Cast enum to unsigned int.
* merge.c (sec_merge_emit): Cast return to boolean.
(merge_strings): Add casts to const unsigned char *.
* reloc.c (bfd_get_reloc_code_name): Cast enums in comparison to int.
(bfd_generic_get_relocated_section_content): Cast enum to unsigned int.
* section.c (bfd_section_hash_newfunc): Cast bfd_hash_allocate result to
struct bfd_hash_entry *.
(bfd_set_section_content): Add cast to PTR in comparison.
* simple.c (simple_dummy_warning, simple_dummy_undefined_symbol,
simple_dummy_reloc_overflow, simple_dummy_reloc_dangerous,
simple_dummy_unattached_reloc,
bfd_simple_get_relocated_section_contents): Add K&R declarations and
function definitions.
* srec.c (S3Forced): Initialize to false.
(srec_get_symtab): Cast return value from bfd_alloc to asymbol *.
* stabs.c (_bfd_link_section_stabs): Cast enum to int in comparisons.
(_bfd_discard_section_stabs): Likewise.  Also cast return to boolean.
* syms.c (bfd_is_undefined_symclass): Cast return to boolean.
(_bfd_stab_section_find_nearest_line): Cast enum to bfd_byte in
comparisons.

21 years agomerge from gcc
DJ Delorie [Fri, 25 Oct 2002 00:01:55 +0000 (00:01 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Fri, 25 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * configure.in (i[3456]86-*-linux*): Add check to disable
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:31:47 +0000 (23:31 +0000)]
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.

21 years agodaily update
Alan Modra [Thu, 24 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
Jakub Jelinek [Wed, 23 Oct 2002 20:21:21 +0000 (20:21 +0000)]
* elf64-alpha.c (elf64_alpha_check_relocs): Only put maybe_dynamic
relocs into shared lib non-allocated reloc sections.

21 years ago * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
Jakub Jelinek [Wed, 23 Oct 2002 20:13:01 +0000 (20:13 +0000)]
* emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
sections into .rel{,a}.dyn.

21 years agoAdd conditional/unconditional branch classification.
Nick Clifton [Wed, 23 Oct 2002 15:45:49 +0000 (15:45 +0000)]
Add conditional/unconditional branch classification.

21 years agoDefine SKIP_ZEROES as 32 for tic4x target in order to ensure proper
Nick Clifton [Wed, 23 Oct 2002 14:49:08 +0000 (14:49 +0000)]
Define SKIP_ZEROES as 32 for tic4x target in order to ensure proper
disassembly of the valid 0-value opcode.

21 years ago * MAINTAINERS: Add Kaz Kojima as SH maintainer.
Kaz Kojima [Wed, 23 Oct 2002 13:39:09 +0000 (13:39 +0000)]
* MAINTAINERS: Add Kaz Kojima as SH maintainer.

21 years agoAdd new command line option "--no-omagic" which undoes the effects of -N.
Nick Clifton [Wed, 23 Oct 2002 13:24:10 +0000 (13:24 +0000)]
Add new command line option "--no-omagic" which undoes the effects of -N.

21 years ago * dwarf2.c (add_line_info): Ensure that the line_info_table is
Alan Modra [Wed, 23 Oct 2002 12:41:32 +0000 (12:41 +0000)]
* dwarf2.c (add_line_info): Ensure that the line_info_table is
sorted even when given an out-of-order line sequence.
(lookup_address_in_line_info_table): When an exact VMA match is
not found, return line information with the closest VMA.

21 years agoForce DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
Nick Clifton [Wed, 23 Oct 2002 12:34:57 +0000 (12:34 +0000)]
Force DT_FLAGS to always be set.  Required by HPUX 11.00 patch PHSS_26559.

21 years ago(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
Nick Clifton [Wed, 23 Oct 2002 11:21:27 +0000 (11:21 +0000)]
(__RUNTIME_PSEUDO_RELOC_LIST__, __RUNTIME_PSEUDO_RELOC_LIST_END__): Add
only when relocating.

21 years agoAllow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
Nick Clifton [Wed, 23 Oct 2002 10:34:18 +0000 (10:34 +0000)]
Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted into
a GOT reloc.

21 years agoFix typo in last entry
Hans-Peter Nilsson [Wed, 23 Oct 2002 05:23:57 +0000 (05:23 +0000)]
Fix typo in last entry

21 years ago * config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
Hans-Peter Nilsson [Wed, 23 Oct 2002 05:21:09 +0000 (05:21 +0000)]
* config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.
(tc_frob_file_before_adjust): Don't define.
* config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
function.
(mmix_frob_file_before_adjust): Remove ineffective function.

21 years ago2002-10-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Oct 2002 03:11:47 +0000 (03:11 +0000)]
2002-10-22  H.J. Lu <hjl@gnu.org>

* gas/mips/branch-misc-2.d: Updated.

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

21 years ago * config/tc-cris.c (SIMPLE_EXPR): New macro.
Hans-Peter Nilsson [Tue, 22 Oct 2002 23:45:40 +0000 (23:45 +0000)]
* config/tc-cris.c (SIMPLE_EXPR): New macro.
(cris_relax_frag): New function.
(md_estimate_size_before_relax) <case ENCODE_RELAX
(STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
expressions that will become absolute expressions to relaxation.
(md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
STATE_WORD)>: Expect only absolute expressions.  Use the symbol
value, not distance to symbol.
<case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
Ditto.  Correct placement of fixup.
(md_assemble): Use SIMPLE_EXPR when dissecting expressions.
(gen_bdap): Ditto.
* config/tc-cris.h (cris_relax_frag): Declare.
(md_relax_frag): Define.

21 years ago * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
Hans-Peter Nilsson [Tue, 22 Oct 2002 23:15:59 +0000 (23:15 +0000)]
* gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,
gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests.

21 years ago* use @itemx, not @item, for --disassemble-zeroes.
Ben Elliston [Tue, 22 Oct 2002 22:59:02 +0000 (22:59 +0000)]
* use @itemx, not @item, for --disassemble-zeroes.

21 years ago * doc/binutils.texi (objdump): Document -z and move the entry for
Ben Elliston [Tue, 22 Oct 2002 22:40:47 +0000 (22:40 +0000)]
* doc/binutils.texi (objdump): Document -z and move the entry for
--disassemble-zeroes to the end of the options section (for `z').

21 years ago* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
Alexandre Oliva [Tue, 22 Oct 2002 22:17:11 +0000 (22:17 +0000)]
* elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move
the options section into a separate section unless IRIX 6
compatibility is enabled.

21 years ago* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
Alexandre Oliva [Tue, 22 Oct 2002 22:13:26 +0000 (22:13 +0000)]
* emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
emulation name.  Set LIB_PATH only for native tools, and
search the ABI-specific versions of NATIVE_LIB_DIRS before the
.../lib variants, not instead of them.  Mostly copied from...
* emulparams/elf32ppc.sh: ... here.  Fixed typo.
* emulparams/elf64bmip-defs.sh: Backed out.
* emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
* emulparams/elf64btsmip.sh: Likewise.
(DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
TEXT_DYNAMIC): Removed.

21 years ago* elflink.h (struct elf_link_sort_rela): Turn rel and rela
Alexandre Oliva [Tue, 22 Oct 2002 21:00:10 +0000 (21:00 +0000)]
* elflink.h (struct elf_link_sort_rela): Turn rel and rela
into arrays.
(elf_link_sort_cmp1, elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Likewise.  Take int_rels_per_ext_rel
into account.
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Compose
R_MIPS_REL32 with R_MIPS64 if ABI_64_P.

21 years ago * config/obj-elf.c (special_sections): Use correct types for init
Alan Modra [Tue, 22 Oct 2002 10:56:45 +0000 (10:56 +0000)]
* config/obj-elf.c (special_sections): Use correct types for init
array sections.
(obj_elf_change_section): Don't mess with init array section type.

21 years agodaily update
Alan Modra [Tue, 22 Oct 2002 00:01:04 +0000 (00:01 +0000)]
daily update

21 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
Richard Sandiford [Mon, 21 Oct 2002 14:59:30 +0000 (14:59 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): Return true
for relocs against symbols in a merged section.

testsuite/
* gas/mips/elf-rel7.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago * targets.c (_bfd_target_vector): Add missing qnx vectors.
Alan Modra [Mon, 21 Oct 2002 11:01:00 +0000 (11:01 +0000)]
* targets.c (_bfd_target_vector): Add missing qnx vectors.

21 years ago * targets.c (bfd_target_list): Don't return the default target twice.
Alan Modra [Mon, 21 Oct 2002 10:58:42 +0000 (10:58 +0000)]
* targets.c (bfd_target_list): Don't return the default target twice.

21 years agoDiscontinue Hans-Peter Nilsson as SH maintainer.
Nick Clifton [Mon, 21 Oct 2002 07:56:36 +0000 (07:56 +0000)]
Discontinue Hans-Peter Nilsson as SH maintainer.

21 years ago * objdump.c (dump_data): Correct addr_offset for opb != 1.
Alan Modra [Mon, 21 Oct 2002 02:18:58 +0000 (02:18 +0000)]
* objdump.c (dump_data): Correct addr_offset for opb != 1.

21 years ago * archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
Alan Modra [Mon, 21 Oct 2002 01:58:48 +0000 (01:58 +0000)]
* archive.c (_bfd_archive_bsd_update_armap_timestamp): Replace
perror with bfd_perror.

21 years agodaily update
Alan Modra [Mon, 21 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Sun, 20 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2002-10-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 19 Oct 2002 17:13:58 +0000 (17:13 +0000)]
2002-10-19  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Correctly handle
DT_RPATH and DT_RUNPATH.
:VS: ----------------------------------------------------------------------

21 years ago* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.
Mark Kettenis [Sat, 19 Oct 2002 13:52:58 +0000 (13:52 +0000)]
* elf.c (elfcore_grok_note): Fix recognition on NT_PRXFPREG notes.

21 years ago* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
Alexandre Oliva [Sat, 19 Oct 2002 00:37:50 +0000 (00:37 +0000)]
* config/tc-mips.c (md_begin): Add $fcc registers to the symbol
table as register names.

21 years agodaily update
Alan Modra [Sat, 19 Oct 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
Martin Schwidefsky [Fri, 18 Oct 2002 07:30:06 +0000 (07:30 +0000)]
* config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
for option -m31.

21 years ago * expr.c (operand): Add support for n.nn flonums.
Alan Modra [Fri, 18 Oct 2002 01:56:39 +0000 (01:56 +0000)]
* expr.c (operand): Add support for n.nn flonums.

21 years agodaily update
Alan Modra [Fri, 18 Oct 2002 00:09:45 +0000 (00:09 +0000)]
daily update

21 years ago* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
Alexandre Oliva [Thu, 17 Oct 2002 21:54:44 +0000 (21:54 +0000)]
* emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
(GENERATE_SHLIB_SCRIPT): Set to yes.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
* emulparams/elf32bmipn32.sh: here.
(GENERATE_SHLIB_SCRIPT): Deleted as redundant.
* emulparams/elf32btsmipn32.sh: Delete redundant unsets.
* emulparams/elf64bmip-defs.sh: New file.  Extend
elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
* emulparams/elf64bmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
settings.
(WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
* emulparams/elf64btsmip.sh: Bring in definitions from
elf64bmip-defs.sh.
(ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
(EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.

21 years ago * elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
Denis Chertykov [Thu, 17 Oct 2002 18:27:01 +0000 (18:27 +0000)]
* elf32-ip2k.c (ELF_MACHINE_ALT1): Define alternate machine code
for ip2k port.

21 years ago * elfxx-target.h (USE_REL): Don't define as 1.
Alan Modra [Thu, 17 Oct 2002 02:59:15 +0000 (02:59 +0000)]
* elfxx-target.h (USE_REL): Don't define as 1.
* elf32-arm.h (USE_REL): Provide a default define of 0.
Use #if rather than #ifdef when testing USE_REL.
* elf32-m32r.c: Likewise.

* elf32-arc.c (USE_REL): Define as 1.
* elf32-d10v.c (USE_REL): Likewise.
* elf32-m32r.c (USE_REL): Likewise.
* elf32-m68hc11.c (USE_REL): Likewise.
* elf32-m68hc12.c (USE_REL): Likewise.
* elf32-or32.c (USE_REL): Likewise.
* elfarm-nabi.c (USE_REL): Likewise.

21 years ago * itbl-parse.y (entry): Provide empty action.
Alan Modra [Thu, 17 Oct 2002 01:29:36 +0000 (01:29 +0000)]
* itbl-parse.y (entry): Provide empty action.

21 years agodaily update
Alan Modra [Thu, 17 Oct 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * config.bfd (s390-*-linux*): Add targ64_selvecs.
Jakub Jelinek [Wed, 16 Oct 2002 19:54:54 +0000 (19:54 +0000)]
* config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs.

* config.table: Use mh-s390pic for s390x too.

* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
(s390-*-linux*): Add elf64_s390 emulation if want64.
* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
genscript.sh changes.
* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.

21 years agomerge from gcc
DJ Delorie [Wed, 16 Oct 2002 13:47:35 +0000 (13:47 +0000)]
merge from gcc

21 years ago * configure.in (BFDVER_H): Set and subst.
Alan Modra [Wed, 16 Oct 2002 13:27:04 +0000 (13:27 +0000)]
* configure.in (BFDVER_H): Set and subst.
* dep-in.sed: Replace bfdver.h with $(BFDVER_H).
* Makefile.am: Run "make dep-am".
(BFDVER_H): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

21 years ago * Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
Alan Modra [Wed, 16 Oct 2002 08:39:38 +0000 (08:39 +0000)]
* Makefile.am (BFD32_BACKENDS): Remove elfarmqnx-nabi.lo,
elf32-i386-fbsd.lo, elf32-i386qnx.lo, elf32-ppcqnx.lo,
elf32-sh-lin.lo, elf32-sh64-lin.lo, elf32-sh-nbsd.lo,
elf32-sh64-nbsd.lo, elf32-shqnx.lo.  Add elf32-qnx.lo.
(BFD32_BACKENDS_CFILES): Likewise for corresponding C files.
(BFD64_BACKENDS): Remove elf64-sh64-lin.lo, elf64-sh64-nbsd.lo.
(BFD64_BACKENDS_CFILES): Likewise for corresponding C files.
(SOURCE_HFILES): Add elf32-qnx.h.
(BUILD_HFILES): Add bfdver.h.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in Update bfd vector dependencies.
* configure: Regenerate.
* elf32-i386-fbsd.c: Delete.  Move code to elf32-i386.c.
* elf32-i386qnx.c: Likewise.
* elf32-ppcqnx.c: Delete.  Move code to elf32-ppc.c.
* elf32-sh-nbsd.c: Delete.  Move code to elf32-sh.c.
* elf32-sh-lin.c: Likewise.
* elf32-shqnx.c: Likewise.
* elf32-sh64-lin.c: Delete.  Move code to elf32-sh64.c.
* elf32-sh64-nbsd.c: Likewise.
* elf64-sh64-lin.c: Delete.  Move code to elf64-sh64.c.
* elf64-sh64-nbsd.c: Likewise.
* elfarmqnx-nabi.c: Delete.  Move code to elfarm-nabi.c.
* elf32-arm.h (ELF_MAXPAGESIZE): Always define.
* elf32-i386.c: Remove ELF_ARCH and ELF32_I386_C_INCLUDED tests.
* elf32-ppc.c: Remove ELF32_PPC_C_INCLUDED tests.
* elf32-qnx.h (elf_backend_set_nonloadable_filepos): Always define.
(elf_backend_is_contained_by_filepos): Likewise.
(elf_backend_copy_private_bfd_data_p): Likewise.
Globalize and move functions to..
* elf32-qnx.c: ..here.  New file.
* elf32-sh.c: Remove ELF_ARCH and ELF32_SH_C_INCLUDED tests.  Don't
emit target vectors when INCLUDE_SHMEDIA.
* elf32-sh64.c: Remove ELF_ARCH test.  Move TARGET_* etc. defines to
end of file.
* elf64-sh64.c: Remove ELF_ARCH test.
* elfarm-nabi.c: Remove ELFARM_NABI_C_INCLUDED test.
* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
Alan Modra [Wed, 16 Oct 2002 00:57:39 +0000 (00:57 +0000)]
* elflink.h (elf_link_add_object_symbols): Error out on dynamic objects
loaded with --just-symbols.

21 years ago * elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
Alan Modra [Wed, 16 Oct 2002 00:56:41 +0000 (00:56 +0000)]
* elf32-i386qnx.c (TARGET_LITTLE_NAME): Define.
* elf32-ppcqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elf32-shqnx.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.
* elfarmqnx-nabi.c (TARGET_LITTLE_NAME, TARGET_BIG_NAME): Define.

21 years agodaily update
Alan Modra [Wed, 16 Oct 2002 00:00:03 +0000 (00:00 +0000)]
daily update

21 years ago * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
Richard Henderson [Tue, 15 Oct 2002 17:14:51 +0000 (17:14 +0000)]
    * Makefile.am (BFD64_BACKENDS): Remove elf64-alpha-fbsd.
        (BFD64_BACKENDS_CFILES): Likewise.
        * configure.in (bfd_elf64_alpha_freebsd_vec): Use elf64-alpha.
        * elf64-alpha-fbsd.c: Remove file, move code ...
        * elf64-alpha.c: ... here.
        * Makefile.in, configure: Rebuild.

21 years ago * bucomm.c (list_supported_targets): Use bfd_target_list.
Alan Modra [Tue, 15 Oct 2002 11:34:01 +0000 (11:34 +0000)]
* bucomm.c (list_supported_targets): Use bfd_target_list.

21 years ago * objcopy.c (copy_file): Report ambiguous bfd_object matches, and
Alan Modra [Tue, 15 Oct 2002 05:10:48 +0000 (05:10 +0000)]
* objcopy.c (copy_file): Report ambiguous bfd_object matches, and
other object errors in preference to bfd_core errors.