* elf32-cris.c (cris_elf_relocate_section) <case
R_CRIS_32_GOTREL>: When building a program, don't complain about a
symbol from a normal object or an undefined weak symbol.
Richard Earnshaw [Fri, 13 Jun 2003 16:34:31 +0000 (16:34 +0000)]
* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
FPU_ARCH_FPA for AOUT.
(md_begin): Don't try to guess the floating point architecture from
the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
nobody [Thu, 12 Jun 2003 05:45:51 +0000 (05:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_14-branch'.
Cherrypick from master 2003-06-12 05:45:50 UTC Richard Sandiford <rdsandiford@googlemail.com> ' * config/tc-mips.c (append_insn): In a compound relocation, take the':
gas/testsuite/gas/mips/elf-rel15.d
gas/testsuite/gas/mips/elf-rel15.s
* elf.c (bfd_elf_get_needed_list): Use is_elf_hash_table to check
the type of the has table in the bfd_link_info structure.
(bfd_elf_get_runpath_list): Likewise.
Merge from mainline:
2003-05-20 Jakub Jelinek <jakub@redhat.com>
* elflink.h (elf_link_output_extsym): Only issue error about !=
STV_DEFAULT symbols if they are bfd_link_hash_undefined.
* elflink.h (elf_merge_symbol): Change from:
2003-05-20 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_merge_symbol): Check ELF_LINK_DYNAMIC_DEF
when removing the old definition for symbols with non-default
visibility.
2003-05-13 Michael Eager <eager@mvista.com>
* objcopy.c: Treat identical src/dst file names as if only one
entered. One Windows creating an output file of the same name as
the input file will delete the input file before it is read.
2003-05-12 Salvador Eduardo Tropea <salvador@inti.gov.ar>
* debug.c (debug_get_real_type): Extend test for circular debug
references.
2003-05-12 Nick Clifton <nickc@redhat.com>
* configure.in (ALL_LINGUAS): Add zh_CN.
* configure: Regenerate.
* po/zh_CN.po: New file: Chinese (simplified) translation.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.
2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one.
(elf_s390_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
(elf_s390_copy_indirect_symbol): Test whether the weakdef sym has
already been adjusted before treating it specially.
* el64-s390.c: Likwise.
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (elf_add_default_symbol): After skipping the
unversioned symbol, go to non-default one.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (elf_link_check_versioned_symbol): Also handle the
case that a DSO references a hidden symbol which may be
satisfied by a versioned symbol in another DSO.
(elf_link_output_extsym): Check versioned definition for hidden
symbol referenced by a DSO.
2003-05-06 Alexandre Oliva <aoliva@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Improve
error message for mixing different-endian files. Check for ABI
compatibility of input files with the selected emulation.
2003-05-13 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfweak/elfweak.exp: Fix typo.
2003-05-13 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* ld-elfvers/vers.exp: Run on sh[34]*-*-linux*.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfweak/elfweak.exp: Likewise.
2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
to linker script.
* ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x.
* ld-selective/selective.exp: Disable for s390 and s390x.
* ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
to linker script.
* ld-shared/shared.exp (shared_test): Add setup_xfails for s390x.
* ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x.
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test
versioned reference for hidden symbol.
* ld-elfvers/vers27d4.dsym: New file.
* ld-elfvers/vers27d4.ver: Likewise.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers27d3.c (__start): New.
(start): New.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfvers/vers.exp (build_binary): Support build exeutable.
(build_binary): Renamed from ...
(build_vers_lib): This.
(build_vers_lib_no_pic): Updated.
(build_vers_lib_pic): Likewise.
Add vers27d1, vers27d2 and vers27d3 to test versioned
definition for hidden symbol referenced by a DSO.
2003-05-07 Andreas Schwab <schwab@suse.de>
* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
compiling.
2003-05-06 Alexandre Oliva <aoliva@redhat.com>
* config/default.exp (gcc_gas_flags): Force ABI to n32 on
mips64-linux.
* ld-elf/merge.d: Xfail on mips64*-linux-gnu*.
* ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible
on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu.
(good_combination, bad_combination): Use it.
Add -32 or -mabi=o64 wherever the ABI was formerly implied.
2003-05-06 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (objdump_versionstuff): Support comment
in expected version file.
Stephane Carrez [Tue, 13 May 2003 18:56:06 +0000 (18:56 +0000)]
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for
processor capability, allow merge of HC12 and HCS12 in some cases.
(m68hc11_elf_hash_table_create): Use bfd_malloc instead of bfd_zalloc.
* cpu-m68hc12.c (bfd_m68hc12s_arch): New struct.
(bfd_m68hc12_arch): Link it.
(scan_mach): New function.
* read.c (old_buffer, old_input, old_limit): Remove variables.
(read_a_source_file): Delete label contin.
<handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
input as with macros, instead of in separate old_* variables.
Zero-terminate string being scrubbed.