Commit | Line | Data |
---|---|---|
35ccda9e L |
1 | 2006-02-15 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | PR binutils/2338 | |
4 | * dwarf2.c (check_function_name): New function. | |
5 | (_bfd_dwarf2_find_nearest_line): Use check_function_name to | |
6 | check if function is correct. | |
7 | ||
e0ae6d6f AM |
8 | 2006-02-16 Alan Modra <amodra@bigpond.net.au> |
9 | ||
10 | * elflink.c (_bfd_elf_default_action_discarded): Return 0 for | |
11 | debug sections. | |
12 | (elf_link_input_bfd): Adjust comments. | |
13 | ||
d55ce4e2 L |
14 | 2006-02-10 H.J. Lu <hongjiu.lu@intel.com> |
15 | ||
16 | * elf.c (copy_private_bfd_data): Minor update. | |
17 | ||
84d1d650 L |
18 | 2006-02-10 H.J. Lu <hongjiu.lu@intel.com> |
19 | ||
20 | PR binutils/2258 | |
21 | * elf.c (copy_private_bfd_data): Renamed to ... | |
22 | (rewrite_elf_program_header): This. | |
23 | (copy_elf_program_header): New function. | |
24 | (copy_private_bfd_data): Likewise. | |
25 | ||
26 | 2006-02-07 Nathan Sidwell <nathan@codesourcery.com> | |
266abb8f NS |
27 | |
28 | * archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, | |
29 | bfd_mach_mcf5307, bfd_mach_mcf5407, bfd_mach_mcf528x, | |
30 | bfd_mach_mcfv4e, bfd_mach_mcf521x, bfd_mach_mcf5249, | |
31 | bfd_mach_mcf547x, bfd_mach_mcf548x): Remove. | |
32 | (bfd_mach_mcf_isa_a, bfd_mach_mcf_isa_a_div, | |
33 | bfd_mach_mcf_isa_a_div_mac, bfd_mach_mcf_isa_a_div_emac, | |
34 | bfd_mach_mcf_isa_aplus, bfd_mach_mcf_isa_aplus_mac, | |
35 | bfd_mach_mcf_isa_aplus_emac, bfd_mach_mcf_isa_aplus_usp, | |
36 | bfd_mach_mcf_isa_aplus_usp_mac, bfd_mach_mcf_isa_aplus_usp_emac, | |
37 | bfd_mach_mcf_isa_b, bfd_mach_mcf_isa_b_mac, bfd_mach_mcf_isa_b_emac, | |
38 | bfd_mach_mcf_isa_b_usp_float, bfd_mach_mcf_isa_b_usp_float_mac, | |
39 | bfd_mach_mcf_isa_b_usp_float_emac): New. | |
40 | (bfd_default_scan): Update coldfire mapping. | |
41 | * bfd-in.h (bfd_m68k_mach_to_features, | |
42 | bfd_m68k_features_to_mach): Declare. | |
43 | * bfd-in2.h: Rebuilt. | |
44 | * cpu-m68k.c (arch_info_struct): Add new coldfire machines, | |
45 | adjust legacy names. | |
46 | (m68k_arch_features): New. | |
47 | (bfd_m68k_mach_to_features, | |
48 | bfd_m68k_features_to_mach): Define. | |
49 | * elf32-m68k.c (elf32_m68k_object_p): New. | |
50 | (elf32_m68k_merge_private_bfd_data): Merge the CF EF flags. | |
51 | (elf32_m68k_print_private_bfd_data): Print the CF EF flags. | |
52 | (elf_backend_object_p): Define. | |
53 | * ieee.c (ieee_write_processor): Update coldfire machines. | |
54 | * libbfd.h: Rebuilt. | |
55 | ||
75eb734c SE |
56 | 2006-02-06 Steve Ellcey <sje@cup.hp.com> |
57 | ||
58 | * elfxx-ia64.c (elfNN_ia64_fake_sections): Set SHF_IA_64_HP_TLS | |
59 | if SHF_TLS is set. | |
60 | ||
134dcee5 AM |
61 | 2006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl> |
62 | ||
63 | * coff-z80.c (r_imm24): New howto. | |
64 | (rtype2howto): New case R_IMM24. | |
65 | (coff_z80_reloc_type_lookup): New case BFD_RELOC_24. | |
66 | (extra_case): Use bfd_get_8 for R_IMM8, new case R_IMM24. | |
67 | ||
4005427f RS |
68 | 2006-02-04 Richard Sandiford <richard@codesourcery.com> |
69 | ||
70 | * elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol | |
71 | has already been assigned a GOT index, copy that index to the | |
72 | current hash table entry. | |
73 | ||
bb29dfea EB |
74 | 2006-02-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
75 | ||
76 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass | |
77 | for call-to-undefweak reloc overflow. | |
78 | ||
dc669dc8 EB |
79 | 2006-01-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
80 | ||
81 | * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Reinstate bypass | |
82 | for 32-bit relocs overflow. | |
83 | ||
1a0eb693 PB |
84 | 2006-01-27 Paul Brook <paul@codesourcery.com> |
85 | ||
86 | * elf32-arm.c (elf32_arm_get_symbol_type): Allow STT_TLS thumb | |
87 | objects. | |
88 | ||
67a4f2b7 AO |
89 | 2006-01-18 Alexandre Oliva <aoliva@redhat.com> |
90 | ||
91 | Introduce TLS descriptors for i386 and x86_64. | |
92 | * reloc.c (BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC, | |
93 | BFD_RELOC_386_TLS_DESC_CALL, BFD_RELOC_X86_64_GOTPC32_TLSDESC, | |
94 | BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL): New. | |
95 | * libbfd.h, bfd-in2.h: Rebuilt. | |
96 | * elf32-i386.c (elf_howto_table): New relocations. | |
97 | (R_386_tls): Adjust. | |
98 | (elf_i386_reloc_type_lookup): Map new relocations. | |
99 | (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. | |
100 | (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. | |
101 | (struct elf_i386_link_hash_entry): Add tlsdesc_got field. | |
102 | (struct elf_i386_obj_tdata): Add local_tlsdesc_gotent field. | |
103 | (elf_i386_local_tlsdesc_gotent): New macro. | |
104 | (struct elf_i386_link_hash_table): Add sgotplt_jump_table_size. | |
105 | (elf_i386_compute_jump_table_size): New macro. | |
106 | (link_hash_newfunc): Initialize tlsdesc_got. | |
107 | (elf_i386_link_hash_table_create): Set sgotplt_jump_table_size. | |
108 | (elf_i386_tls_transition): Handle R_386_TLS_GOTDESC and | |
109 | R_386_TLS_DESC_CALL. | |
110 | (elf_i386_check_relocs): Likewise. Allocate space for | |
111 | local_tlsdesc_gotent. | |
112 | (elf_i386_gc_sweep_hook): Handle R_386_TLS_GOTDESC and | |
113 | R_386_TLS_DESC_CALL. | |
114 | (allocate_dynrelocs): Count function PLT relocations. Reserve | |
115 | space for TLS descriptors and relocations. | |
116 | (elf_i386_size_dynamic_sections): Reserve space for TLS | |
117 | descriptors and relocations. Set up sgotplt_jump_table_size. | |
118 | Don't zero reloc_count in srelplt. | |
119 | (elf_i386_always_size_sections): New. Set up _TLS_MODULE_BASE_. | |
120 | (elf_i386_relocate_section): Handle R_386_TLS_GOTDESC and | |
121 | R_386_TLS_DESC_CALL. | |
122 | (elf_i386_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. | |
123 | (elf_backend_always_size_sections): Define. | |
124 | * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_GOTPC32_TLSDESC, | |
125 | R_X86_64_TLSDESC, R_X86_64_TLSDESC_CALL. | |
126 | (R_X86_64_standard): Adjust. | |
127 | (x86_64_reloc_map): Map new relocs. | |
128 | (elf64_x86_64_rtype_to_howto): New, split out of... | |
129 | (elf64_x86_64_info_to_howto): ... this function, and... | |
130 | (elf64_x86_64_reloc_type_lookup): ... use it to map elf_reloc_val. | |
131 | (GOT_TLS_GDESC, GOT_TLS_GD_BOTH_P): New macros. | |
132 | (GOT_TLS_GD_P, GOT_TLS_GDESC_P, GOT_TLS_GD_ANY_P): New macros. | |
133 | (struct elf64_x86_64_link_hash_entry): Add tlsdesc_got field. | |
134 | (struct elf64_x86_64_obj_tdata): Add local_tlsdesc_gotent field. | |
135 | (elf64_x86_64_local_tlsdesc_gotent): New macro. | |
136 | (struct elf64_x86_64_link_hash_table): Add tlsdesc_plt, | |
137 | tlsdesc_got and sgotplt_jump_table_size fields. | |
138 | (elf64_x86_64_compute_jump_table_size): New macro. | |
139 | (link_hash_newfunc): Initialize tlsdesc_got. | |
140 | (elf64_x86_64_link_hash_table_create): Initialize new fields. | |
141 | (elf64_x86_64_tls_transition): Handle R_X86_64_GOTPC32_TLSDESC and | |
142 | R_X86_64_TLSDESC_CALL. | |
143 | (elf64_x86_64_check_relocs): Likewise. Allocate space for | |
144 | local_tlsdesc_gotent. | |
145 | (elf64_x86_64_gc_sweep_hook): Handle R_X86_64_GOTPC32_TLSDESC and | |
146 | R_X86_64_TLSDESC_CALL. | |
147 | (allocate_dynrelocs): Count function PLT relocations. Reserve | |
148 | space for TLS descriptors and relocations. | |
149 | (elf64_x86_64_size_dynamic_sections): Reserve space for TLS | |
150 | descriptors and relocations. Set up sgotplt_jump_table_size, | |
151 | tlsdesc_plt and tlsdesc_got. Make room for them. Don't zero | |
152 | reloc_count in srelplt. Add dynamic entries for DT_TLSDESC_PLT | |
153 | and DT_TLSDESC_GOT. | |
154 | (elf64_x86_64_always_size_sections): New. Set up | |
155 | _TLS_MODULE_BASE_. | |
156 | (elf64_x86_64_relocate_section): Handle R_386_TLS_GOTDESC and | |
157 | R_386_TLS_DESC_CALL. | |
158 | (elf64_x86_64_finish_dynamic_symbol): Use GOT_TLS_GD_ANY_P. | |
159 | (elf64_x86_64_finish_dynamic_sections): Set DT_TLSDESC_PLT and | |
160 | DT_TLSDESC_GOT. Set up TLS descriptor lazy resolver PLT entry. | |
161 | (elf_backend_always_size_sections): Define. | |
162 | ||
6dd55cb7 L |
163 | 2006-01-17 H.J. Lu <hongjiu.lu@intel.com> |
164 | ||
165 | PR binutils/2096 | |
166 | * dwarf2.c (comp_unit_contains_address): Update comment. | |
167 | (_bfd_dwarf2_find_nearest_line): Use section's vma, instead of | |
168 | lma. Return TRUE only if both comp_unit_contains_address and | |
169 | comp_unit_find_nearest_line return TRUE. | |
170 | (_bfd_dwarf2_find_line): Use section's vma, instead of lma. | |
171 | ||
64d03ab5 AM |
172 | 2006-01-18 Alan Modra <amodra@bigpond.net.au> |
173 | ||
174 | * elf-bfd.h (struct elf_backend_data): Add gc_mark_dynamic_ref. | |
175 | (bfd_elf_gc_mark_dynamic_ref_symbol): Declare. | |
176 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Rename from | |
177 | elf_gc_mark_dynamic_ref_symbol. Make global. | |
178 | (bfd_elf_gc_sections): Call bed->gc_mark_dynamic_ref. | |
179 | * elfxx-target.h (elf_backend_gc_mark_dynamic_ref): Define. | |
180 | (elfNN_bed): Init new field. | |
181 | * elf64-ppc.c (elf_backend_gc_mark_dynamic_ref): Define. | |
182 | (ppc64_elf_gc_mark_dynamic_ref): New function. | |
183 | ||
b56cbdb9 AM |
184 | 2006-01-17 Alan Modra <amodra@bigpond.net.au> |
185 | ||
186 | * elf64-ppc.c (ppc64_elf_gc_mark_hook): Don't hang forever in loop. | |
187 | ||
6c10990d NC |
188 | 2006-01-17 Nick Clifton <nickc@redhat.com> |
189 | ||
190 | PR binutils/2159 | |
191 | * elf.c (elfcore_write_pstatus): Add ATTRIBUTE_UNUSED to unused | |
192 | parameters. | |
193 | ||
d7f735da NC |
194 | 2006-01-11 Nick Clifton <nickc@redhat.com> |
195 | ||
196 | * elf32-arm.c (elf32_arm_output_symbol_hook): Install new entry | |
197 | into the newly (re)allocated map array. | |
198 | ||
2bfd55ca NC |
199 | 2006-01-09 Alexis Wilke <alexis_wilke@yahoo.com> |
200 | ||
201 | * peXXigen.c (tbl): Add comma after "HIGH3ADJ". | |
202 | ||
bce50a28 JJ |
203 | 2006-01-01 Jakub Jelinek <jakub@redhat.com> |
204 | ||
205 | * elf64-ppc.c (ppc64_elf_action_discarded): Return 0 | |
206 | for .toc1 section. | |
207 | ||
e88d958a | 208 | For older changes see ChangeLog-2005 |
56882138 AM |
209 | \f |
210 | Local Variables: | |
211 | mode: change-log | |
212 | left-margin: 8 | |
213 | fill-column: 74 | |
214 | version-control: never | |
215 | End: |