OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years agofile bfdwin.texi was initially added on branch binutils-2_14-branch.
Daniel Jacobowitz [Sun, 27 Apr 2003 20:36:06 +0000 (20:36 +0000)]
file bfdwin.texi was initially added on branch binutils-2_14-branch.

21 years agofile bfdio.texi was initially added on branch binutils-2_14-branch.
Daniel Jacobowitz [Sun, 27 Apr 2003 20:36:06 +0000 (20:36 +0000)]
file bfdio.texi was initially added on branch binutils-2_14-branch.

21 years ago * configure.in: Bump version on HEAD to 2.14.90.
Daniel Jacobowitz [Sun, 27 Apr 2003 19:59:10 +0000 (19:59 +0000)]
* configure.in: Bump version on HEAD to 2.14.90.
* configure: Regenerated.

21 years ago * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
Thiemo Seufer [Sat, 26 Apr 2003 20:57:14 +0000 (20:57 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.

21 years ago PR savannah/3331:
Stephane Carrez [Sat, 26 Apr 2003 11:53:36 +0000 (11:53 +0000)]
PR savannah/3331:
* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group
when we couldn't relax something.
* ld-m68hc11/bug-3331.d: New test.
* ld-m68hc11/bug-3331.s: New file.

21 years agooops - forgot to add the grep for "(DW_OP_addr: 0)"
Nick Clifton [Sat, 26 Apr 2003 07:57:26 +0000 (07:57 +0000)]
oops - forgot to add the grep for "(DW_OP_addr: 0)"

21 years agoRework readelf -wi tests to grep for expected strings.
Nick Clifton [Sat, 26 Apr 2003 07:53:20 +0000 (07:53 +0000)]
Rework readelf -wi tests to grep for expected strings.

21 years ago2003-04-25 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 26 Apr 2003 01:35:58 +0000 (01:35 +0000)]
2003-04-25  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Belatedly mention support for MIPS32 Release 2.

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

21 years ago2003-04-25 Alan Modra <amodra@bigpond.net.au>
H.J. Lu [Fri, 25 Apr 2003 15:17:51 +0000 (15:17 +0000)]
2003-04-25  Alan Modra  <amodra@bigpond.net.au>

* elflink.h (elf_merge_symbol): When we find a regular definition
for an indirect symbol, flip the indirection so that the old
direct symbol now points to the new definition.

21 years ago * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
Joern Rennecke [Fri, 25 Apr 2003 14:23:31 +0000 (14:23 +0000)]
* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.

21 years ago2003-04-24 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 25 Apr 2003 04:40:09 +0000 (04:40 +0000)]
2003-04-24  Eric Christopher  <echristo@redhat.com>

        * config/tc-mips.c (nopic_need_relax): Revert previous
        change.

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

21 years ago2003-04-24 J"orn Rennecke <joern.rennecke@superh.com>
H.J. Lu [Thu, 24 Apr 2003 21:00:06 +0000 (21:00 +0000)]
2003-04-24  J"orn Rennecke <joern.rennecke@superh.com>

* ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.

21 years ago.
Roland McGrath [Thu, 24 Apr 2003 17:19:55 +0000 (17:19 +0000)]
.

21 years ago2003-04-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 24 Apr 2003 17:19:37 +0000 (17:19 +0000)]
2003-04-24  Roland McGrath  <roland@redhat.com>

* elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr".

21 years ago2003-04-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 24 Apr 2003 17:15:25 +0000 (17:15 +0000)]
2003-04-24  Roland McGrath  <roland@redhat.com>

* ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
If a name string is unknown, give an error rather than crashing later.

21 years agoAdd tests of conditional branch instructions with probability postfixes
Nick Clifton [Thu, 24 Apr 2003 17:04:22 +0000 (17:04 +0000)]
Add tests of conditional branch instructions with probability postfixes

21 years agooops - omitted from previous delta
Nick Clifton [Thu, 24 Apr 2003 15:25:24 +0000 (15:25 +0000)]
oops - omitted from previous delta

21 years ago * elf32-ppc.c: Formatting and comment fixes.
Alan Modra [Thu, 24 Apr 2003 13:44:10 +0000 (13:44 +0000)]
* elf32-ppc.c: Formatting and comment fixes.
(ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol.
(ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs.

21 years agoAdd support for dwarf2 debug information.
Nick Clifton [Thu, 24 Apr 2003 12:47:32 +0000 (12:47 +0000)]
Add support for dwarf2 debug information.

21 years agoAdd support for h8300hn and h8300sn
Nick Clifton [Thu, 24 Apr 2003 12:36:08 +0000 (12:36 +0000)]
Add support for h8300hn and h8300sn

21 years agoAdd '+' and '-' as valid symbol characters for PPC port.
Nick Clifton [Thu, 24 Apr 2003 10:22:35 +0000 (10:22 +0000)]
Add '+' and '-' as valid symbol characters for PPC port.

21 years agoFix the documentation for the -fo option.
Nick Clifton [Thu, 24 Apr 2003 07:58:49 +0000 (07:58 +0000)]
Fix the documentation for the -fo option.

21 years ago * elf32-sh.c (tpoff): New.
Kaz Kojima [Thu, 24 Apr 2003 05:19:09 +0000 (05:19 +0000)]
* elf32-sh.c (tpoff): New.
(struct elf_sh_dyn_relocs): Remove tls_tpoff32.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
        (allocate_dynrelocs): Don't make unnecessary dynamic TLS
relocations.  Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses.
        (sh_elf_relocate_section): Likewise. Remove unnecessary tests.
(dtpoff_base): Fix wrong indentation.
(sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS
relocations.  Don't set tls_tpoff32 flag.  Don't make unnecessary
R_SH_TLS_TPOFF32 relocations.

* ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d,
ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing
unnecessary TLS relocs.

21 years agoinclude/
H.J. Lu [Thu, 24 Apr 2003 01:43:33 +0000 (01:43 +0000)]
include/

* bfdlink.h (bfd_link_callbacks): Add error_handler.

ld/

* ldmain.c (link_callbacks): Initialize error_handler.

* ldmisc.c (error_handler): New function.

* ldmisc.h (error_handler): New prototype.

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

21 years agobfd:
Joern Rennecke [Wed, 23 Apr 2003 21:09:04 +0000 (21:09 +0000)]
bfd:
        * archures.c (enum bfd_architecture): Amend comment to refer to SuperH.
        * cpu-sh.c: Likewise.
        * elf32-sh.c: Likewise.
        * reloc.c (bfd_reloc_code_real): Likewise.
        * elf32-sh64-com.c: Change comment to refer to SuperH.
        * elf32-sh64.c: Likewise.
        * elf64-sh64.c: Likewise.
        * bfd-in2.h (enum bfd_architecture): Regenerate.
binutils:
        * readelf.c (get_machine_name) <EM_SH>: Amend return value
        to refer to SuperH.
gas:
        * config/tc-sh.c: Amend comment to refer to SuperH.
        * config/tc-sh.h: Likewise.
        (LISTING_HEADER): Amend to refer to SuperH.
        * config/tc-sh64.c: Change comment to refer to SuperH.
        * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
        * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
        * doc/c-sh.texi: Amend to refer to SuperH.
        Add SuperH architecture documentation references.
        * doc/c-sh64.texi: Change to refer to SuperH.
include/elf:
        * common.h (EM_SH): Amend comment to refer to SuperH.
ld/testsuite:
        * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH.
        * ld-sh/sh64/crange3-media.rd (Machine): Likewise.

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.