OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [ChangeLog] - Blame information for rev 166

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 166 khays
2012-03-01  Alan Modra  
2 163 khays
 
3 166 khays
        * elfxx-tilegx.c (tilegx_elf_relocate_section): Silence bogus warning.
4 163 khays
 
5 166 khays
2012-02-27  Alan Modra  
6 163 khays
 
7 166 khays
        * elf32-sh.c (sh_elf_osec_to_segment): Check for elf flavour bfd
8
        before calling elf specific function.
9
        (sh_elf_osec_readonly_p): Test for error return from above.
10 163 khays
 
11 166 khays
2012-02-27  Alan Modra  
12 163 khays
 
13 166 khays
        * elf32-spu.c (build_stub): Fix malloc under-allocation.
14 163 khays
 
15 166 khays
2012-02-25  Walter Lee  
16
        * reloc.c: Add BFD_RELOC_TILEPRO_TLS_GD_CALL,
17
        BFD_RELOC_TILEPRO_IMM8_X0_TLS_GD_ADD,
18
        BFD_RELOC_TILEPRO_IMM8_X1_TLS_GD_ADD,
19
        BFD_RELOC_TILEPRO_IMM8_Y0_TLS_GD_ADD,
20
        BFD_RELOC_TILEPRO_IMM8_Y1_TLS_GD_ADD,
21
        BFD_RELOC_TILEPRO_TLS_IE_LOAD, BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE,
22
        BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE,
23
        BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_LO,
24
        BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_LO,
25
        BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HI,
26
        BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HI,
27
        BFD_RELOC_TILEPRO_IMM16_X0_TLS_LE_HA,
28
        BFD_RELOC_TILEPRO_IMM16_X1_TLS_LE_HA,
29
        BFD_RELOC_TILEGX_IMM16_X0_HW0_TLS_LE,
30
        BFD_RELOC_TILEGX_IMM16_X1_HW0_TLS_LE,
31
        BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_TLS_LE,
32
        BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_TLS_LE,
33
        BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_TLS_LE,
34
        BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_TLS_LE,
35
        BFD_RELOC_TILEGX_TLS_GD_CALL, BFD_RELOC_TILEGX_IMM8_X0_TLS_GD_ADD,
36
        BFD_RELOC_TILEGX_IMM8_X1_TLS_GD_ADD,
37
        BFD_RELOC_TILEGX_IMM8_Y0_TLS_GD_ADD,
38
        BFD_RELOC_TILEGX_IMM8_Y1_TLS_GD_ADD, BFD_RELOC_TILEGX_TLS_IE_LOAD,
39
        BFD_RELOC_TILEGX_IMM8_X0_TLS_ADD,
40
        BFD_RELOC_TILEGX_IMM8_X1_TLS_ADD,
41
        BFD_RELOC_TILEGX_IMM8_Y0_TLS_ADD, BFD_RELOC_TILEGX_IMM8_Y1_TLS_ADD.
42
        Delete BFD_RELOC_TILEGX_IMM16_X0_HW1_GOT,
43
        BFD_RELOC_TILEGX_IMM16_X1_HW1_GOT,
44
        BFD_RELOC_TILEGX_IMM16_X0_HW2_GOT,
45
        BFD_RELOC_TILEGX_IMM16_X1_HW2_GOT,
46
        BFD_RELOC_TILEGX_IMM16_X0_HW3_GOT,
47
        BFD_RELOC_TILEGX_IMM16_X1_HW3_GOT,
48
        BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_GOT,
49
        BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_GOT,
50
        BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_GD,
51
        BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_GD,
52
        BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_GD,
53
        BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_GD,
54
        BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_GD,
55
        BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_GD,
56
        BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_GD,
57
        BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_GD,
58
        BFD_RELOC_TILEGX_IMM16_X0_HW1_TLS_IE,
59
        BFD_RELOC_TILEGX_IMM16_X1_HW1_TLS_IE,
60
        BFD_RELOC_TILEGX_IMM16_X0_HW2_TLS_IE,
61
        BFD_RELOC_TILEGX_IMM16_X1_HW2_TLS_IE,
62
        BFD_RELOC_TILEGX_IMM16_X0_HW3_TLS_IE,
63
        BFD_RELOC_TILEGX_IMM16_X1_HW3_TLS_IE,
64
        BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_TLS_IE,
65
        BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_TLS_IE.
66
        * elf32-tilepro.c (tilepro_elf_howto_table): Update tilepro
67
        relocations.
68
        (tilepro_reloc_map): Ditto.
69
        (tilepro_info_to_howto_rela): Ditto.
