Andreas Schwab
5bb7df2edf
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also
...
for PIE executables.
2013-10-08 15:57:24 +00:00
Alan Modra
f424ae209c
daily update
2013-10-07 23:00:04 +00:00
Alan Modra
f872dc3d6e
daily update
2013-10-06 23:00:05 +00:00
Alan Modra
c080eea7b2
daily update
2013-10-05 23:00:05 +00:00
Alan Modra
5331b8a80c
daily update
2013-10-05 00:00:05 +00:00
Alan Modra
c4c2eac59e
daily update
2013-10-04 00:00:04 +00:00
Jan-Benedict Glaw
e0eebf9759
2013-10-04 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure: Regenerate.
2013-10-03 22:02:45 +00:00
Will Newton
1419bbe571
aarch64: Add support for GNU indirect functions.
...
Add support for STT_GNU_IFUNC symbols to the AArch64 bfd backend. The tests
are ported from the ld-ifunc tests but are enabled for cross builds so can
be run easily without hardware or a simulator.
bfd/ChangeLog:
2013-10-03 Will Newton <will.newton@linaro.org>
* configure: Regenerate.
* configure.in: Build elf-ifunc.o for AArch64.
* elfnn-aarch64.c: Include objalloc.h.
(elfNN_aarch64_local_htab_hash): New function.
(elfNN_aarch64_local_htab_eq): New function.
(elfNN_aarch64_get_local_sym_hash): New function.
(elfNN_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC
symbol hash.
(elfNN_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash.
(elfNN_aarch64_final_link_relocate): Add sym argument. Add support
for handling STT_GNU_IFUNC symbols.
(elfNN_aarch64_gc_sweep_hook): Add support for garbage collecting
references to STT_GNU_IFUNC symbols.
(elfNN_aarch64_adjust_dynamic_symbol): Add support for handling
STT_GNU_IFUNC symbols.
(elfNN_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC
symbols. Ensure we don't increase plt.refcount from -1 to 0.
(elfNN_aarch64_post_process_headers): Call _bfd_elf_set_osabi.
(elfNN_aarch64_is_function_type): Remove function.
(elfNN_aarch64_allocate_dynrelocs): Handle STT_GNU_IFUNC symbols.
(elfNN_aarch64_allocate_ifunc_dynrelocs): New function.
(elfNN_aarch64_allocate_local_dynrelocs): New function.
(elfNN_aarch64_allocate_local_ifunc_dynrelocs): New function.
(elfNN_aarch64_size_dynamic_sections): Call
elfNN_aarch64_allocate_local_dynrelocs.
(elfNN_aarch64_create_small_pltn_entry): Add info argument.
Add support for creating .iplt entries for STT_GNU_IFUNC symbols.
(elfNN_aarch64_finish_dynamic_symbol): Add support for handling
STT_GNU_IFUNC symbols and .iplt.
(elfNN_aarch64_finish_local_dynamic_symbol): New function.
(elfNN_aarch64_finish_dynamic_sections): Call
elfNN_aarch64_finish_local_dynamic_symbol.
ld/ChangeLog:
2013-10-03 Will Newton <will.newton@linaro.org>
* emulparams/aarch64elf.sh: Add IREL_IN_PLT.
* emulparams/aarch64elf32.sh: Likewise.
ld/testsuite/ChangeLog:
2013-10-03 Will Newton <will.newton@linaro.org>
* ld-ifunc/ifunc.exp: Enable ifunc tests for AArch64.
* ld-aarch64/aarch64-elf.exp: Run ifunc tests.
* ld-aarch64/ifunc-1-local.d: New file.
* ld-aarch64/ifunc-1-local.s: Likewise.
* ld-aarch64/ifunc-1.d: Likewise.
* ld-aarch64/ifunc-1.s: Likewise.
* ld-aarch64/ifunc-10.d: Likewise.
* ld-aarch64/ifunc-10.s: Likewise.
* ld-aarch64/ifunc-11.d: Likewise.
* ld-aarch64/ifunc-11.s: Likewise.
* ld-aarch64/ifunc-12.d: Likewise.
* ld-aarch64/ifunc-12.s: Likewise.
* ld-aarch64/ifunc-13.d: Likewise.
* ld-aarch64/ifunc-13a.s: Likewise.
* ld-aarch64/ifunc-13b.s: Likewise.
* ld-aarch64/ifunc-14a.d: Likewise.
* ld-aarch64/ifunc-14a.s: Likewise.
* ld-aarch64/ifunc-14b.d: Likewise.
* ld-aarch64/ifunc-14b.s: Likewise.
* ld-aarch64/ifunc-14c.d: Likewise.
* ld-aarch64/ifunc-14c.s: Likewise.
* ld-aarch64/ifunc-14d.d: Likewise.
* ld-aarch64/ifunc-14e.d: Likewise.
* ld-aarch64/ifunc-14f.d: Likewise.
* ld-aarch64/ifunc-15.d: Likewise.
* ld-aarch64/ifunc-15.s: Likewise.
* ld-aarch64/ifunc-16.d: Likewise.
* ld-aarch64/ifunc-16.s: Likewise.
* ld-aarch64/ifunc-17a.d: Likewise.
* ld-aarch64/ifunc-17a.s: Likewise.
* ld-aarch64/ifunc-17b.d: Likewise.
* ld-aarch64/ifunc-17b.s: Likewise.
* ld-aarch64/ifunc-18a.d: Likewise.
* ld-aarch64/ifunc-18a.s: Likewise.
* ld-aarch64/ifunc-18b.d: Likewise.
* ld-aarch64/ifunc-18b.s: Likewise.
* ld-aarch64/ifunc-19a.d: Likewise.
* ld-aarch64/ifunc-19a.s: Likewise.
* ld-aarch64/ifunc-19b.d: Likewise.
* ld-aarch64/ifunc-19b.s: Likewise.
* ld-aarch64/ifunc-2-local.d: Likewise.
* ld-aarch64/ifunc-2-local.s: Likewise.
* ld-aarch64/ifunc-2.d: Likewise.
* ld-aarch64/ifunc-2.s: Likewise.
* ld-aarch64/ifunc-20.d: Likewise.
* ld-aarch64/ifunc-20.s: Likewise.
* ld-aarch64/ifunc-3.s: Likewise.
* ld-aarch64/ifunc-3a.d: Likewise.
* ld-aarch64/ifunc-3b.d: Likewise.
* ld-aarch64/ifunc-4.d: Likewise.
* ld-aarch64/ifunc-4.s: Likewise.
* ld-aarch64/ifunc-4a.d: Likewise.
* ld-aarch64/ifunc-5-local.s: Likewise.
* ld-aarch64/ifunc-5.s: Likewise.
* ld-aarch64/ifunc-5a-local.d: Likewise.
* ld-aarch64/ifunc-5a.d: Likewise.
* ld-aarch64/ifunc-5b-local.d: Likewise.
* ld-aarch64/ifunc-5b.d: Likewise.
* ld-aarch64/ifunc-5r-local.d: Likewise.
* ld-aarch64/ifunc-6.s: Likewise.
* ld-aarch64/ifunc-6a.d: Likewise.
* ld-aarch64/ifunc-6b.d: Likewise.
* ld-aarch64/ifunc-7.s: Likewise.
* ld-aarch64/ifunc-7a.d: Likewise.
* ld-aarch64/ifunc-7b.d: Likewise.
* ld-aarch64/ifunc-7c.d: Likewise.
* ld-aarch64/ifunc-8.d: Likewise.
* ld-aarch64/ifunc-8a.s: Likewise.
* ld-aarch64/ifunc-8b.s: Likewise.
* ld-aarch64/ifunc-9.d: Likewise.
* ld-aarch64/ifunc-9.s: Likewise.
2013-10-03 14:46:09 +00:00
Alan Modra
f8fedb8d7b
daily update
2013-10-03 00:00:04 +00:00
Alan Modra
62574b938f
daily update
2013-10-02 00:00:04 +00:00
Alan Modra
ce63849fab
daily update
2013-10-01 00:00:04 +00:00
Nick Clifton
cbb2b07e33
* emulparams/msp430all.sh: Update ARCH names.
...
* cpu-msp430.c: Use printable names that match the values
displayed by readelf.
2013-09-30 09:03:59 +00:00
Alan Modra
b9bd7559c7
daily update
2013-09-30 00:00:04 +00:00
Alan Modra
9a5624cea1
daily update
2013-09-29 00:00:04 +00:00
Alan Modra
c2267fe5ea
daily update
2013-09-28 00:00:04 +00:00
Alan Modra
86a367af41
daily update
2013-09-27 00:00:04 +00:00
Andrew Pinski
4e8516b2d9
2013-08-25 Andrew Pinski <apinski@cavium.com>
...
* elfnn-aarch64.c (TCB_SIZE): Base on the ARCH_SIZE rather than a
fixed size of 16.
2013-09-25 17:55:05 +00:00
Alan Modra
9d26852e6d
daily update
2013-09-25 00:00:04 +00:00
Richard Sandiford
2f9efdfcdb
bfd/
...
2013-09-24 Gregory Fong <gregory.0xf0@gmail.com>
* elfxx-mips.c (mips_elf_create_got_section): Hide
_GLOBAL_OFFSET_TABLE_.
ld/testsuite/
2013-09-24 Gregory Fong <gregory.0xf0@gmail.com>
* ld-mips-elf/eh-frame5.d, ld-mips-elf/jalx-2.dd,
ld-mips-elf/mips-elf.exp, ld-mips-elf/mips16-pic-2.ad,
ld-mips-elf/mips16-pic-2.nd, ld-mips-elf/pic-and-nonpic-3a.dd,
ld-mips-elf/pic-and-nonpic-3b.ad, ld-mips-elf/pic-and-nonpic-3b.dd,
ld-mips-elf/pic-and-nonpic-3b.nd, ld-mips-elf/pic-and-nonpic-4b.ad,
ld-mips-elf/pic-and-nonpic-4b.nd, ld-mips-elf/pic-and-nonpic-4b.rd,
ld-mips-elf/pic-and-nonpic-5b.ad, ld-mips-elf/pic-and-nonpic-5b.nd,
ld-mips-elf/pic-and-nonpic-6-n32.ad,
ld-mips-elf/pic-and-nonpic-6-n32.dd,
ld-mips-elf/pic-and-nonpic-6-n32.nd,
ld-mips-elf/pic-and-nonpic-6-n64.ad,
ld-mips-elf/pic-and-nonpic-6-n64.dd,
ld-mips-elf/pic-and-nonpic-6-n64.nd,
ld-mips-elf/pic-and-nonpic-6-o32.ad,
ld-mips-elf/pic-and-nonpic-6-o32.dd,
ld-mips-elf/pic-and-nonpic-6-o32.nd, ld-mips-elf/rel32-n32.d,
ld-mips-elf/rel32-o32.d, ld-mips-elf/rel64.d,
ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
ld-mips-elf/tlslib-o32-ver.got, ld-mips-elf/tlslib-o32.got: Update
for removal of _GLOBAL_OFFSET_TABLE_ from .dynsym.
2013-09-24 22:15:38 +00:00
Alan Modra
91ea67ca58
* elf32-mips.c (ELF_OSABI): Undef for vxworks.
2013-09-24 10:22:27 +00:00
Alan Modra
8a865bcb77
* syms.c (_bfd_stab_section_find_nearest_line): Ignore partial
...
stabs at end of .stab. Tidy variable usage. Don't drop the need
for a NULL function name stab if If N_FUN stab is ignored.
Ensure index entry count loop matches write loop.
2013-09-24 06:57:36 +00:00
Alan Modra
8cbc424d22
daily update
2013-09-24 00:00:04 +00:00
Alan Modra
eb381701a3
daily update
2013-09-23 00:00:04 +00:00
Alan Modra
ea76e9198c
daily update
2013-09-22 00:00:04 +00:00
Alan Modra
722a5e98ea
daily update
2013-09-21 00:00:05 +00:00
Alan Modra
cc9afea3e4
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
...
ppc host match. Support little-endian powerpc linux hosts.
Regenerate binutils configure files.
2013-09-20 09:51:25 +00:00
Alan Modra
ff2773be07
daily update
2013-09-20 00:00:04 +00:00
Alan Modra
205bc6b1a7
daily update
2013-09-19 00:00:03 +00:00
Tristan Gingold
bc080e949d
bfd/
...
2013-09-18 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.24.51
* configure: Regenerate.
2013-09-18 11:02:05 +00:00
Alan Modra
000d27e5e7
daily update
2013-09-18 00:00:05 +00:00
Steve Ellcey
5baf5e34cf
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
...
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle
EF_MIPS_FP64.
2013-09-17 21:07:13 +00:00
Alan Modra
3a86fc5600
daily update
2013-09-17 00:00:04 +00:00
Alan Modra
fe75ecec82
daily update
2013-09-16 00:00:04 +00:00
Alan Modra
605e29cd82
daily update
2013-09-15 00:00:04 +00:00
Alan Modra
556a4ec59c
daily update
2013-09-14 00:00:04 +00:00
Alan Modra
89e204c4bc
daily update
2013-09-13 00:00:04 +00:00
Alan Modra
c9ee61e2dd
daily update
2013-09-12 00:00:04 +00:00
Alan Modra
f9a1695ef6
daily update
2013-09-11 00:00:04 +00:00
Alan Modra
cca931b4c8
daily update
2013-09-10 00:00:04 +00:00
Alan Modra
3ce8d851a6
daily update
2013-09-09 00:00:04 +00:00
Alan Modra
92796d6430
daily update
2013-09-08 00:00:04 +00:00
Alan Modra
3d05c071aa
daily update
2013-09-07 00:00:04 +00:00
Alan Modra
253a4c9811
daily update
2013-09-06 00:00:04 +00:00
Alan Modra
316d1644e4
daily update
2013-09-05 00:00:05 +00:00
Alan Modra
4cb70f9a2f
daily update
2013-09-04 00:00:04 +00:00
Alan Modra
9d0cdcdf27
daily update
2013-09-03 00:00:04 +00:00
Alan Modra
dd97e043eb
daily update
2013-09-02 00:00:05 +00:00
Alan Modra
56b699ea02
daily update
2013-09-01 00:00:05 +00:00
Dave Anglin
29bff3ea1d
2013-08-31 John David Anglin <dave.anglin@bell.net>
...
* elf64-hppa.c (elf_hppa_final_link_relocate): Add missing '%' to
format string.
2013-08-31 11:31:42 +00:00
Alan Modra
e826858c0b
daily update
2013-08-31 00:00:05 +00:00