OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 03:51:54 +0000 (03:51 +0000)]
merge from gcc

21 years ago* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
Alexandre Oliva [Wed, 16 Apr 2003 00:30:24 +0000 (00:30 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.

21 years agodaily update
Alan Modra [Wed, 16 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 21:36:21 +0000 (21:36 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 20:15:47 +0000 (20:15 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 15:27:20 +0000 (15:27 +0000)]
merge from gcc

21 years ago2003-04-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 15 Apr 2003 14:56:06 +0000 (14:56 +0000)]
2003-04-15  H.J. Lu <hjl@gnu.org>

* ld-elfcom/elfcom.exp: Fix a typo.

21 years ago2003-04-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 15 Apr 2003 14:50:29 +0000 (14:50 +0000)]
2003-04-15  H.J. Lu <hjl@gnu.org>

From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:

* ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.

21 years agoIf a section holds uninitialized data and is from an object file or from an
Nick Clifton [Tue, 15 Apr 2003 14:26:06 +0000 (14:26 +0000)]
If a section holds uninitialized data and is from an object file or from an
executable image that has not initialized the s_size field, or if the physical
size is padded, use the virtual size (stored in s_paddr) instead.

21 years agoProperly report filename for alignment reduction.
Nick Clifton [Tue, 15 Apr 2003 09:38:11 +0000 (09:38 +0000)]
Properly report filename for alignment reduction.
Add test for alignment reduction.

21 years agoReplace occurrances of 'Hitachi' with 'Renesas'.
Nick Clifton [Tue, 15 Apr 2003 08:51:55 +0000 (08:51 +0000)]
Replace occurrances of 'Hitachi' with 'Renesas'.

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 03:53:53 +0000 (03:53 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Tue, 15 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Mon, 14 Apr 2003 18:27:58 +0000 (18:27 +0000)]
merge from gcc

21 years ago * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
Alan Modra [Mon, 14 Apr 2003 13:03:17 +0000 (13:03 +0000)]
* scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
other variants of crtbegin.o, crtend.o.
(DTOR): Likewise.
* scripttempl/crisaout.sc (ctors, dtors): Likewise.
* scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
* scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
* scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
* scripttempl/mmo.sc (ctors, dtors): Likewise.
* scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.

21 years agoMaintain maximum alignment for common symbols. Warn reducing alignment for
Nick Clifton [Mon, 14 Apr 2003 11:06:25 +0000 (11:06 +0000)]
Maintain maximum alignment for common symbols. Warn reducing alignment for
common symbols. Report old filename when symbol size changes.

21 years agodaily update
Alan Modra [Mon, 14 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sun, 13 Apr 2003 16:50:31 +0000 (16:50 +0000)]
2003-04-07  Michael Snyder  <msnyder@redhat.com>

* h8300.h (ldc/stc): Fix up src/dst swaps.

21 years ago * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s,
Daniel Jacobowitz [Sun, 13 Apr 2003 14:42:22 +0000 (14:42 +0000)]
* ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s,
ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it
for error messages.

21 years agodaily update
Alan Modra [Sun, 13 Apr 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
Alexandre Oliva [Sat, 12 Apr 2003 08:50:28 +0000 (08:50 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
occurrences of the same test changed in the previous patch.
Optimize.

21 years ago* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
Alexandre Oliva [Sat, 12 Apr 2003 00:31:42 +0000 (00:31 +0000)]
* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
(mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to
GOT_DISP/addend only if the symbol got a global GOT entry.

21 years agodaily update
Alan Modra [Sat, 12 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
Alexandre Oliva [Fri, 11 Apr 2003 03:58:39 +0000 (03:58 +0000)]
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
* */configure: Rebuilt.

21 years ago* gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,
Alexandre Oliva [Fri, 11 Apr 2003 01:56:51 +0000 (01:56 +0000)]
* gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,
gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s,
gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New.
* gas/mips/mips.exp: Test them.

21 years ago* ld-mips-elf/elf-rel-got-n32.d,
Alexandre Oliva [Fri, 11 Apr 2003 01:56:49 +0000 (01:56 +0000)]
* ld-mips-elf/elf-rel-got-n32.d,
ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d,
ld-mips-elf/elf-rel-xgot-n64.d: New.
* ld-mips-elf/mips-elf.exp (hasn32): Define as condition for
new tests to run.

21 years ago* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
Alexandre Oliva [Fri, 11 Apr 2003 01:56:49 +0000 (01:56 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
* config/tc-mips.c: Use signed add for n32 address arithmetic.
(append_insn): When filling delay slots with instructions
that have fixups that tc_gen_reloc might consider modifyable
in variant frags, start a new frag.
(load_address): Generate GOT_DISP with of without offset
depending on whether symbol is local.  For -xgot, use
GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
(macro) <M_DLA_AB, M_LA_AB>: Likewise.
<M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
<ld_st>: In NewABI with small got, always use
GOT_PAGE/GOT_OFST, with the latter in the load/store
instruction.  With big got, use GOT_HI16/GOT_LO16 or
GOT_PAGE/GOT_OFST.
(tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
Add tc_frag_data.tc_fr_offset to addends.  Decay CALL16,
GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
(md_convert_frag): Use memmove for safe copying of overlapping
regions.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Decay
Alexandre Oliva [Fri, 11 Apr 2003 01:56:49 +0000 (01:56 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Decay
GOT_PAGE/GOT_OFST referencing overridable symbol to
GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing
global symbol as GOT_DISP.

21 years agodaily update
Alan Modra [Fri, 11 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
Bob Wilson [Thu, 10 Apr 2003 19:19:02 +0000 (19:19 +0000)]
    * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
        next relocation on an undefined symbol.

21 years agodaily update
Alan Modra [Thu, 10 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
Stephane Carrez [Wed, 9 Apr 2003 21:48:39 +0000 (21:48 +0000)]
* doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
-mlong, -mshort-double and -mlong-double options; use table @code.
(M68HC11-Syntax): Update to document 68HC12 operands.
(M68HC11-Modifiers): New section for operand modifiers.
(M68HC11-Directives): New section for specific assembler directives.
(M68HC11-Branch): Fix Overfull hbox error.

21 years ago * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Richard Henderson [Wed, 9 Apr 2003 20:08:14 +0000 (20:08 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
        Ignore relocations against r_symndx == 0.

21 years ago2003-04-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 9 Apr 2003 16:19:52 +0000 (16:19 +0000)]
2003-04-09  H.J. Lu <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.

21 years agoAdd initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
Nick Clifton [Wed, 9 Apr 2003 11:07:51 +0000 (11:07 +0000)]
Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.
Add ctors/dtors start/stop definitions.

21 years ago* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
Alexandre Oliva [Wed, 9 Apr 2003 09:56:17 +0000 (09:56 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.

21 years ago* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
Alexandre Oliva [Wed, 9 Apr 2003 09:55:13 +0000 (09:55 +0000)]
* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -w
for debugging information types not supported by objdump.

21 years ago * configure.in: Recognize canonical form of i[3-6]86-pe*.
Alan Modra [Wed, 9 Apr 2003 05:14:35 +0000 (05:14 +0000)]
* configure.in: Recognize canonical form of i[3-6]86-pe*.
* configure: Regenerate.

21 years ago* readelf.c (display_debug_info): Apply RELA relocations on the
Alexandre Oliva [Wed, 9 Apr 2003 04:07:56 +0000 (04:07 +0000)]
* readelf.c (display_debug_info): Apply RELA relocations on the
entire section.
(byte_put_little_endian, byte_put_big_endian): New functions.
(byte_put): New variable.
(get_file_header): Initialize it.

21 years ago* config/tc-mips.c (macro): Add comments explaining the rationale
Alexandre Oliva [Wed, 9 Apr 2003 03:09:12 +0000 (03:09 +0000)]
* config/tc-mips.c (macro): Add comments explaining the rationale
for Chris' change.

21 years ago* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
Alexandre Oliva [Wed, 9 Apr 2003 03:07:48 +0000 (03:07 +0000)]
* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
constant address that Alexandre took out by accident.  Reject
64-bit addresses that are not sign extensions of 32 bits only if
we don't support 64-bit address constants.

21 years ago* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
Alexandre Oliva [Wed, 9 Apr 2003 02:55:40 +0000 (02:55 +0000)]
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
pointer size from ABI, not arch_bits_per_address.

21 years ago * mips.h: Correct comment typo.
Alan Modra [Wed, 9 Apr 2003 00:12:24 +0000 (00:12 +0000)]
* mips.h: Correct comment typo.

21 years agodaily update
Alan Modra [Wed, 9 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
Alan Modra [Tue, 8 Apr 2003 23:01:47 +0000 (23:01 +0000)]
* config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.

21 years ago* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
Nick Clifton [Tue, 8 Apr 2003 12:47:08 +0000 (12:47 +0000)]
* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
* cgen.c (gas_cgen_begin): New function.  If flag_signed_overflow_ok is set
call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok.
* cgen.h: Prototype gas_cgen_begin.
* testsuite/gas/m32r/m32r.exp: Run signed-relocs test.
* testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs.
* testsuite/gas/m32r/signed-relocs.d: New file: Expected results

21 years ago* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
Nick Clifton [Tue, 8 Apr 2003 09:50:07 +0000 (09:50 +0000)]
* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
* ia64-asmtab.c: Regenerate.
* gas/ia64/dependency-1.s: New file: Test read before write dependency.
* gas/ia64/dependency-1.d: New file: Expected assembly results.
* gas/ia64/ia64.exp: Run the new test.

21 years ago* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.
Alexandre Oliva [Tue, 8 Apr 2003 07:14:47 +0000 (07:14 +0000)]
* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.

21 years ago* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.
Alexandre Oliva [Tue, 8 Apr 2003 00:39:16 +0000 (00:39 +0000)]
* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.

21 years agodaily update
Alan Modra [Tue, 8 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
Kevin Buettner [Mon, 7 Apr 2003 20:08:10 +0000 (20:08 +0000)]
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
constants for n32 ABI.

21 years ago * write.c (write_relocs): Remove unused variable.
Thiemo Seufer [Mon, 7 Apr 2003 03:54:00 +0000 (03:54 +0000)]
* write.c (write_relocs): Remove unused variable.

21 years agodaily update
Alan Modra [Mon, 7 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoAdd notes about the target specific nature of i386 PE command line options.
Nick Clifton [Sun, 6 Apr 2003 09:38:11 +0000 (09:38 +0000)]
Add notes about the target specific nature of i386 PE command line options.

21 years ago(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
Nick Clifton [Sun, 6 Apr 2003 08:15:58 +0000 (08:15 +0000)]
(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
vs BFD memory corruption.

21 years ago* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
Alexandre Oliva [Sun, 6 Apr 2003 03:16:20 +0000 (03:16 +0000)]
* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
(macro): Use new macro to decide whether to emit constant address
as 32 or 64 bits if addresses are 32-bit wide but registers are
64-bit wide.

21 years agodaily update
Alan Modra [Sun, 6 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * gas/m68hc11/bug-1825.d (_table): Update.
Stephane Carrez [Sat, 5 Apr 2003 13:09:36 +0000 (13:09 +0000)]
* gas/m68hc11/bug-1825.d (_table): Update.
* gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs

21 years ago * gas/m68hc11/insns.s: Add %page and %addr checks.
Stephane Carrez [Sat, 5 Apr 2003 12:54:00 +0000 (12:54 +0000)]
* gas/m68hc11/insns.s: Add %page and %addr checks.
* gas/m68hc11/insns12.s: Likewise.
* gas/m68hc11/insns-dwarf2.d: Update.
* gas/m68hc11/insns.d: Update.

21 years ago * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
Stephane Carrez [Sat, 5 Apr 2003 12:43:45 +0000 (12:43 +0000)]
* config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
(M6811_OP_PAGE_ADDR): New internal define.
(get_operand): New modifier %page and %addr to obtain page and
address part of a far-function.
(fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
relocs.
(fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
(find_opcode): Add comment.
(md_estimate_size_before_relax): Force relocation of
STATE_UNDEXED_OFFSET types when the symbol is not absolute.
(tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
on the symbol itself so that DWARF2 strings are merged correctly.

21 years agoAdd -l for compatibility with wrc, and rc. Use the short option as a key for
Nick Clifton [Sat, 5 Apr 2003 08:21:47 +0000 (08:21 +0000)]
Add -l for compatibility with wrc, and rc.  Use the short option as a key for
long options that have a synonymous short option.

21 years agodaily update
Alan Modra [Sat, 5 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax.
Stephane Carrez [Fri, 4 Apr 2003 21:17:59 +0000 (21:17 +0000)]
* ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax.

21 years ago * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
Stephane Carrez [Fri, 4 Apr 2003 21:17:06 +0000 (21:17 +0000)]
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
symbols that mark the end of the section.
(m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
converting to a relative branch so that the offset is computed after
the relaxation; also relocate a jsr into a bsr if possible but don't
relax them if they are to a far symbol as we need to call the
trampoline code.
(elf_m68hc11_howto_table): Set pcrel_offset to true.

21 years ago2003-04-04 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Fri, 4 Apr 2003 17:35:44 +0000 (17:35 +0000)]
2003-04-04  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips5.d: New test.
        * gas/mips/mips5.l: New test stderr listing.
        * gas/mips/mips5.s: New test source file.
        * gas/mips/mips.exp: Run the mips5 test.

21 years agoFixed wrong entry in the ld/configure.tgt list
Svein Seldal [Fri, 4 Apr 2003 14:13:16 +0000 (14:13 +0000)]
Fixed wrong entry in the ld/configure.tgt list

21 years agoNamespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003...
Svein Seldal [Fri, 4 Apr 2003 08:15:15 +0000 (08:15 +0000)]
Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update

21 years agodaily update
Alan Modra [Fri, 4 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years agoAdd -U for compatibility with wrc, rc, and cpp. Just pass the -U option down
Nick Clifton [Thu, 3 Apr 2003 13:40:51 +0000 (13:40 +0000)]
Add -U for compatibility with wrc, rc, and cpp.  Just pass the -U option down
to the preprocessor.

21 years ago(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
Nick Clifton [Thu, 3 Apr 2003 11:13:27 +0000 (11:13 +0000)]
(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
  executables.
(coff_swap_scnhdr_in): Only set the s_size field for object files or for
  executables who have not already initialised the field.
(bfd_pe_executable_p): New macro.  Return true if the PE format bfd is an
  executable.

21 years agoReplace "Static" with "classname" so that results match the behaviour of the
Nick Clifton [Thu, 3 Apr 2003 10:48:16 +0000 (10:48 +0000)]
Replace "Static" with "classname" so that results match the behaviour of the
Windows' resource compiler.

21 years agoMention support for Xtensa architecture
Nick Clifton [Thu, 3 Apr 2003 07:37:41 +0000 (07:37 +0000)]
Mention support for Xtensa architecture

21 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.
Alan Modra [Thu, 3 Apr 2003 04:02:02 +0000 (04:02 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
Alan Modra [Thu, 3 Apr 2003 02:54:52 +0000 (02:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.

21 years ago2003-04-03 Philip Blundell <philb@gnu.org>
Phil Blundell [Thu, 3 Apr 2003 00:25:02 +0000 (00:25 +0000)]
2003-04-03  Philip Blundell  <philb@gnu.org>

* gas/arm/offset.s: New test.
* gas/arm/arm.exp (run_errors_test): Run it.

21 years agodaily update
Alan Modra [Thu, 3 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-02 Philip Blundell <philb@gnu.org>
Phil Blundell [Wed, 2 Apr 2003 23:31:25 +0000 (23:31 +0000)]
2003-04-02  Philip Blundell  <philb@gnu.org>

* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.

21 years ago[ gas/ChangeLog ]
Chris Demetriou [Wed, 2 Apr 2003 18:43:16 +0000 (18:43 +0000)]
[ gas/ChangeLog ]
2003-04-02  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (macro2): Adjust implementation of
        M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
        in the case where the source and destination registers
        are the same.

[ gas/testsuite/ChangeLog ]
2003-04-02  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes.

        * gas/mips/mips.exp: Define new "gpr_ilocks" architecture
        property, and add it to mips2 (and later) chips and r3900.
        * gas/mips/uld2.s: New test source file.
        * gas/mips/ulh2.s: Likewise.
        * gas/mips/ulw2.s: Likewise.
        * gas/mips/uld2.l: New test stderr listing.
        * gas/mips/ulh2.l: Likewise.
        * gas/mips/ulw2.l: Likewise.
        * gas/mips/uld2-eb.d: New test.
        * gas/mips/uld2-el.d: Likewise.
        * gas/mips/ulh2-eb.d: Likewise.
        * gas/mips/ulh2-el.d: Likewise.
        * gas/mips/ulw2-eb-ilocks.d: Likewise.
        * gas/mips/ulw2-eb.d: Likewise.
        * gas/mips/ulw2-el-ilocks.d: Likewise.
        * gas/mips/ulw2-el.d: Likewise.
        * gas/mips/mips.exp: Run new tests for appropriate architectures.

21 years ago * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
Bob Wilson [Wed, 2 Apr 2003 18:00:34 +0000 (18:00 +0000)]
* ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.
* ld-xtensa/lcall.exp: Likewise.

21 years agope-dll.c (pe_detail_list): arm-pe targets use underscores.
Nick Clifton [Wed, 2 Apr 2003 17:39:24 +0000 (17:39 +0000)]
pe-dll.c (pe_detail_list): arm-pe targets use underscores.
(process_def_file): Don't create an export section if there are no exports and
  we're building an exe.
(pe_dll_build_sections): Ditto
(pe_dll_fill_sections): Conditionalize setting abfd->dll true on info->shared

emultempl/pe.em (gld_${EMULATION_NAME}_after_open): If i386pe or armpe, call
  pe_dll_build_section() for both exe's and dll's, not just dll's.  Don't call
  pe_dll_build_section() if link_info.relocateable.
(gld_${EMULATION_NAME}_finish): For all targets except shpe and mipspe, call
  pe_dll_fill_sections() for both exe's and dll's, not just dll's.  Don't call
  pe_dll_fill_sections() if link_info.relocateable.

21 years ago * emulparams/xtensa-config.sh: Remove comment indicating that this is
Bob Wilson [Wed, 2 Apr 2003 16:56:56 +0000 (16:56 +0000)]
    * emulparams/xtensa-config.sh: Remove comment indicating that this is
        a generated file.

21 years ago * xtensa-config.h: Remove comment indicating that this is a
Bob Wilson [Wed, 2 Apr 2003 16:55:26 +0000 (16:55 +0000)]
* xtensa-config.h: Remove comment indicating that this is a
generated file.

21 years ago * xtensa-modules.c: Remove comment indicating that this is a
Bob Wilson [Wed, 2 Apr 2003 16:53:44 +0000 (16:53 +0000)]
* xtensa-modules.c: Remove comment indicating that this is a
generated file.

21 years agodaily update
Alan Modra [Wed, 2 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
Alan Modra [Tue, 1 Apr 2003 23:44:45 +0000 (23:44 +0000)]
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.

21 years ago* windres.c (usage): Report -r option.
Christopher Faylor [Tue, 1 Apr 2003 23:09:29 +0000 (23:09 +0000)]
* windres.c (usage): Report -r option.
(main): Ignore the -r option.
* doc/binutils.texi: Add -r to the list of options.

21 years ago * MAINTAINERS: Add myself as Xtensa maintainer.
Bob Wilson [Tue, 1 Apr 2003 19:14:27 +0000 (19:14 +0000)]
    * MAINTAINERS: Add myself as Xtensa maintainer.

21 years agoAdd Xtensa port (omitted from previous delta)
Nick Clifton [Tue, 1 Apr 2003 15:53:47 +0000 (15:53 +0000)]
Add Xtensa port (omitted from previous delta)

21 years agoAdd Xtensa port
Nick Clifton [Tue, 1 Apr 2003 15:50:31 +0000 (15:50 +0000)]
Add Xtensa port

21 years ago * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
Jakub Jelinek [Tue, 1 Apr 2003 14:08:00 +0000 (14:08 +0000)]
* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
if --enable-64-bit-bfd.

21 years agofix spelling typo
Nick Clifton [Tue, 1 Apr 2003 13:10:07 +0000 (13:10 +0000)]
fix spelling typo

21 years agoFixes for iWMMXt contribution.
Nick Clifton [Tue, 1 Apr 2003 13:08:06 +0000 (13:08 +0000)]
Fixes for iWMMXt contribution.

21 years agoChange "arm-pe*" to "arm-*-pe*". Similarly for thumb-pe*, mcore-pe and
Nick Clifton [Tue, 1 Apr 2003 10:52:43 +0000 (10:52 +0000)]
Change "arm-pe*" to "arm-*-pe*".  Similarly for thumb-pe*, mcore-pe and
mcore-*elf.

21 years ago * dwarf2.c (read_attribute_value): Correct typo in comment.
Ben Elliston [Tue, 1 Apr 2003 10:49:02 +0000 (10:49 +0000)]
* dwarf2.c (read_attribute_value): Correct typo in comment.

21 years agoMake add_line_info() take a copy of the filename.
Nick Clifton [Tue, 1 Apr 2003 10:31:34 +0000 (10:31 +0000)]
Make add_line_info() take a copy of the filename.

21 years agoRemove use of concat() inside concat_filename()
Nick Clifton [Tue, 1 Apr 2003 10:18:54 +0000 (10:18 +0000)]
Remove use of concat() inside concat_filename()

21 years ago* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
Alexandre Oliva [Tue, 1 Apr 2003 00:34:04 +0000 (00:34 +0000)]
* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
--section-start.

21 years ago* objdump.c (dump_data): Don't truncate the address to long; make
Alexandre Oliva [Tue, 1 Apr 2003 00:32:47 +0000 (00:32 +0000)]
* objdump.c (dump_data): Don't truncate the address to long; make
the width large enough, and uniform for all entries in a section.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Add
Daniel Jacobowitz [Tue, 1 Apr 2003 00:12:12 +0000 (00:12 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Add
parameter symbol_table.  Optionally use it instead of the symbol
table from the bfd.  Save and restore output offsets and output
sections  around bfd_get_relocated_section_contents.  Fix a memory
leak.
(simple_save_output_info, simple_restore_output_info): New
functions.
* bfd-in2.h: Regenerate.
* dwarf2.c (read_abbrevs): Use
bfd_simple_get_relocated_section_contents instead of
bfd_get_section_contents.
(decode_line_info): Likewise.
(_bfd_dwarf2_find_nearest_line): Likewise.  Don't call
find_rela_addend.
(find_rela_addend): Remove.
* elfxx-ia64.c (elfNN_ia64_reloc): Weaken sanity check for
debugging sections.
(elfNN_ia64_hash_table_create): Create the hash table with malloc,
not bfd_zalloc.

21 years agodaily update
Alan Modra [Tue, 1 Apr 2003 00:00:17 +0000 (00:00 +0000)]
daily update