70
        (reloc_to_create_func): Ditto.
71
        (tilepro_tls_translate_to_le): New.
72
        (tilepro_tls_translate_to_ie): New.
73
        (tilepro_elf_tls_transition): New.
74
        (tilepro_elf_check_relocs): Handle new tls relocations.
75
        (tilepro_elf_gc_sweep_hook): Ditto.
76
        (allocate_dynrelocs): Ditto.
77
        (tilepro_elf_relocate_section): Ditto.
78
        (tilepro_replace_insn): New.
79
        (insn_mask_X1): New.
80
        (insn_mask_X0_no_dest_no_srca): New
81
        (insn_mask_X1_no_dest_no_srca): New
82
        (insn_mask_Y0_no_dest_no_srca): New
83
        (insn_mask_Y1_no_dest_no_srca): New
84
        (srca_mask_X0): New
85
        (srca_mask_X1): New
86
        (insn_tls_le_move_X1): New
87
        (insn_tls_le_move_zero_X0X1): New
88
        (insn_tls_ie_lw_X1): New
89
        (insn_tls_ie_add_X0X1): New
90
        (insn_tls_ie_add_Y0Y1): New
91
        (insn_tls_gd_add_X0X1): New
92
        (insn_tls_gd_add_Y0Y1): New
93
        * elfxx-tilegx.c (tilegx_elf_howto_table): Update tilegx
94
        relocations.
95
        (tilegx_reloc_map): Ditto.
96
        (tilegx_info_to_howto_rela): Ditto.
97
        (reloc_to_create_func): Ditto.
98
        (tilegx_elf_link_hash_table): New field disable_le_transition.
99
        (tilegx_tls_translate_to_le): New.
100
        (tilegx_tls_translate_to_ie): New.
101
        (tilegx_elf_tls_transition): New.
102
        (tilegx_elf_check_relocs): Handle new tls relocations.
103
        (tilegx_elf_gc_sweep_hook): Ditto.
104
        (allocate_dynrelocs): Ditto.
105
        (tilegx_elf_relocate_section): Ditto.
106
        (tilegx_copy_bits): New.
107
        (tilegx_replace_insn): New.
108
        (insn_mask_X1): New.
109
        (insn_mask_X0_no_dest_no_srca): New.
110
        (insn_mask_X1_no_dest_no_srca): New.
111
        (insn_mask_Y0_no_dest_no_srca): New.
112
        (insn_mask_Y1_no_dest_no_srca): New.
113
        (insn_mask_X0_no_operand): New.
114
        (insn_mask_X1_no_operand): New.
115
        (insn_mask_Y0_no_operand): New.
116
        (insn_mask_Y1_no_operand): New.
117
        (insn_tls_ie_ld_X1): New.
118
        (insn_tls_ie_ld4s_X1): New.
119
        (insn_tls_ie_add_X0X1): New.
120
        (insn_tls_ie_add_Y0Y1): New.
121
        (insn_tls_ie_addx_X0X1): New.
122
        (insn_tls_ie_addx_Y0Y1): New.
123
        (insn_tls_gd_add_X0X1): New.
124
        (insn_tls_gd_add_Y0Y1): New.
125
        (insn_move_X0X1): New.
126
        (insn_move_Y0Y1): New.
127
        (insn_add_X0X1): New.
128
        (insn_add_Y0Y1): New.
129
        (insn_addx_X0X1): New.
130
        (insn_addx_Y0Y1): New.
131 163 khays
        * libbfd.h: Regenerate.
132
        * bfd-in2.h: Regenerate.
133
 
134 166 khays
2012-02-25  Walter Lee  
135 163 khays
 
136 166 khays
        * config.bfd (tilegx-*-*): rename little endian vector; add big
137
        endian vector.
138
        (tilegxbe-*-*): New case.
139
        * configure.in (bfd_elf32_tilegx_vec): Rename...
140
        (bfd_elf32_tilegx_le_vec): ... to this.
141
        (bfd_elf32_tilegx_be_vec): New vector.
142
        (bfd_elf64_tilegx_vec): Rename...
143
        (bfd_elf64_tilegx_le_vec): ... to this.
144
        (bfd_elf64_tilegx_be_vec): New vector.
145 163 khays
        * configure: Regenerate.
146 166 khays
        * elf32-tilegx.c (TARGET_LITTLE_SYM): Rename.
147
        (TARGET_LITTLE_NAME): Ditto.
148
        (TARGET_BIG_SYM): Define.
149
        (TARGET_BIG_NAME): Define.
150
        * elf64-tilegx.c (TARGET_LITTLE_SYM): Rename.
