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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [bfd/] [ChangeLog] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
2010-02-18  Matthew Gretton-Dann  
2
 
3
        * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
4
        merging Tag_DIV_use, Tag_MPextension_use, and
5
        Tag_MPextension_use_legacy tags.
6
 
7
2010-02-18  Alan Modra  
8
 
9
        * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
10
        commit.  Don't write zeros for removed group members.
11
        (_bfd_elf_copy_private_header_data): Adjust size of group section
12
        when group members are removed by objcopy.
13
 
14
2010-02-15  Dave Korn  
15
 
16
        PR binutils/11280
17
        * configure.host (*-*-solaris2.11):  Add host define to select
18
        valid default code page for windres/windmc on solaris.
19
 
20
2010-02-15  Nick Clifton  
21
 
22
        * po/vi.po: Updated Vietnamese translation.
23
 
24
2010-02-12  Daniel Gutson  
25
 
26
        * elf32-arm.c (elf32_arm_output_arch_local_syms): add
27
        missing mapping symbol to data only sections.
28
 
29
2010-02-11  David S. Miller  
30
 
31
        * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
32
        and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
33
        symbols.
34
        (_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
35
        these relocs on global symbols.
36
        (gdopoff): New.
37
        (_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
38
        local symbol references which are not STT_GNU_IFUNC.  Handle
39
        relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
40
        and deal with negative vs. non-negative values properly.
41
 
42
2010-02-09  Tristan Gingold  
43
 
44
        * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Adjust addend for
45
        non-external relocation.
46
 
47
2010-02-09  Alan Modra  
48
 
49
        * elf64-ppc.c (merge_got_entries): Move earlier in file.
50
        (allocate_dynrelocs): Merge got entries here if not doing multi-toc.
51
        (ppc64_elf_size_dynamic_sections): Similarly merge tlsld_got.
52
        (ppc64_elf_layout_multitoc): Don't resize if we have already
53
        merged got entries.
54
 
55
2010-02-09  Michael Holzheu  
56
 
57
        * elf-bfd.h (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
58
        elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
59
        elfcore_write_s390_prefix): New.
60
        * elf.c (elfcore_write_s390_timer, elfcore_write_s390_todcmp,
61
        elfcore_write_s390_todpreg, elfcore_write_s390_ctrs,
62
        elfcore_write_s390_prefix): New.
63
        (elfcore_grok_note): Handle NT_S390_TIMER, NT_S390_TODCMP,
64
        NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
65
        (elfcore_write_register_note): Handle .reg-s390-timer,
66
        .reg-s390-todcmp, .reg-s390-todpreg, .reg-s390-ctrs,
67
        .reg-s390-prefix section.
68
 
69
2010-02-09  Alan Modra  
70
 
71
        * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
72
        unsigned char.  Update variables and code using them throughout file.
73
        (struct ppc_link_hash_entry): Likewise for tls_mask.
74
 
75
        * elf64-ppc.c (ppc64_elf_layout_multitoc): Don't merge local got ents.
76
 
77
        * elf64-ppc.c (has_small_toc_reloc): Don't define.
78
        (makes_toc_func_call, call_check_in_progress): Shuffle flags.
79
        (struct ppc64_elf_obj_tdata): Add has_small_toc_reloc.  Update
80
        code setting the flag.
81
        (ppc64_elf_next_toc_section): Group big-toc sections in
82
        0x80008000 chunks.
83
 
84
2010-02-08  David S. Miller  
85
 
86
        * elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot,
87
        srelgot, splt, srelplt, and sgotplt members in favor of generic copies.
88
 
89
        * elfxx-sparc.c (create_got_section): Delete.
90
        (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic
91
        section creator does that work for us.  Use ->elf.foo instead of
92
        ->foo where applicable.
93
        (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo
94
        where applicable.
95
        (allocate_dynrelocs): Likewise.
96
        (_bfd_sparc_elf_size_dynamic_sections): Likewise.
97
        (_bfd_sparc_elf_relocate_section): Likewise.
98
        (sparc_vxworks_build_plt_entry): Likewise.
99
        (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
100
        (sparc_finish_dyn): Likewise.
101
        (sparc_vxworks_finish_exec_plt): Likewise.
102
        (sparc_vxworks_finish_shared_plt): Likewise.
103
        (_bfd_sparc_elf_finish_dynamic_sections): Likewise.
104
 
105
        * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_*
106
        macros for visibilty and locality checks.
107
        (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
108
        (allocate_dynrelocs): Likewise.
109
        (_bfd_sparc_elf_relocate_section): Likewise.
110
        (_bfd_sparc_elf_finish_dynamic_symbol):Likewise.
111
 
112
        * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set
113
        but never used local var 'dynobj'.
114
 
115
        * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle
116
        nocopyreloc.
117
 
118
        * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
119
        (BFD_RELOC_SPARC_IRELATIVE): Likewise.
120
        * bfd-in2.h: Regenerate.
121
        * libbfd.h: Regenerate.
122
 
123
        * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
124
        and loc_hash_memory.
125
        (_bfd_sparc_elf_link_hash_table_free): Declare.
126
        * elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
127
        (elf_backend_add_symbol_hook, elf_backend_post_process_headers,
128
        bfd_elf32_bfd_link_hash_table_free): Define.
129
        * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
130
        has_ifunc_symbols if STT_GNU_IFUNC.
131
        (bfd_elf64_bfd_link_hash_table_free): Define.
132
        (elf_backend_post_process_headers): Define always.
133
        * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
134
        (sparc_reloc_map): Add entries for new IFUNC relocs.
135
        (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
136
        (_bfd_sparc_elf_info_to_howto_ptr): Likewise.
137
        (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
138
        elf_sparc_get_local_sym_hash): New.
139
        (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
140
        from here...
141
        (_bfd_sparc_elf_link_hash_table_create): ... to here.  Allocate
142
        local hash table.
143
        (_bfd_sparc_elf_link_hash_table_free): New.
144
        (create_ifunc_sections): New.
145
        (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
146
        and call create_ifunc_sections().  For local STT_GNU_IFUNC symbols
147
        cons up a fake local hash table entry for it.  Unconditionally add
148
        a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular.  Count
149
        dyn relocs for ifunc.
150
        (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
151
        (allocate_dynrelocs):  Unconditionally emit a PLT entry when
152
        STT_GNU_IFUNC and h->def_regular.  Count GOT dyn relocs for ifunc.
153
        (allocate_local_dynrelocs): New function.
154
        (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash
155
        table.  Emit dynamic relocs to irelplt when not shared.  Treat iplt
156
        like splt.
157
        (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
158
        (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc
159
        plt in iplt/irelplt.
160
 
161
2010-02-08  Richard Sandiford  
162
 
163
        * xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating
164
        max_contents_size, only consider sections whose contents must
165
        be swapped in.
166
 
167
2010-02-09  Alan Modra  
168
 
169
        * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..
170
        (ppc64_elf_size_dynamic_sections): ..and here..
171
        (merge_got_entries): ..rather than here.
172
 
173
2010-02-09  Alan Modra  
174
 
175
        * elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc.
176
        (has_small_toc_reloc): Define.
177
        (ppc64_elf_check_relocs): Set the above flags.
178
        (ppc64_elf_edit_opd): Delete obfd param.
179
        (ppc64_elf_tls_optimize): Likewise.
180
        (ppc64_elf_edit_toc): Likewise.
181
        (ppc64_elf_tls_setup): Likewise.  Add no_multi_toc param.
182
        * elf64-ppc.h: Update prototypes.
183
 
184
2010-02-08  Alan Modra  
185
 
186
        * section.c (struct bfd_section): Delete has_tls_reloc,
187
        has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done.
188
        Add sec_flg0 thru sec_flg5.
189
        (BFD_FAKE_SECTION): Update for changed flags.
190
        * ecoff.c (bfd_debug_section): Likewise.
191
        * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
192
        * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define.
193
        (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update.
194
        * elf32-xtensa.c (reloc_done): Define.
195
        * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update.
196
        * bfd-in2.h: Regenerate.
197
 
198
2010-02-08  Tristan Gingold  
199
 
200
        * mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern
201
        for non-scattered relocations.
202
 
203
2010-02-08  Nathan Sidwell  
204
 
205
        * elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty
206
        apuinfo sections, only scan input sections once and reuse the
207
        buffer.
208
 
209
2010-02-08  Philipp Tomsich  
210
 
211
        * archures.c (bfd_mach_ppc_titan): Define.
212
        * bfd-in2.h: Regenerate.
213
        * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry.
214
 
215
2010-02-08  Alan Modra  
216
 
217
        * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.
218
 
219
2010-02-05  Sterling Augustine  
220
 
221
        * elf.c (assign_file_positions_for_load_sections) Update lma of
222
        section if necessary.  Fixes Bugzilla 11219.
223
 
224
2010-02-05  H.J. Lu  
225
 
226
        * elf32-i386.c: Remove trailing white spaces.
227
        * elf64-x86-64.c: Likewise.
228
 
229
2010-02-03  Nick Clifton  
230
 
231
        * elf-bfd.h (emum elf_object_id): Rename to elf_target_id.  Add
232
        entries for other architectures.
233
        (struct elf_link_hash_table): Add hash_table_id field.
234
        (elf_hash_table_id): New accessor macro.
235
        * elflink.c (_bfd_elf_link_hash_table_init): Add target_id
236
        parameter.
237
        * elf-m10300.c (elf32_mn10300_hash_table): Check table id before
238
        returning cast pointer.
239
        (elf32_mn10300_link_hash_table_create): Identify new table as
240
        containing MN10300 extensions.
241
        (mn10300_elf_relax_section): Check pointer returned by
242
        elf32_mn10300_hash_table.
243
        * elf32-arm.c: Likewise, except using ARM extensions.
244
        * elf32-avr.c: Likewise, except using AVR extensions.
245
        * elf32-bfin.c: Likewise, except using BFIN extensions.
246
        * elf32-cris.c: Likewise, except using CRIS extensions.
247
        * elf32-frv.c: Likewise, except using FRV extensions.
248
        * elf32-hppa.c: Likewise, except using HPPA32 extensions.
249
        * elf32-i386.c: Likewise, except using I386 extensions.
250
        * elf32-lm32.c: Likewise, except using LM32 extensions.
251
        * elf32-m32r.c: Likewise, except using M32RM extensions.
252
        * elf32-m68hc11.c: Likewise, except using M68HC11 extensions.
253
        * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions.
254
        * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions.
255
        * elf32-m68k.c: Likewise, except using M68K extensions.
256
        * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions.
257
        * elf32-ppc.c: Likewise, except using PPC32 extensions.
258
        * elf32-s390.c: Likewise, except using S390 extensions.
259
        * elf32-sh.c: Likewise, except using SH extensions.
260
        * elf32-spu.c: Likewise, except using SPU extensions.
261
        * elf32-xtensa.c: Likewise, except using XTENSA extensions.
262
        * elf64-alpha.c: Likewise, except using ALPHA extensions.
263
        * elf64-hppa.c: Likewise, except using HPPA64 extensions.
264
        * elf64-ppc.c: Likewise, except using PPC64 extensions.
265
        * elf64-s390.c: Likewise, except using S390 extensions.
266
        * elf64-x86-64.c: Likewise, except using X86_64 extensions.
267
        * elfxx-ia64.c: Likewise, except using IA64 extensions.
268
        * elfxx-mips.c: Likewise, except using MIPS extensions.
269
        * elfxx-sparc.c: Likewise, except using SPARC extensions.
270
        * elfxx-sparc.h: Likewise, except using SPARC extensions.
271
        * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete
272
        redundant structure.
273
        (elf32_cr16_hash_table): Delete unused macro.
274
        (elf32_cr16_link_hash_traverse): Delete unused macro.
275
        * elf32-score.c: Likewise.
276
        * elf32-score7.c: Likewise.
277
        * elf32-vax.c: Likewise.
278
        * elf64-sh64.c: Likewise.
279
 
280
2010-02-03  Alan Modra  
281
 
282
        * elf64-ppc.c (struct plt_entry): Move earlier in file.
283
        (struct got_entry): Likewise.  Add is_indirect and got.ent fields.
284
        (struct ppc64_elf_obj_tdata): Change tlsld_got to be a struct got_entry.
285
        Update all uses.
286
        (struct ppc_link_hash_table): Add got_reli_size and second_toc_pass.
287
        Remove no_multi_toc.
288
        (update_local_sym_info, ppc64_elf_check_relocs): Clear is_indirect
289
        when allocating a new struct got_entry.
290
        (allocate_got): New function, extracted from..
291
        (allocate_dynrelocs): ..here.  Abort on got entry in non-ppc64 bfd.
292
        (ppc64_elf_size_dynamic_sections): Track got relocs allocated in
293
        .reliplt by got_reli_size.  Set owner on ppc64_tlsld_got entries.
294
        (ppc64_elf_setup_section_lists): Remove output_bfd param and
295
        no_multi_toc, add add_stub_section and layout_sections_again.  Stash
296
        new params in htab.  Extract some code to..
297
        (ppc64_elf_start_multitoc_partition): ..here.  New function.
298
        (ppc64_elf_next_toc_section): Check for linker script errors.  Handle
299
        second pass toc scan.
300
        (merge_got_entries, merge_global_got, reallocate_got): New functions.
301
        (ppc64_elf_reinit_toc): Rename to..
302
        (ppc64_elf_finish_multitoc_partition): ..this.
303
        (ppc64_elf_layout_multitoc): New function.
304
        (ppc64_elf_size_stubs): Delete output_bfd, add_stub_section and
305
        layout_sections_again params.
306
        (ppc64_elf_relocate_section): Handle indirect got entries.
307
        * elf64-ppc.h: Update prototypes.  Declare new functions.
308
 
309
2010-02-02  H.J. Lu  
310
 
311
        * elf-bfd.h (elfcore_write_xstatereg): New.
312
 
313
        * elf.c (elfcore_grok_xstatereg): New.
314
        (elfcore_write_xstatereg): Likewise.
315
        (elfcore_grok_note): Handle NT_X86_XSTATE.
316
        (elfcore_write_register_note): Handle .reg-xstate section.
317
 
318
2010-02-01  Tristan Gingold  
319
 
320
        * som.c (som_write_ar_hdr): Define this macro.
321
 
322
2010-01-30  John David Anglin  
323
 
324
        * elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
325
        R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations that use the
326
        linkage table pointer to use the global table pointer if not doing
327
        a shared link.
328
 
329
2010-01-29  Joel Brobecker  
330
 
331
        * elf.c (elfcore_grok_lwpstatus): Do not overwrite the core signal
332
        if it has already been set.
333
 
334
2010-01-27  Tristan Gingold  
335
 
336
        * vms.h: Remove trailing spaces.
337
        (struct hdr_struct): Remove unused hdr_c_cpr field.
338
        (enum file_format_enum): Add comments.
339
        * vms.c (vms_bfd_print_private_bfd_data): New function that
340
        replaces the macro.
341
        Remove trailing spaces.
342
        * vms-misc.c: Improve comments.
343
        (_bfd_vms_get_object_record): Also handle files without pads.
344
        * vms-hdr.c (_bfd_vms_write_dbg): Fix format string.
345
        * vms-gsd.c (struct flagdescstruct): Make name field const.
346
        (gsyflagdesc): Fix typo.
347
 
348
2010-01-27  Alan Modra  
349
 
350
        PR ld/11217
351
        * elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
352
        (ppc64_elf_setup_section_lists): Init them.
353
        (ppc64_elf_next_toc_section): Don't partition multi-toc between .got
354
        and .toc on the same input file.
355
        (ppc64_elf_relocate_section): Correct GOT entry offset.
356
 
357
2010-01-26  Tristan Gingold  
358
 
359
        * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add initializer for write_ar_hdr.
360
        (bfd_target): Add _bfd_write_ar_hdr_fn field.
361
        * archive.c (is_bsd44_extended_name): New macro.
362
        (_bfd_generic_read_ar_hdr_mag): Use it.  Add extra_size.
363
        (bfd_slurp_armap): Also check for "__.SYMDEF" as a BSD4.4 extended
364
        name.
365
        (_bfd_archive_bsd44_construct_extended_name_table): New function.
366
        (_bfd_generic_write_ar_hdr): Ditto.
367
        (_bfd_bsd44_write_ar_hdr): Ditto.
368
        (_bfd_write_archive_contents): Call _bfd_write_ar_hdr.
369
        (bsd_write_armap): Adjust firstreal computation.
370
        * libbfd-in.h (struct areltdata): Add extra_size field.
371
        (_bfd_generic_write_ar_hdr): Add prototype.
372
        (_bfd_bsd44_write_ar_hdr): Ditto.
373
        (_bfd_write_ar_hdr): Define.
374
        (_bfd_noarchive_write_ar_hdr): Ditto.
375
        (_bfd_archive_bsd_write_ar_hdr): Ditto.
376
        (_bfd_archive_coff_write_ar_hdr): Ditto.
377
        (_bfd_archive_bsd44_slurp_armap): Ditto.
378
        (_bfd_archive_bsd44_slurp_extended_name_table): Ditto.
379
        (_bfd_archive_bsd44_construct_extended_name_table): New prototype.
380
        (_bfd_archive_bsd44_truncate_arname): Ditto.
381
        (_bfd_archive_bsd44_write_armap): Ditto.
382
        (_bfd_archive_bsd44_read_ar_hdr): Ditto.
383
        (_bfd_archive_bsd44_write_ar_hdr): Ditto.
384
        (_bfd_archive_bsd44_openr_next_archived_file): Ditto.
385
        (_bfd_archive_bsd44_get_elt_at_index): Ditto.
386
        (_bfd_archive_bsd44_generic_stat_arch_elt): Ditto.
387
        (_bfd_archive_bsd44_update_armap_timestamp): Ditto.
388
        * libbfd.h: Regenerate.
389
        * oasys.c (oasys_write_ar_hdr): Define.
390
        * libecoff.h (_bfd_ecoff_write_ar_hdr): Define.
391
        * ieee.c (ieee_write_ar_hdr): Define.
392
        * elf64-mips.c (bfd_elf64_archive_write_ar_hdr): Define.
393
        * coff-rs6000.c (rs6000coff_vec): Adjust for write_ar_hdr field.
394
        (bfd_pmac_xcoff_backend_data): Ditto.
395
        * coff64-rs6000.c (rs6000coff64_vec): Ditto.
396
        (bfd_xcoff_aix5_backend_data): Ditto.
397
        * coff-alpha.c (alpha_ecoff_write_ar_hdr): Define.
398
        * aout-target.h (MY_write_ar_hdr): Define it if not defined.
399
        * aout-tic30.c (MY_write_ar_hdr): Ditto.
400
        * mach-o-target.c (TARGET_NAME): Use _bfd_archive_bsd44 archive.
401
        (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
402
        (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
403
        (bfd_mach_o_construct_extended_name_table)
404
        (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
405
        (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
406
        (bfd_mach_o_update_armap_timestamp): Moved to mach-o.c
407
        * mach-o.c (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr)
408
        (bfd_mach_o_slurp_armap, bfd_mach_o_slurp_extended_name_table)
409
        (bfd_mach_o_construct_extended_name_table)
410
        (bfd_mach_o_truncate_arname, bfd_mach_o_write_armap)
411
        (bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt)
412
        (bfd_mach_o_update_armap_timestamp): Moved from mach-o-target.c
413
        * bfd-in2.h: Regenerate.
414
 
415
2010-01-26  Alan Modra  
416
            H.J. Lu  
417
 
418
        PR ld/11218
419
        * elflink.c (elf_link_output_extsym): Do not ignore undefined
420
        symbols with ref_regular set when gc_sections is active.
421
 
422
2010-01-25  Alan Modra  
423
 
424
        PR ld/11217
425
        * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences
426
        with relocations against undefined weak symbols.
427
        (ppc64_elf_relocate_section): Don't optimize calls to undefined
428
        weak functions if the symbol is dynamic.
429
        (ppc64_elf_relocate_section): Edit tprel tls sequences.
430
        * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
431
        (_bfd_elf_ppc_at_tprel_transform): New function.
432
        * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare.
433
        * bfd-in2.h: Regenerate.
434
 
435
2010-01-23  Richard Sandiford  
436
 
437
        * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1.
438
        (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE.
439
        * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and
440
        bitsize to 1.
441
        (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE.
442
 
443
2010-01-21  Nick Clifton  
444
 
445
        * elflink.c (elf_link_add_object_symbols): Look up name of
446
        undefined symbol both before and after versioning has been
447
        applied.  Do not bother with symbols that are weakly undefined.
448
 
449
2010-01-21  Andreas Krebbel  
450
 
451
        * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function.
452
        (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
453
 
454
2010-01-19  Cary Coutant  
455
 
456
        * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.
457
 
458
2010-01-19  Daisuke Hatayama  
459
            Alan Modra 
460
 
461
        * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.
462
        (elf_object_p): Read e_phnum extension.
463
        (elf_write_shdrs_and_ehdr): Write e_phnum extension.
464
        * elfcore.h (elf_core_file_p): Read e_phnum extension.  Sanity check
465
        that we can read last program header.
466
 
467
2010-01-19  Matthew Gretton-Dann  
468
 
469
        * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize of
470
        R_ARM_THM_CALL entry.
471
        (elf32_arm_final_link_relocate): Correct calculation of
472
        reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22,
473
        or R_ARM_THM_JUMP24 relocation.
474
 
475
2010-01-18  Alan Modra  
476
 
477
        PR 11168
478
        * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C
479
        block past vars in COFF_IMAGE_WITH_PE block.  Report error on more
480
        than 32k sections.
481
 
482
2010-01-15  Jan Kratochvil  
483
 
484
        Fix compilation warning on gcc-3.4.
485
        * vms-tir.c (start_etir_record, sto_imm): Rename the prototype
486
        parameter index to sec_index according to the function definition.
487
 
488
2010-01-13  Chao-ying Fu  
489
 
490
        * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B.
491
        It is true for all CPUs.
492
        (jal_reloc_p): New function.
493
        (mips_elf_calculate_relocation): Rename require_jalxp to
494
        cross_mode_jump_p.
495
        Update comment for CROSS_MODE_JUMP_P.
496
        Set up cross_mode_jump_p based on the mode change.
497
        (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p.
498
        Update comment for CROSS_MODE_JUMP_P.
499
        Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx.
500
        Use !cross_mode_jump_p to guard conversion.
501
        Convert "jr t9" to "b", if possible.
502
        (_bfd_mips_elf_relocate_section): Rename require_jalx to
503
        cross_mode_jump_p.
504
        Pass &cross_mode_jump_p to call mips_elf_calculate_relocation.
505
        Pass cross_mode_jump_p to call mips_elf_perform_relocation.
506
 
507
2010-01-13  Nick Clifton  
508
 
509
        * cpu-m32c.c (m32c_scan): New function.  Ensures that a scan for
510
        "m32c" returns the m32c arch_info_struct and not the m16c
511
        arch_info_struct.
512
        (arch_info_struct): Use the new scan function.
513
        (bfd_m32c_arch): Likewise.
514
 
515
2010-01-13  Tristan Gingold  
516
 
517
        * config.bfd: Remove duplicated target vector for i386-*-darwin.
518
        Appends new arch instead of overriding.
519
        Use mach_o_x86_64_vec for x86_64-*-darwin.
520
        * configure.in: Add mach_o_x86_64_vec.
521
        * configure: Regenerate.
522
        * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
523
        * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
524
        (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
525
        * Makefile.in: Regenerate.
526
        * mach-o-x86-64.c: New file.
527
 
528
2010-01-13  Tristan Gingold  
529
 
530
        * reloc.c: Add MACH_O_X86_64 relocations.
531
        * bfd-in2.h: Regenerate.
532
        * libbfd.h: Regenerate.
533
 
534
2010-01-13  Tristan Gingold  
535
 
536
        * archive.c (normalize): Use lbasename.
537
        (bfd_bsd_truncate_arname): Ditto.
538
        (bfd_gnu_truncate_arname): Ditto.
539
 
540
2010-01-12  Tristan Gingold  
541
 
542
        * makefile.vms (CFLAGS): Turns warnings into informational messages.
543
 
544
2010-01-11  Tristan Gingold  
545
 
546
        * mach-o.h: Add x86-64 relocation types.
547
 
548
2010-01-11  Tristan Gingold  
549
 
550
        * mach-o.h (bfd_mach_o_backend_data): Add arch field.
551
        (bfd_mach_o_set_arch_mach): New prototype.
552
        * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject.
553
        (bfd_mach_o_set_arch_mach): New function.
554
        (bfd_mach_o_gen_mkobject): New function.
555
        Set TARGET_ARCHITECTURE for the generic back-ends.
556
        * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define.
557
        Check that TARGET_ARCHITECTURE is defined.
558
        Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure.
559
        * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
560
 
561
2010-01-11  Tristan Gingold  
562
 
563
        * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
564
 
565
2010-01-11  Nick Clifton  
566
 
567
        * elf32-v850.c (v850_elf_perform_relocation): Fix overflow
568
        handling of R_V850_HI16_S relocation.
569
 
570
2010-01-11  Alan Modra  
571
 
572
        PR 11103
573
        * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
574
 
575
2010-01-11  Alan Modra  
576
 
577
        PR 6832
578
        * dwarf2.c (struct comp_unit): Add sec_info_ptr.
579
        (find_abstract_instance_name): Use it.
580
        (parse_comp_unit): Set it.
581
 
582
2010-01-09  Ralf Wildenhues  
583
 
584
        * Makefile.in: Regenerate.
585
        * configure: Regenerate.
586
 
587
2010-01-08  Tristan Gingold  
588
 
589
        * archive.c: Remove bfd_special_undocumented_glue.
590
 
591
2010-01-08  Alan Modra  
592
 
593
        PR ld/11133
594
        * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook.
595
        * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise.
596
        * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
597
 
598
2010-01-07  H.J. Lu  
599
 
600
        PR ld/11138
601
        * elflink.c (elf_link_check_versioned_symbol): Don't abort if
602
        a symbol referenced by DSO is is defined in a non-shared object
603
        and forced local.
604
 
605
2010-01-07  H.J. Lu  
606
 
607
        PR ld/11133
608
        * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for
609
        undefined __start_XXX/__stop_XXX in all input files and set
610
        SEC_KEEP.
611
 
612
2010-01-07  H.J. Lu  
613
 
614
        PR ld/11143
615
        * elflink.c (elf_gc_sweep): Keep SHT_NOTE section.
616
 
617
2010-01-04  Daniel Gutson  
618
 
619
        * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
620
        before including procfs.h.
621
        (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
622
        * configure.in: Added autoconf probe for the pr_fpreg member.
623
        * configure: Regenerated.
624
        * config.in: Regenerated.
625
        * elf.c: Define _STRUCTURE_PROC before including procfs.h.
626
 
627
2010-01-04  Joel Brobecker  
628
 
629
        Fix -Wshadow warnings in dwarf2.c (seen on alpha-tru64).
630
        * dwarf2.c (concat_filename): Rename dirname with dir_name
631
        to void shadowing the dirname function.
632
        Rename subdirname with subdir_name to stay consistent with
633
        the new dir_name variable name.
634
 
635
2010-01-04  Edmar Wienskoski  
636
 
637
        * archures.c: Add bfd_mach_ppc_e500mc64.
638
        * bfd-in2.h: Regenerate.
639
        * cpu-powerpc.c (bfd_powerpc_archs): Add entry for
640
        bfd_mach_ppc_e500mc64.
641
 
642
2010-01-01  Joel Brobecker  
643
 
644
        Fix -Wshadow warnings (seen on ppc-aix)
645
        * xcofflink.c: Replace finfo by flinfo throughout.
646
 
647
For older changes see ChangeLog-2009
648
 
649
Local Variables:
650
mode: change-log
651
left-margin: 8
652
fill-column: 74
653
version-control: never
654
End:

powered by: WebSVN 2.1.0

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