OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agoMore checks for valid labels
Nick Clifton [Wed, 23 Apr 2003 17:51:42 +0000 (17:51 +0000)]
More checks for valid labels

21 years agoFix "readelf -wi" test
Nick Clifton [Wed, 23 Apr 2003 17:36:08 +0000 (17:36 +0000)]
Fix "readelf -wi" test

21 years agoCheck in the new files.
H.J. Lu [Wed, 23 Apr 2003 16:40:04 +0000 (16:40 +0000)]
Check in the new files.

21 years ago2003-04-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Apr 2003 16:34:39 +0000 (16:34 +0000)]
2003-04-23  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty
files.
(objdump_versionstuff): Likewise.
Add tests vers25a, vers25b1 and vers25b2 for versioned
definition vs. normal definition in different files.

* ld-elfvers/vers25a.c: New file.
* ld-elfvers/vers25a.dsym: Likewise.
* ld-elfvers/vers25a.map: Likewise.
* ld-elfvers/vers25a.ver: Likewise.

* ld-elfvers/vers25b.c: New empty file.
* ld-elfvers/vers25b.dsym: Likewise.
* ld-elfvers/vers25b.ver: Likewise.

21 years agoAccept -fo as an alias for -o
Nick Clifton [Wed, 23 Apr 2003 09:00:22 +0000 (09:00 +0000)]
Accept -fo as an alias for -o

21 years ago * elf32-i386.c (elf_i386_info_to_howto): Delete.
Alan Modra [Wed, 23 Apr 2003 05:21:29 +0000 (05:21 +0000)]
* elf32-i386.c (elf_i386_info_to_howto): Delete.
(elf_info_to_howto): Define as elf_i386_info_to_howto_rel.

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

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

21 years ago * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
Doug Evans [Tue, 22 Apr 2003 18:50:55 +0000 (18:50 +0000)]
* fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
* frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate.
* ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate.
* m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate.
* m32r-opinst.c: Regenerate.
* openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate.
* xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate.

21 years ago2003-04-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Apr 2003 17:46:51 +0000 (17:46 +0000)]
2003-04-22  H.J. Lu <hjl@gnu.org>

* app.c (do_scrub_chars): Check for valid label.