151
        (TARGET_LITTLE_NAME): Ditto.
152
        (TARGET_BIG_SYM): Define.
153
        (TARGET_BIG_NAME): Define.
154
        * targets.c (bfd_elf32_tilegx_vec): Rename...
155
        (bfd_elf32_tilegx_le_vec): ... to this.
156
        (bfd_elf32_tilegx_be_vec): Declare.
157
        (bfd_elf64_tilegx_vec): Rename...
158
        (bfd_elf64_tilegx_le_vec): ... to this.
159
        (bfd_elf64_tilegx_be_vec): Declare.
160
        (_bfd_target_vector): Add / rename above vectors.
161
        * arctures.c (bfd_architecture): Define bfd_mach_tilegx32.
162 161 khays
        * bfd-in2.h: Regenerate.
163 166 khays
        * cpu-tilegx.c (bfd_tilegx32_arch): define.
164
        (bfd_tilegx_arch): link to bfd_tilegx32_arch.
165 161 khays
 
166 166 khays
2012-02-24  Nick Clifton  
167 161 khays
 
168 166 khays
        PR ld/13730
169
        * reloc.c (bfd_generic_get_relocated_section_contents): Issue an
170
        error message instead of aborting, when an outofrange reloc is
171
        encountered.
172 161 khays
 
173 166 khays
2012-02-23  Iain Sandoe  
174 161 khays
 
175 166 khays
        * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New.
176
        (bfd_mach_o_canonicalize_one_reloc):  Swap non-scattered reloc
177
        bit-fields when target and host differ in endian-ness.  When
178
        PAIRs are non-scattered find the 'symbol' from the preceding
179
        reloc.  Add FIXME re. reloc symbols on section boundaries.
180
        (bfd_mach_o_swap_out_non_scattered_reloc): New.
