Alan Modra
dbd964eb7c
daily update
2009-07-23 00:00:05 +00:00
H.J. Lu
5f35ea9c04
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.c (elf_link_output_extsym): Revert the last change.
2009-07-22 23:55:54 +00:00
H.J. Lu
b63cc625a1
2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10433
* elflink.c (elf_link_output_extsym): Special case ifunc syms
when ref_regular, not def_regular.
2009-07-22 21:30:30 +00:00
Alan Modra
fd685944ea
daily update
2009-07-22 00:00:04 +00:00
H.J. Lu
2955ec4c12
bfd/
...
2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10426
* elflink.c (elf_link_add_object_symbols): Turn an IFUNC symbol
from a DSO into a normal FUNC symbol.
(elf_link_output_extsym): Turn an undefined IFUNC symbol into
a normal FUNC symbol.
ld/testsuite/
2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10426
* ld-ifunc/ifunc.exp: Check test-1 and libtest-2.so. Updated.
* ld-ifunc/test-1.c: New.
* ld-ifunc/test-2.c: Likewise.
2009-07-21 21:37:26 +00:00
Alan Modra
6a0d81b26f
daily update
2009-07-21 00:00:08 +00:00
Alan Modra
0f25197a35
daily update
2009-07-20 00:00:07 +00:00
Alan Modra
651f5b5ba3
daily update
2009-07-19 00:00:04 +00:00
Alan Modra
b7a8a98932
daily update
2009-07-18 00:00:05 +00:00
Nick Clifton
6d30f5b2dc
* elfxx-mips.c (LOAD_INTERLOCKS_P): New define.
...
(_bfd_mips_elf_size_dynamic_sections): For CPUs without load
interlocking, the last PLT entry needs a nop in the branch delay slot.
(_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking,
output the last two PLT entries in reverse order.
* ld-mips-elf/pic-and-nonpic-3b.dd,
ld-mips-elf/pic-and-nonpic-5b.dd,
ld-mips-elf/pic-and-nonpic-6-o32.dd: Updated to use new PLT entries.
2009-07-17 09:46:00 +00:00
Alan Modra
98472ae205
daily update
2009-07-17 00:00:05 +00:00
H.J. Lu
1f85278f17
bfd/
...
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Don't get local
STT_GNU_IFUNC symbol for relocatable link.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
ld/testsuite/
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-ifunc/ifunc-5r-local-i386.d: New.
* ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2009-07-16 14:23:12 +00:00
Alan Modra
9fd2ab21d7
daily update
2009-07-16 00:00:05 +00:00
Alan Modra
d30cf375e1
daily update
2009-07-15 00:00:05 +00:00
Alan Modra
650b89be7e
daily update
2009-07-14 00:00:05 +00:00
Alan Modra
d990c8ab76
daily update
2009-07-13 00:00:05 +00:00
Alan Modra
5a12aa1e46
daily update
2009-07-12 00:00:05 +00:00
Alan Modra
43dd447d91
daily update
2009-07-11 00:00:05 +00:00
H.J. Lu
f07749bbae
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
...
* bfdio.c (bfd_iovec): Add comments for bmmap.
* bfd-in2.h: Regenerated.
2009-07-10 18:38:27 +00:00
H.J. Lu
8455dd2cf7
bfd/
...
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
binutils/
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
gas/
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
2009-07-10 18:27:01 +00:00
Doug Kwan
cedfb17907
2009-07-10 Doug Kwan <dougkwan@google.com>
...
* elf32-arm.c (stub_hash_newfunc): Initialize fields
target_addend and orig_insn.
2009-07-10 16:56:15 +00:00
Tom Tromey
fa8f86ff3b
bfd
...
* Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h.
(elf-eh-frame.lo): Likewise.
(elf32-bfin.lo): Likewise.
(elf32-frv.lo): Likewise.
(elf32-xc16x.lo): Likewise.
* Makefile.in: Rebuild.
* dwarf2.c: Included dwarf.h, not elf/dwarf2.h.
* elf-eh-frame.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-xc16x.c: Likewise.
binutils
* Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h.
* Makefile.in: Rebuild.
* dwarf.c: Include dwarf2.h, not elf/dwarf2.h.
gas
* Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
elf/dwarf2.h.
(DEPTC_alpha_elf): Likewise.
(DEPTC_alpha_evax): Likewise.
(DEPTC_arm_elf): Likewise.
(DEPTC_hppa_elf): Likewise.
(DEPTC_i386_aout): Likewise.
(DEPTC_i386_coff): Likewise.
(DEPTC_i386_elf): Likewise.
(DEPTC_m68k_aout): Likewise.
(DEPTC_m68k_coff): Likewise.
(DEPTC_m68k_elf): Likewise.
(DEPTC_mips_coff): Likewise.
(DEPTC_mips_ecoff): Likewise.
(DEPTC_mips_elf): Likewise.
(DEPTC_ppc_coff): Likewise.
(DEPTC_ppc_elf): Likewise.
(DEPTC_s390_elf): Likewise.
(DEPTC_sh_coff): Likewise.
(DEPTC_sh_elf): Likewise.
(DEPTC_sh64_elf): Likewise.
(DEPTC_sparc_aout): Likewise.
(DEPTC_sparc_coff): Likewise.
(DEPTC_sparc_elf): Likewise.
(as.o): Likewise.
(dwarf2dbg.o): Likewise.
(dw2gencfi.o): Likewise.
(ehopt.o): Likewise.
(read.o): Likewise.
* Makefile.in: Rebuild.
* dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
* dwarf2dbg.c: Likewise.
* ehopt.c: Likewise.
gdb
* dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h.
* dwarf2expr.c: Likewise.
* dwarf2loc.c: Likewise.
* dwarf2read.c: Likewise.
* sh-tdep.c: Likewise.
* xtensa-tdep.c: Likewise.
include
* dwarf2.h: New file, moved from elf/.
include/elf
* dwarf2.h: Move to `..'.
2009-07-10 15:27:04 +00:00
Julian Brown
33c6a8fcd6
* elf32-arm.c (arm_build_one_stub): Use the hash entry of the
...
symbol a stub entry is derived from, not the entry for the stub
itself, in call to elf32_arm_final_link_relocate.
2009-07-10 14:57:00 +00:00
H.J. Lu
1d77084592
bfd/
...
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_get_synthetic_symtab): Remove leading zeros
when reporting addends.
ld/testsuite/
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* ld-ifunc/ifunc-1-local-x86.d: Updated.
* ld-ifunc/ifunc-1-x86.d: Likewise.Likewise.
* ld-ifunc/ifunc-2-local-x86-64.d: Likewise.Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.Likewise.
2009-07-10 14:03:03 +00:00
Alan Modra
52cfded73c
* elf32-spu.c (spu_elf_size_stubs): Do set up soft-icache manager
...
data even when no stubs.
(spu_elf_place_overlay_data, spu_elf_build_stubs): Adjust.
2009-07-10 14:00:38 +00:00
Alan Modra
e054468f6c
STT_GNU_IFUNC support for PowerPC.
2009-07-10 12:19:58 +00:00
Alan Modra
041de40dc8
* elf.c (_bfd_elf_get_synthetic_symtab): Report addends.
2009-07-10 10:33:19 +00:00
Alan Modra
7ae26bc141
* elf-bfd.h (struct elf_link_hash_entry): Clarify ref_regular
...
and ref_regular_nonweak comment.
* elflink.c (elf_link_output_extsym): Special case ifunc syms
when def_regular, not ref_regular.
(elf_link_add_object_symbols): Don't set needs_plt on ifunc syms,..
* elf32-i386.c (elf_i386_check_relocs): ..set it here instead..
* elf64-x86-64.c (elf64_x86_64_check_relocs): ..and here.
2009-07-10 10:04:20 +00:00
Alan Modra
af7b385cb9
daily update
2009-07-10 00:00:05 +00:00
Alan Modra
9c4d0c1fb8
* elf32-spu.c (mark_functions_via_relocs): Init broken_cycle field
...
of malloc'd struct call_info.
(pasted_function): Likewise, priority too.
2009-07-09 10:58:06 +00:00
Alan Modra
d66883802f
daily update
2009-07-09 00:00:04 +00:00
Alan Modra
1a17320ea5
daily update
2009-07-08 00:00:05 +00:00
Alan Modra
2fc6d3b012
* elf32-spu.c (spu_elf_auto_overlay): Take into account section
...
alignment when packing sections into overlays.
2009-07-07 03:26:47 +00:00
Alan Modra
361961f088
daily update
2009-07-07 00:00:05 +00:00
Alan Modra
5dd92e9018
daily update
2009-07-06 00:00:04 +00:00
Alan Modra
7438392e6b
daily update
2009-07-05 00:00:05 +00:00
Alan Modra
6493db6f9e
daily update
2009-07-04 00:00:09 +00:00
Dave Korn
9e1f7c0e44
2009-07-03 Cary Coutant <ccoutant@google.com>
...
* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.
2009-07-03 17:02:43 +00:00
Dave Korn
4a7688702f
2009-07-03 Dave Korn <dave.korn.cygwin@gmail.com>
...
* coffcode.h (sec_to_styp_flags): Partially revert (functional
changes only) earlier patch:-
2009-06-25 Kai Tietz <kai.tietz@onevision.com>
* coffcode.h (sec_to_styp_flags): Set discardable for .reloc and
give .debug and .reloc data characteristics.
(DOT_RELOC): New define for .reloc section string.
(coff_write_object_contents): Use DOT_RELOC instead of string.
2009-07-03 16:07:38 +00:00
Alan Modra
d7edf97466
daily update
2009-07-03 00:00:09 +00:00
Tom Tromey
848f574829
* aoutx.h (aout_get_external_symbols): Declare 'amt' locally.
...
* bfdwin.c (bfd_free_window): Cast to unsigned long.
2009-07-02 17:08:51 +00:00
Alan Modra
c929d53a4b
daily update
2009-07-02 00:00:05 +00:00
H.J. Lu
dda46a2716
Update ChangeLog entries.
2009-07-01 21:29:23 +00:00
Nick Clifton
efde2f2ce4
* bfd/bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
...
BFD_HAVE_SYS_STAT_TYPE_MEMBER): New config functions.
* bfd/configure.in: Use them.
* bfd/configure: Regenerate.
* bfd/config.in: Regnerate.
* bfd/vmsutil.c: Include sysdep.h, remove ansidecl.h.
#define _BSD_SOURCE. Add comments.
(vms_file_stats_name): Calculate creation date based on available
runtime data. Return 1 for version instead of 0.
2009-07-01 15:02:28 +00:00
Nick Clifton
e1ec24c6f3
PR 10072
...
* elf32-arm.c (elf32_arm_final_link_relocate): Add code to handle
to R_ARM_THM_PC8 relocation.
2009-07-01 14:48:26 +00:00
Alan Modra
c2786637bc
daily update
2009-07-01 00:00:04 +00:00
Alan Modra
96ded7385d
daily update
2009-06-30 00:00:05 +00:00
Nick Clifton
2709f5702f
* elf-m10300.c (mn10300_elf_relax_section): Allow for the
...
different uses of the relocations addend when a symbol is in a
merged section.
2009-06-29 11:55:13 +00:00
Alan Modra
a590713d04
daily update
2009-06-29 00:00:04 +00:00
Alan Modra
8655045c3d
daily update
2009-06-28 00:00:08 +00:00