21 years agoRename -I to -J. Deprecate old use of -I, but leave it enabled for now.
Nick Clifton [Tue, 22 Apr 2003 17:31:08 +0000 (17:31 +0000)]
Rename -I to -J.   Deprecate old use of -I, but leave it enabled for now.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
Nick Clifton [Tue, 22 Apr 2003 16:22:26 +0000 (16:22 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

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

* ld-elfcomm/elfcomm.exp: Support 64bit targets.

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

21 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
Richard Henderson [Mon, 21 Apr 2003 22:17:12 +0000 (22:17 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
        executable when a symbol is defined both regular and dynamic.

21 years ago * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
Richard Henderson [Mon, 21 Apr 2003 18:23:25 +0000 (18:23 +0000)]
    * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
        (out_file_list): Assign non-null filename after generating error.

21 years ago * ld-m68hc11/far-hc11.s: New file.
Stephane Carrez [Mon, 21 Apr 2003 13:30:14 +0000 (13:30 +0000)]
* ld-m68hc11/far-hc11.s: New file.
* ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation.
* ld-m68hc11/far-hc12.s: New file.
* ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation.
* ld-m68hc11/far-hc12.ld: New file.

21 years ago * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
Stephane Carrez [Mon, 21 Apr 2003 13:29:05 +0000 (13:29 +0000)]
* emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
* emulparams/m68hc11elfb.sh: Likewise.
* emulparams/m68hc12elf.sh: Likewise.
* emulparams/m68hc12elfb.sh: Likewise.

21 years ago * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
Stephane Carrez [Mon, 21 Apr 2003 13:24:19 +0000 (13:24 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
(elf32-m68hc1x.lo): Update dependencies
* configure.in: Add elf32-m68hc1x.lo.
* configure: Rebuild.
* Makefile.in: Rebuild.

21 years ago * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
Stephane Carrez [Mon, 21 Apr 2003 13:22:14 +0000 (13:22 +0000)]
* elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
(m68hc11_elf_hash_table_create): New function.
(elf32_m68hc11_link_hash_table_free): New function.
(stub_hash_newfunc): New function.
(m68hc11_add_stub): New function.
(elf32_m68hc11_add_symbol_hook): New function.
(elf32_m68hc11_setup_section_lists): New function.
(elf32_m68hc11_next_input_section): New function.
(elf32_m68hc11_size_stubs): New function.
(elf32_m68hc11_build_stubs): New function.
(m68hc11_get_relocation_value): New function.
(elf32_m68hc11_relocate_section): Call the above to redirect
some relocations to the trampoline code.
(m68hc11_elf_export_one_stub): New function.
(m68hc11_elf_set_symbol): New function.
(elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse.
(m68hc11_elf_get_bank_parameters): Get parameters only when the info
is not yet initialized.

* elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
(elf32_m68hc11_stub_hash_entry): New struct.
(m68hc11_page_info): Add trampoline handler address.
(m68hc11_elf_link_hash_table): Add stubs generation members.
(elf32_m68hc11_add_symbol_hook): Declare.
(elf32_m68hc11_setup_section_lists): Declare.
(elf32_m68hc11_size_stubs): Declare.
(elf32_m68hc11_build_stubs): Declare.

* elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c.
(elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise.
(elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto.
(_bfd_m68hc11_elf_set_private_flags): Ditto.
(_bfd_m68hc11_elf_merge_private_bfd_data): Ditto.
(_bfd_m68hc11_elf_print_private_bfd_data): Ditto.
(bfd_elf32_bfd_link_hash_table_create): Define.
(elf_backend_add_symbol_hook): Define.
(m68hc11_elf_bfd_link_hash_table_create): New function.
(m68hc11_elf_build_one_stub): New function.
(m68hc11_elf_size_one_stub): New function.
(m68hc11_elf_bfd_link_hash_table_create): Install the above.
(bfd_elf32_bfd_link_hash_table_create): Define.

* elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove.
(m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked.
(m68hc12_phys_addr): Ditto.
(m68hc12_phys_page): Ditto.
(m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c.
(elf32_m68hc11_gc_mark_hook): Likewise.
(elf32_m68hc11_gc_sweep_hook): Likewise.
(elf32_m68hc11_check_relocs): Likewise.
(elf32_m68hc11_relocate_section): Likewise.
(_bfd_m68hc12_elf_set_private_flags): Likewise.
(_bfd_m68hc12_elf_merge_private_bfd_data): Likewise.
(_bfd_m68hc12_elf_print_private_bfd_data): Likewise.
(m68hc12_elf_build_one_stub): New function.
(m68hc12_elf_size_one_stub): New function.
(m68hc12_elf_bfd_link_hash_table_create): New function, use the above.
(elf_backend_add_symbol_hook): Define.
(elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks.

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

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

21 years ago * emultempl/m68hc1xelf.em: New file to generate far trampolines on
Stephane Carrez [Sat, 19 Apr 2003 08:26:38 +0000 (08:26 +0000)]
* emultempl/m68hc1xelf.em: New file to generate far trampolines on
68HC11 and 68HC12.
(LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
generate.
(LDEMUL_FINISH): Override to generate the trampolines after gc and
linker relaxation.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
stub file for trampolines.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
--no-trampoline and --bank-window to control the memory bank window.

21 years ago* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
DJ Delorie [Sat, 19 Apr 2003 00:19:40 +0000 (00:19 +0000)]
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.

* configure.in (powerpc64*-*-linux*): Remove.
* configure: Rebuilt.

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

21 years ago2003-04-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 Apr 2003 15:33:49 +0000 (15:33 +0000)]
2003-04-18  H.J. Lu <hjl@gnu.org>

* ldfile.c (ldfile_add_library_path): Remove the unused
variable.

21 years ago * ehopt.c (check_eh_frame): For aug_size == 0
Jakub Jelinek [Fri, 18 Apr 2003 11:53:12 +0000 (11:53 +0000)]
* ehopt.c (check_eh_frame): For aug_size == 0
in state_seeing_aug_size state skip the state_skipping_aug
state.

21 years agoDefine __data and __rdata
Nick Clifton [Fri, 18 Apr 2003 08:26:17 +0000 (08:26 +0000)]
Define __data and __rdata

21 years agoOnly check associated vector if the matching_vector has been created.
Nick Clifton [Fri, 18 Apr 2003 08:06:01 +0000 (08:06 +0000)]
Only check associated vector if the matching_vector has been created.

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

21 years ago* Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the
DJ Delorie [Thu, 17 Apr 2003 21:30:52 +0000 (21:30 +0000)]
* Makefile.tpl (GCC_STRAP_TARGETS):  New variable containing all the
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap,
and restrap.
* Makefile.in:  Regenerate.

* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.

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

21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 23:09:21 +0000 (23:09 +0000)]
merge from gcc

21 years ago Add .jcr section mapping.
Nick Clifton [Wed, 16 Apr 2003 11:53:46 +0000 (11:53 +0000)]
 Add .jcr section mapping.

21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 04:55:31 +0000 (04:55 +0000)]
merge from gcc

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.