181
        (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc.
182 161 khays
 
183 166 khays
2012-02-17  Iain Sandoe  
184 161 khays
 
185 166 khays
        * mach-o-i386.c (i386_howto_table): Add support for 16 bit
186
        sect-diffs.
187
        (bfd_mach_o_i386_swap_reloc_in): Handle 16bit sect-diffs.
188
        (bfd_mach_o_i386_swap_reloc_out): Likewise.
189 161 khays
 
190 166 khays
2012-02-17  Tristan Gingold  
191 161 khays
 
192 166 khays
        * reloc.c (BFD_RELOC_MACH_O_LOCAL_SECTDIFF):
193 161 khays
        * libbfd.h: Regenerated.
194 166 khays
        * bfd-in2.h: Likewise.
195
        * mach-o-i386.c (i386_howto_table): Include local sectdiff.
196
        (bfd_mach_o_i386_swap_reloc_in): Update for local sectdiff.
197
        (bfd_mach_o_i386_swap_reloc_out): Likewise.
198 161 khays
 
199 166 khays
2012-02-17  Andreas Krebbel  
200 161 khays
 
201 166 khays
        * elf32-s390.c (elf_s390_relocate_section): Support basr in the
202
        GD->LE and LD->LE optimizations.
203 161 khays
 
204 166 khays
2012-02-16  Alan Modra  
205 161 khays
 
206 166 khays
        PR binutils/13355
207
        * elf32-rx.c (elf32_rx_relax_section): Correct width check.
208 161 khays
 
209 166 khays
2012-02-13  Richard Henderson  
210 161 khays
 
211 166 khays
        PR ld/13621
212
        * linker.c (fix_syms): Force symbols outside any section into
213
        bfd_abs_section_ptr.
214 161 khays
 
215 166 khays
2012-02-13  Alan Modra  
216 161 khays
 
217 166 khays
        * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function.
218
        * elf32-m68hc1x.h (elf32_m68hc11_merge_symbol_attribute): Declare.
219
        * elf32-m68hc11.c (elf_backend_merge_symbol_attribute): Define.
220
        * elf32-m68hc12.c (elf_backend_merge_symbol_attribute): Define.
221 161 khays
 
222 166 khays
2012-02-11  Jan Kratochvil  
223
            Nick Clifton  
224 161 khays
 
225 166 khays
        * oasys.c (oasys_write_header): Fix compilation warning on zero-sized
226
        memset.
227 161 khays
 
228 166 khays
2012-02-10  Iain Sandoe  
229 161 khays
 
230 166 khays
        * mach-o.c (bfd_mach_o_build_seg_command): Count zerofill section
231
        vma additions in their logical, rather than physical order.
232 161 khays
 
233 166 khays
2012-02-10  Iain Sandoe  
234 161 khays
 
235 166 khays
        * mach-o.c (mach_o_section_name_xlat): Correct eh-frame section
236
        parameters.
237
        * mach-o-x86-64.c (text_section_names_xlat): New.
238
        (mach_o_x86_64_segsec_names_xlat): New.
239
        (bfd_mach_o_tgt_seg_table): Define to mach_o_x86_64_segsec_names_xlat.
240
        * mach-o-i386.c (text_section_names_xlat): Correct section parameters.
241 161 khays
 
242 166 khays
2012-02-10  Tristan Gingold  
243 161 khays
 
244 166 khays
        * elfnn-ia64.c (elfNN_vms_object_p): Change comparison operator
245
        to avoid infinite loop.  Add comments.
246 161 khays
 
247 166 khays
2012-02-09  H.J. Lu  
248 161 khays
 
249 166 khays
        PR ld/13675
250
        * cpu-i386.c (bfd_arch_i386_fill): Updated to support multi byte
251
        nop instructions.
252
        (bfd_arch_i386_short_nop_fill): New.
253
        (bfd_arch_i386_long_nop_fill): Likewise.
254
        Use bfd_arch_i386_short_nop_fill in 32bit bfd_arch_info
255
        initializers.  Use bfd_arch_i386_long_nop_fill on 64bit
256
        bfd_arch_info initializers.
257 161 khays
 
258 166 khays
        * cpu-k1om.c (bfd_arch_i386_fill): Renamed to ...
259
        (bfd_arch_i386_short_nop_fill): This.
260
        Update bfd_arch_info initializers.
261
        * cpu-l1om.c: Likewise.
262 161 khays
 
263 166 khays
2012-02-08  Alan Modra  
264 161 khays
 
265 166 khays
        * elflink.c (_bfd_elf_gc_mark_rsec): Mark weakdef syms too.
266
        (_bfd_elf_fix_symbol_flags): When a weakdef is def_regular, clear
267
        the correct h->u.weakdef.
268 161 khays
 
269 166 khays
2012-02-07  Alan Modra  
270 161 khays
 
271 166 khays
        * elf.c (elf_find_function): Don't use internal_elf_sym.
272
        (_bfd_elf_maybe_function_sym): Likewise.  Replace elf_symbol_type
273
        parameter with asymbol.
274
        * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise.
275
        * elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype.
276
        (struct elf_backend_data ): Likewise.
277 161 khays
 
278 166 khays
2012-02-02  Vidya Praveen (vidya.praveen@atmel.com)
279 161 khays
 
280 166 khays
        PR bfd/13410
281
        * bfd/elf32-avr.c (elf32_avr_relax_section): Correct the
282
        condition that qualifies the candidates for relaxation.
283 161 khays
 
284 166 khays
2012-02-02  Tristan Gingold  
285 161 khays
 
286 166 khays
        * bfdio.c (real_fopen): Remove unused vms_modes variable.
287 161 khays
 
288 166 khays
2012-02-02  Tristan Gingold  
289 161 khays
 
290 166 khays
        * mach-o.c (bfd_mach_o_read_header): Silent uninitialized
291
        variable warning.
292 161 khays
 
293 166 khays
2012-02-02  Tristan Gingold  
294 161 khays
 
295 166 khays
        * archive.c (bfd_slurp_armap): Fix thinko in cast.
296 161 khays
 
297 166 khays
2012-01-31  H.J. Lu  
298 161 khays
 
299 166 khays
        PR ld/13616
300
        * archures.c (bfd_arch_info): Add fill.
301
        (bfd_default_arch_struct): Add bfd_arch_default_fill.
302
        (bfd_arch_default_fill): New.
303 161 khays
 
304 166 khays
        * configure.in: Set bfd version to 2.22.52.
305 14 khays
        * configure: Regenerated.
306
 
307 166 khays
        * cpu-alpha.c: Add bfd_arch_default_fill to bfd_arch_info
308
        initializer.
309
        * cpu-arc.c: Likewise.
310
        * cpu-arm.c: Likewise.
311
        * cpu-avr.c: Likewise.
312
        * cpu-bfin.c: Likewise.
313
        * cpu-cr16.c: Likewise.
314
        * cpu-cr16c.c: Likewise.
315
        * cpu-cris.c: Likewise.
316
        * cpu-crx.c: Likewise.
317
        * cpu-d10v.c: Likewise.
318
        * cpu-d30v.c: Likewise.
319
        * cpu-dlx.c: Likewise.
320
        * cpu-epiphany.c: Likewise.
321
        * cpu-fr30.c: Likewise.
322
        * cpu-frv.c: Likewise.
323
        * cpu-h8300.c: Likewise.
324
        * cpu-h8500.c: Likewise.
325
        * cpu-hppa.c: Likewise.
326
        * cpu-i370.c: Likewise.
327
        * cpu-i860.c: Likewise.
328
        * cpu-i960.c: Likewise.
329
        * cpu-ia64.c: Likewise.
330
        * cpu-ip2k.c: Likewise.
331
        * cpu-iq2000.c: Likewise.
332
        * cpu-lm32.c: Likewise.
333
        * cpu-m10200.c: Likewise.
334
        * cpu-m10300.c: Likewise.
335
        * cpu-m32c.c: Likewise.
336
        * cpu-m32r.c: Likewise.
337
        * cpu-m68hc11.c: Likewise.
338
        * cpu-m68hc12.c: Likewise.
339
        * cpu-m68k.c: Likewise.
340
        * cpu-m88k.c: Likewise.
341
        * cpu-mcore.c: Likewise.
342
        * cpu-mep.c: Likewise.
343
        * cpu-microblaze.c: Likewise.
344
        * cpu-mips.c: Likewise.
345
        * cpu-mmix.c: Likewise.
346
        * cpu-moxie.c: Likewise.
347
        * cpu-msp430.c: Likewise.
348
        * cpu-mt.c: Likewise.
349
        * cpu-ns32k.c: Likewise.
350
        * cpu-openrisc.c: Likewise.
351
        * cpu-or32.c: Likewise.
352
        * cpu-pdp11.c: Likewise.
353
        * cpu-pj.c: Likewise.
354
        * cpu-plugin.c: Likewise.
355
        * cpu-powerpc.c: Likewise.
356
        * cpu-rl78.c: Likewise.
357
        * cpu-rs6000.c: Likewise.
358
        * cpu-rx.c: Likewise.
359
        * cpu-s390.c: Likewise.
360
        * cpu-score.c: Likewise.
361
        * cpu-sh.c: Likewise.
362
        * cpu-sparc.c: Likewise.
363
        * cpu-spu.c: Likewise.
364
        * cpu-tic30.c: Likewise.
365
        * cpu-tic4x.c: Likewise.
366
        * cpu-tic54x.c: Likewise.
367
        * cpu-tic6x.c: Likewise.
368
        * cpu-tic80.c: Likewise.
369
        * cpu-tilegx.c: Likewise.
370
        * cpu-tilepro.c: Likewise.
371
        * cpu-v850.c: Likewise.
372
        * cpu-vax.c: Likewise.
373
        * cpu-w65.c: Likewise.
374
        * cpu-we32k.c: Likewise.
375
        * cpu-xc16x.c: Likewise.
376
        * cpu-xstormy16.c: Likewise.
377
        * cpu-xtensa.c: Likewise.
378
        * cpu-z80.c: Likewise.
379
        * cpu-z8k.c: Likewise.
380 14 khays
 
381 166 khays
        * cpu-i386.c: Include "libiberty.h".
382
        (bfd_arch_i386_fill): New.
383
        Add bfd_arch_i386_fill to  bfd_arch_info initializer.
384 14 khays
 
385 166 khays
        * cpu-k1om.c: Add bfd_arch_i386_fill to  bfd_arch_info initializer.
386
        * cpu-l1om.c: Likewise.
387 14 khays
 
388 166 khays
        * linker.c (default_data_link_order): Call abfd->arch_info->fill
389
        if fill size is 0.
390 14 khays
 
391
        * bfd-in2.h: Regenerated.
392
 
393 166 khays
2012-01-27  Michael Eager  
394 14 khays
 
395 166 khays
        * bfd/elf32-microblaze.c (create_got_section):
396
        Reuse existing .rela.got section.
397 14 khays
 
398 166 khays
2012-01-23  Alan Modra  
399 14 khays
 
400 166 khays
        * elf-bfd.h: Formatting.
401
        (struct elf_backend_data): Add "maybe_function_sym".
402
        (_bfd_elf_maybe_function_sym): Declare.
403
        * elfxx-target.h (elf_backend_maybe_function_sym): Define.
404
        (elfNN_bed): Init new field.
405
        * elf.c (elf_find_function): Use maybe_function_sym.
406
        (_bfd_elf_maybe_function_sym): New function.
407
        * elf64-ppc.c (elf_backend_maybe_function_sym): Define.
408
        (ppc64_elf_maybe_function_sym): New function.
409 14 khays
 
410 166 khays
2012-01-20  Francois Gouget  
411 14 khays
 
412 166 khays
        PR binutils/13534
413
        * archive.c (_bfd_ar_sizepad): New function. Correctly install and
414
        pad the size field in an archive header.
415
        (_bfd_generic_read_ar_hdr_mag): Use the correct type and scan
416
        function for the archive size field.
417
        (bfd_generic_openr_next_archived_file): Likewise.
418
        (do_slurp_coff_armap): Likewise.
419
        (_bfd_write_archive_contents): Likewise.
420
        (_bfd_bsd44_write_ar_hdr): Use the new function.
421
        (bfd_ar_hdr_from_filesystem): Likewise.
422
        (_bfd_write_archive_contents): Likewise.
423
        (bsd_write_armap): Likewise.
424
        (coff_write_armap): Likewise.
425
        * archive64.c (bfd_elf64_archive_write_armap): Likewise.
426
        * bfdio.c (bfd_bread): Use correct type for archive element
427
        sizes.
428
        * ar.c (open_inarch): Likewise.
429
        (extract_file): Likewise.
430
        * libbfd-in.h (struct areltdata): Use correct types for
431
        parsed_size and extra_size fields.
432
        Prototype _bfd_ar_sizepad function.
433 14 khays
        * libbfd.h: Regenerate.
434
 
435 166 khays
2012-01-20  Ulrich Weigand  
436 14 khays
 
437 166 khays
        * elf.c (elfcore_write_prpsinfo): Provide unconditionally.
438
        Return NULL if core file generation is unsupported.
439
        (elfcore_write_prstatus): Likewise.
440
        * elf32-arm.c (elf32_arm_nabi_write_core_note): New function.
441
        (elf_backend_write_core_note): Define.
442 14 khays
 
443 166 khays
2012-01-19  Tristan Gingold  
444 14 khays
 
445 166 khays
        * pef.c: Add a comment.
446
        * xsym.c: Likewise.
447 14 khays
 
448 166 khays
2012-01-17  Alan Modra  
449 14 khays
 
450 166 khays
        * elf32-ppc.c (ppc_elf_write_core_note ): Don't leave
451
        trailing garbage in the note.
452
        * elf64-ppc.c (ppc64_elf_write_core_note ): Likewise.
453 14 khays
 
454 166 khays
2012-01-16  Daniel Green  
455 14 khays
 
456 166 khays
        PR ld/13491
457
        * coff-i386.c (coff_i386_rtype_to_howto ): Test
458
        h->root.type not h->type.
459
        * coff-x86_64.c (coff_amd64_rtype_to_howto ): Likewise.
460 14 khays
 
461 166 khays
2012-01-13  Iain Sandoe  
462 14 khays
 
463 166 khays
        * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute
464
        indirect symbols.
465 14 khays
 
466 166 khays
2012-01-13  Iain Sandoe  
467 14 khays
 
468 166 khays
        * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file
469
        position from here... to (bfd_mach_o_build_seg_command): Here.
470 14 khays
 
471 166 khays
2012-01-12  Iain Sandoe  
472 14 khays
 
473 166 khays
        * mach-o.c (bfd_mach_o_count_indirect_symbols): New.
474
        (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table.
475
        * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the
476
        file. (bfd_mach_o_section): Add indirect_syms field.
477 14 khays
 
478 166 khays
2012-01-11  Iain Sandoe  
479 14 khays
 
480 166 khays
        * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of
481
        vmsize from filesize.  Don't compute offsets or file sizes for
482
        zerofill sections.
483 14 khays
 
484 166 khays
2012-01-11  Iain Sandoe  
485 14 khays
 
486 166 khays
        * mach-o.c (bfd_mach_o_build_commands): Make the building of each
487
        command type independent.
488 14 khays
 
489 166 khays
2012-01-11  Alan Modra  
490 14 khays
 
491 166 khays
        * elf64-ppc.c: Define more insns used in plt call stubs.
492
        (ppc64_elf_brtaken_reloc): Assume isa version 2 or above.
493
        (ppc64_elf_relocate_section): Likewise.
494
        (enum ppc_stub_type): Add ppc_stub_plt_call_r2save.
495
        (struct ppc_link_hash_table): Increase size of stub_count array.
496
        Add plt_stub_align and plt_thread_safe.
497
        (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define.
498
        (plt_stub_size, plt_stub_pad): New functions.
499
        (build_plt_stub): Emit barriers for power7 thread safety.  Don't
500
        emit needless save of r2.
501
        (build_tls_get_addr_stub): Adjust params.
502
        (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning
503
        plt stubs.  Adjust build_*plt_stub calls.
504
        (ppc_size_one_stub): Similarly.
505
        (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align
506
        params.  Choose default for plt_thread_safe based on existence of
507
        calls to thread creation functions.  Modify plt_call to
508
        plt_call_r2save when no tocsave reloc found.  Align tail of stub
509 14 khays
        sections.
510 166 khays
        (ppc64_elf_build_stubs): Align tail of stub sections.  Adjust
511
        output of stub statistics.
512
        (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save.
513
        * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
514 14 khays
 
515 166 khays
2012-01-10  H.J. Lu  
516 14 khays
 
517 166 khays
        PR ld/13581
518
        * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P
519
        check on R_X86_64_PCXX.
520 14 khays
 
521 166 khays
2012-01-10  Tristan Gingold  
522 14 khays
 
523 166 khays
        * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false
524
        warning.
525 14 khays
 
526 166 khays
2012-01-10  Tristan Gingold  
527 14 khays
 
528 166 khays
        * bfdio.c (bfd_tell): Handle nested archives.
529
        (bfd_seek): Ditto.
530
        * cache.c (bfd_cache_lookup_worker): Ditto.
531
        * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with
532
        nested archives.
533
        (bfd_generic_openr_next_archived_file): Likewise.
534 14 khays
 
535 166 khays
2012-01-09  Iain Sandoe  
536 14 khays
 
537 166 khays
        * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement.
538
        (bfd_mach_o_write_symtab): Remove handling for indirect syms.
539
        (bfd_mach_o_primary_symbol_sort_key): Likewise.
540
        (bfd_mach_o_cf_symbols): Likewise.
541
        (bfd_mach_o_sort_symbol_table): Remove.
542
        (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling
543
        for indirect and dysymtab counts.  Do the symbol sorting here.
544
        (bfd_mach_o_build_dysymtab_command): Count the symbol types here.
545
        Make the indirect symbols a TODO.
546
        (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols.
547
        (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with
548
        a non-zero value.
549
        (bfd_mach_o_read_symtab_symbol): Record the symbol index.
550
        (bfd_mach_o_read_symtab_symbol): Adjust recording of global status.
551
        * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries.
552
        (IS_MACHO_INDIRECT): Remove.
553
        (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New.
554 14 khays
 
555 166 khays
2012-01-06  Nick Clifton  
556 14 khays
 
557 166 khays
        PR binutils/13121
558
        * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to
559
        'flaginfo' to avoid conflicts with AIX system headers.
560 14 khays
 
561 166 khays
2012-01-06  Tristan Gingold  
562 14 khays
 
563 166 khays
        * bfdio.c (bfd_bread): Use arelt_size macro.
564 14 khays
 
565 166 khays
2012-01-06  Tristan Gingold  
566 14 khays
 
567 166 khays
        * config.bfd (i[3-7]86-*-darwin*): Define targ64_selvecs.
568 14 khays
 
569 166 khays
2012-01-05  Nick Clifton  
570 14 khays
 
571 166 khays
        PR ld/12161
572
        * elf32-avr.c (elf32_avr_relax_delete_bytes): Read in relocs if
573
        necessary.
574 14 khays
 
575 166 khays
2012-01-05  Jan Kratochvil  
576 14 khays
 
577 166 khays
        Fix zero registers core files when built by gcc-4.7.
578
        * elf64-x86-64.c (elf_x86_64_write_core_note): Remove variables p and
579
        size.  Call elfcore_write_note for the local variables.  Remove the
580
        final elfcore_write_note call.  Add NOTREACHED comments.
581 14 khays
 
582 166 khays
2012-01-04  Tristan Gingold  
583 14 khays
 
584 166 khays
        * mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function.
585
        (bfd_mach_o_generic_stat_arch_elt): Adjust.
586 14 khays
 
587 166 khays
2012-01-04  Tristan Gingold  
588 14 khays
 
589 166 khays
        * mach-o.c (bfd_mach_o_fat_member_init): New function.
590
        (bfd_mach_o_openr_next_archived_file): Reindent.
591
        Adjust to call bfd_mach_o_fat_member_init.
592
        (bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init.
593 14 khays
 
594 166 khays
2012-01-04  Tristan Gingold  
595 14 khays
 
596 166 khays
        * mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle
597
        BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1,
598
        BFD_RELOC_MACH_O_X86_64_PCREL32_2,
599
        BFD_RELOC_MACH_O_X86_64_PCREL32_4,
600
        BFD_RELOC_MACH_O_X86_64_BRANCH32,
601
        BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
602
        BFD_RELOC_MACH_O_X86_64_GOT.
603 14 khays
 
604 166 khays
2012-01-04  Tristan Gingold  
605 14 khays
 
606 166 khays
        * mach-o.h (bfd_mach_o_fvmlib_command): New structure.
607
        (bfd_mach_o_load_command): Add fvmlib field.
608 14 khays
 
609 166 khays
        * mach-o.c (bfd_mach_o_read_fvmlib): New function.
610
        (bfd_mach_o_read_command): Handle fvmlib.
611 14 khays
 
612 166 khays
2012-01-04  Tristan Gingold  
613 14 khays
 
614 166 khays
        * mach-o.c (bfd_mach_o_convert_architecture): Reindent.
615
        Decode msubtype for ARM.
616 14 khays
 
617 166 khays
2012-01-04  Tristan Gingold  
618 14 khays
 
619 166 khays
        * mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments.
620 14 khays
 
621 166 khays
2012-01-04  Tristan Gingold  
622 14 khays
 
623 166 khays
        * mach-o.h: Reindent header.
624
        (bfd_mach_o_encryption_info_command): New structure.
625
        (bfd_mach_o_load_command): Add encryption_info field.
626 14 khays
 
627 166 khays
        * mach-o.c (bfd_mach_o_read_encryption_info): New function.
628
        (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
629
        (bfd_mach_o_read_command): Adjust error message.
630 14 khays
 
631 166 khays
2012-01-04  Shinichiro Hamaji  
632 14 khays
 
633 166 khays
        * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part
634
        which reads DWARF2 and stores in stash from find_line.
635
        (find_line) Call _bfd_dwarf2_slurp_debug_info.
636
        * libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration.
637
        * libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate.
638
        * mach-o.c (dsym_subdir): The name of subdir where debug
639
        information may be stored.
640
        (bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose
641
        type is UUID.
642
        (bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is
643
        corresponding to the executable.
644
        (bfd_mach_o_find_dsym): New. Find a debug information BFD in the
645
        specified binary file.
646
        (bfd_mach_o_follow_dsym): New. Find a debug information BFD for
647
        the original BFD.
648
        (bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O
649
        executables, dylibs, and bundles.
650
        (bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file.
651
        * mach-o.h (dsym_bfd): The BFD of the dSYM file.
652 14 khays
 
653 166 khays
2012-01-03  Iain Sandoe  
654 14 khays
 
655 166 khays
        * mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index
656
        for stabd symbols.
657
        (bfd_mach_o_primary_symbol_sort_key): Adjust for stabs.
658
        (bfd_mach_o_cf_symbols): Likewise.
659 14 khays
 
660 166 khays
2012-01-03  Iain Sandoe  
661 14 khays
 
662 166 khays
        * mach-o.c (bfd_mach_o_mangle_symbols): Correct typo.
663 14 khays
 
664 166 khays
2012-01-03  Iain Sandoe  
665 14 khays
 
666 166 khays
        * mach-o.c (bfd_mach_o_write_symtab): Fill in the string table index
667
        as the value of an indirect symbol.  Keep the string table index in
668
        non-indirect syms for reference.
669
        (bfd_mach_o_write_dysymtab): New.
670
        (bfd_mach_o_primary_symbol_sort_key): New.
671
        (bfd_mach_o_cf_symbols): New.
672
        (bfd_mach_o_sort_symbol_table): New.
673
        (bfd_mach_o_mangle_symbols): Return early if no symbols.  Sort symbols.
674
        If we are emitting a dysymtab, process indirect symbols and count the
675
        number of each other kind.
676
        (bfd_mach_o_mangle_sections): New.
677
        (bfd_mach_o_write_contents): Split out some pre-requisite code into
678
        the command builder. Write dysymtab if the command is present.
679
        (bfd_mach_o_count_sections_for_seg): New.
680
        (bfd_mach_o_build_seg_command): New.
681
        (bfd_mach_o_build_dysymtab_command): New.
682
        (bfd_mach_o_build_commands): Reorganize to support the fact that some
683
        commands are optional and should not be emitted if there are no
684
        sections or symbols.
685
        (bfd_mach_o_set_section_contents): Amend comment.
686
        * mach-o.h: Amend and add to comments.
687
        (mach_o_data_struct): Add fields for dysymtab symbols counts and a
688
        pointer to the indirects, when present.
689
        (bfd_mach_o_should_emit_dysymtab): New macro.
690
        (IS_MACHO_INDIRECT): Likewise.
691 14 khays
 
692 166 khays
For older changes see ChangeLog-2011
693 14 khays
 
694
Local Variables:
695
mode: change-log
696
left-margin: 8
697
fill-column: 74
698
version-control: never
699
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.