Commit | Line | Data |
---|---|---|
248775ba L |
1 | 2011-01-14 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type. | |
4 | (elf_x86_64_link_hash_table_create): Set pointer_r_type. | |
5 | (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64 | |
6 | for ILP32. Remove ABI_64_P PIC check for R_X86_64_8, | |
7 | R_X86_64_16, R_X86_64_32 and R_X86_64_32S. | |
8 | (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64 | |
9 | for ILP32. | |
10 | ||
4a97a0e5 AM |
11 | 2011-01-14 Alan Modra <amodra@gmail.com> |
12 | ||
13 | * bfd.c (bfd_perror): Flush stdout before and stderr after printing | |
14 | error. | |
15 | (_bfd_default_error_handler): Likewise. | |
16 | * elf.c (print_segment_map): Likewise. | |
17 | * libbfd.c (warn_deprecated): Likewise. | |
18 | * som.c (som_sizeof_headers): No need to do so here. | |
19 | * coff-i860.c: Replace use of printf for error messages with | |
20 | _bfd_error_handler. | |
21 | * coff-ppc.c: Likewise. | |
22 | * coff-sh.c: Likewise. | |
23 | * elf32-bfin.c: Likewise. | |
24 | * elf32-dlx.c: Likewise. | |
25 | * elf32-mep.c: Likewise. | |
26 | * elf32-v850.c: Likewise. | |
27 | * mach-o.c: Likewise. | |
28 | * pef.c: Likewise. | |
29 | ||
82e96e07 L |
30 | 2011-01-13 H.J. Lu <hongjiu.lu@intel.com> |
31 | ||
32 | * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove | |
33 | swap_reloca_out. | |
34 | (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out. | |
35 | (elf_x86_64_check_relocs): Align relocation section to 4 byte | |
36 | for 32bit. | |
37 | (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with | |
38 | ELF_ST_TYPE. | |
39 | (elf_x86_64_finish_dynamic_symbol): Updated. | |
40 | (elf_x86_64_finish_dynamic_sections): Don't use | |
41 | Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor | |
42 | bfd_elf64_swap_dyn_out. | |
43 | ||
e6a6bb22 AM |
44 | 2011-01-14 J. Park <grassman@gmail.com> |
45 | ||
46 | PR ld/12339 | |
47 | * elf32-arm.c (allocate_dynrelocs): Don't set up eh before | |
48 | following bfd_link_hash_warning symbol link. | |
49 | ||
0855e32b NS |
50 | 2011-01-10 Nathan Sidwell <nathan@codesourcery.com> |
51 | Glauber de Oliveira Costa <glommer@gmail.com> | |
52 | ||
53 | * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL, | |
54 | BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ, | |
55 | BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New | |
56 | relocations. | |
57 | * libbfd.h: Rebuilt. | |
58 | * bfd-in2.h: Rebuilt. | |
59 | * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations. | |
60 | (elf32_arm_reloc_map): Likewise. | |
61 | (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates. | |
62 | (elf32_arm_stub_long_branch_any_tls_pic, | |
63 | elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates. | |
64 | (DEF_STUBS): Add new stubs. | |
65 | (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field. | |
66 | (elf32_arm_local_tlsdesc_gotent): New. | |
67 | (GOT_TLS_GDESC): New mask. | |
68 | (GOT_TLS_GD_ANY): Define. | |
69 | (struct elf32_arm_link_hash_entry): Add tlsdesc_got field. | |
70 | (elf32_arm_compute_jump_table_size): New. | |
71 | (struct elf32_arm_link_hash_table): Add next_tls_desc_index, | |
72 | num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline, | |
73 | sgotplt_jump_table_size fields. | |
74 | (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field. | |
75 | (elf32_arm_link_hash_table_create): Initialize new fields. | |
76 | (arm_type_of_stub): Check TLS desc relocs too. | |
77 | (elf32_arm_stub_name): TLS desc relocs can be shared. | |
78 | (elf32_arm_tls_transition): Determine relaxation. | |
79 | (arm_stub_required_alignment): Add tls stubs. | |
80 | (elf32_arm_size_stubs): Likewise. | |
81 | (elf32_arm_tls_relax): Perform TLS relaxing. | |
82 | (elf32_arm_final_link_relocate): Process TLS DESC relocations. | |
83 | (IS_ARM_TLS_GNU_RELOC): New. | |
84 | (IS_ARM_TLS_RELOC): Use it. | |
85 | (elf32_arm_relocate_section): Perform TLS relaxing. | |
86 | (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls | |
87 | desc relocations. | |
88 | (allocate_dynrelocs): Allocate tls desc relcoations. | |
89 | (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping | |
90 | symbols. | |
91 | (elf32_arm_size_dynamic_sections): Allocate tls trampolines and | |
92 | got slots. | |
93 | (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE | |
94 | symbol. | |
95 | (elf32_arm_finish_dynamic_symbol): Adjust. | |
96 | (arm_put_trampoline): New. | |
97 | (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls | |
98 | trampolines. | |
99 | (elf_backend_always_size_sections): Define. | |
100 | ||
7be86737 L |
101 | 2011-01-06 H.J. Lu <hongjiu.lu@intel.com> |
102 | ||
103 | * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized. | |
104 | ||
ae428b57 | 105 | 2011-01-06 H.J. Lu <hongjiu.lu@intel.com> |
3db2e7dd L |
106 | |
107 | PR ld/12366 | |
108 | PR ld/12371 | |
109 | * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly | |
110 | handle symbols marked with regular reference, but not non-GOT | |
111 | reference when building shared library. | |
112 | ||
113 | * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle | |
114 | local and global STT_GNU_IFUNC symols when building shared | |
115 | library. | |
116 | * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise. | |
117 | ||
9689e3a3 DD |
118 | 2011-01-05 DJ Delorie <dj@redhat.com> |
119 | ||
120 | * reloc.c: Add BFD_RELOC_RX_OP_NEG. | |
121 | * libbfd.h: Regenerate. | |
122 | * bfd-in2.h: Regenerate. | |
123 | * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg. | |
124 | ||
889a4d3e L |
125 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
126 | ||
127 | * cpu-i386.c (bfd_i386_compatible): New. | |
128 | (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible | |
129 | with bfd_i386_compatible. | |
130 | (bfd_x86_64_arch_intel_syntax): Likewise. | |
131 | (bfd_i386_arch_intel_syntax): Likewise. | |
132 | (i8086_arch): Likewise. | |
133 | (bfd_x64_32_arch): Likewise. | |
134 | (bfd_x86_64_arch): Likewise. | |
135 | (bfd_i386_arch): Likewise. | |
136 | ||
9e9e0820 | 137 | For older changes see ChangeLog-2010 |
56882138 AM |
138 | \f |
139 | Local Variables: | |
140 | mode: change-log | |
141 | left-margin: 8 | |
142 | fill-column: 74 | |
143 | version-control: never | |
144 | End: |