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