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