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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [bfd/] [ChangeLog] - Blame information for rev 205

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

Line No. Rev Author Line
1 24 jeremybenn
2008-07-30  Jeremy Bennett  
2
 
3
        * config.bfd: Added or32-*-*-*linux* as a pattern for big-endian
4
        OpenRISC 1000
5
 
6
2008-02-26  Alan Modra  
7
 
8
        * elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
9
        for R_PPC_REL32 syms.  Don't set non_got_ref on branch reloc syms,
10
        and assume branch relocs are not dynamic when non-shared.
11
        (readonly_dynrelocs): New function, split out from..
12
        (maybe_set_textrel): ..here, renamed from old readonly_dynrelocs.
13
        (ppc_elf_adjust_dynamic_symbol): For symbols generating plt entries,
14
        clear non_got_ref..
15
        (allocate_dynrelocs): ..and don't set u.def for undefined weak.
16
        Do allow dynamic relocs on undefined symbols.
17
        (ppc_elf_adjust_dynamic_symbol): Use readonly_dynrelocs.
18
        (ppc_elf_relocate_section): Mirror dynamic reloc changes in
19
        check_relocs.
20
        (ppc_elf_finish_dynamic_symbol): Don't give a warning on weak
21
        plt symbols needing pointer_equality_needed.
22
 
23
2008-02-23  Alan Modra  
24
 
25
        * elf32-ppc.c (ppc_elf_check_relocs): Revert non_got_ref change.
26
 
27
2008-02-23  Alan Modra  
28
 
29
        * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Copy
30
        pointer_equality_needed.
31
        (ppc_elf_check_relocs): Split out non-branch relocs from others
32
        that might emit dynamic relocs.  Set pointer_equality_needed
33
        for their symbols.  Don't set non_got_ref on branch reloc symbols.
34
        (ppc_elf_hash_symbol): New function.
35
        (elf_backend_hash_symbol): Define.
36
        (ppc_elf_finish_dynamic_symbol): Handle pointer_equality_needed.
37
        Error if pointer_equality_needed on weak plt symbol.
38
 
39
2008-02-22  H.J. Lu  
40
 
41
        PR ld/5788
42
        * elflink.c (elf_create_symbuf): Correct buffer size and
43
        position.
44
 
45
2008-02-22  Nick Clifton  
46
 
47
        PR 868
48
        * dwarf2.c: Revert previous patch.  All of the allocate memory is
49
        on an obstack which will be freed at some other time.
50
 
51
2008-02-20  Nick Clifton  
52
 
53
        PR 868
54
        * libbfd.c (bfd_realloc_or_free): New function.  Performs like
55
        bfd_realloc, but if the (re)allocation fails, the pointer is
56
        freed.
57
        * libbfd-in.h: Prototype.
58
        * libbfd.h: Regenerate.
59
        * bfdio.c (bfd_bwrite): Use the new function.
60
        (bfd_seek): Likewise.
61
        * bfdwin.c:(bfd_get_file_window): Likewise.
62
        * elf-strtab.c (_bfd_elf_strtab_add): Likewise.
63
        * elf32-ppc.c (ppc_elf_relax_section): Likewise.
64
        * elf32-xtensa.c (vsprintf_msg): Likewise.
65
        * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
66
        * stabs.c (_bfd_link_seciton_stabs): Likewise.
67
        * vms-misc.c (_bfd_vms_get_record): Likewise.
68
        * vms-tir.c (check_section): Likewise.
69
        * vms.c (vms_new_section_hook): Likewise.
70
        * elf32-arm.c (elf32_arm_section_map_add): Check that the
71
        allocation of sec_data->map succeeded before using it.
72
        * elflink.c (elf_link_output_sym): Do not overwrite finfo->
73
        symshndxbuf until it is known that the reallocation succeeded.
74
 
75
2008-02-20  Diogo de Carvalho Kraemer  
76
            Nick Clifton  
77
 
78
        PR 868
79
        * dwarf2.c (read_abbrevs): Free the abbreviation table if we run
80
        out of memory.
81
        (decode_line_info): Free the line_info_table before returning a
82
        failure result.
83
        (_bfd_dwarf2_cleanup_debug_info): Free the abbreviation table.
84
        Free the line table.  Free the function table.  Free the variable
85
        table.
86
 
87
2008-02-17  Mark Kettenis  
88
 
89
        * elf.c (swap_out_syms): Avoid preprocessing directive within
90
        macro arg.
91
 
92
2008-02-17  Jan Kratochvil  
93
 
94
        * elf.c (assign_file_positions_for_load_sections): Set the type of
95
        PT_NOTE sections to SHT_NOTE.
96
 
97
2008-02-17  Ulrich Weigand  
98
 
99
        * simple.c (bfd_simple_get_relocated_section_contents): Set
100
        link_info.output_bfd.
101
 
102
2008-02-16  Nathan Sidwell  
103
 
104
        * dwarf2.c (find_line): Don't trust debug information after an
105
        unparseable compilation unit.
106
 
107
2008-02-15  Alan Modra  
108
 
109
        PR 5765
110
        * section.c (SEC_LINK_DUPLICATES): Correct.  Renumber following flags.
111
        * bfd-in2.h: Regenerate.
112
 
113
2008-02-15  Alan Modra  
114
 
115
        * elf-bfd.h (enum elf_object_id): Add HPPA_ELF_TDATA.
116
        * elf.c (bfd_elf_allocate_object): Don't check for already allocated
117
        tdata.
118
        * elf32-hppa.c (elf32_hppa_mkobject): New function.
119
        (bfd_elf32_mkobject): Define.
120
        * elf32-ppc.c (is_ppc_elf_target): Delete.  Replace all uses with..
121
        (is_ppc_elf): ..this new macro.
122
        * elf64-ppc.c (is_ppc64_elf_target): Delete.  Replace all uses with..
123
        (is_ppc64_elf): ..this new macro.
124
 
125
2008-02-15  Alan Modra  
126
 
127
        * elflink.c: Replace all accesses to hash->creator field with
128
        output_bfd->xvec.
129
        * cofflink.c: Likewise.
130
        * coff-h8300.c: Likewise.
131
        * ecoff.c: Likewise.
132
        * elf32-m68hc1x.c: Likewise.
133
        * elf32-ppc.c: Likewise.
134
        * elf64-alpha.c: Likewise.
135
        * elf64-ppc.c: Likewise.
136
        * elf64-sparc.c: Likewise.
137
        * elfxx-mips.c: Likewise.
138
        * i386linux.c: Likewise.
139
        * m68klinux.c: Likewise.
140
        * sparclinux.c: Likewise.
141
        * sunos.c: Likewise.
142
        * xcofflink.c: Likewise.
143
        * linker.c: Likewise.
144
        (_bfd_link_hash_table_init): Don't store creator.
145
 
146
2008-02-14  Peter Jones  
147
 
148
        * efi-rtdrv-ia32.c: New file.
149
        * efi-bsdrv-ia32.c: New file.
150
        * efi-rtdrv-ia64.c: New file.
151
        * efi-bsdrv-ia64.c: New file.
152
        * efi-rtdrv-x86_64.c: New file.
153
        * efi-bsdrv-x86_64.c: New file.
154
        * peicode.h (pe_bfd_object_p): Add support for boot service and
155
        runtime service drivers.
156
        * libpei.h: Add macros for EFI formats, and rename the efi application
157
        format macros to disambiguate.
158
        * targets.c: Add bfd_target _vec externs.
159
        (_bfd_tar): Add EFI _vec entries.
160
        * config.bfd: Add EFI vectors into the selection routines.
161
        * configure.in: add EFI _vec entries.
162
        * configure: Regenerate.
163
        * Makefile.am: Add EFI files.
164
        * Makefile.in: Regenerate.
165
 
166
2008-02-14  Nathan Sidwell  
167
 
168
        * dwarf1.c (struct dwarf1_debug): Add syms member.
169
        (alloc_dwarf1_unit, alloc_dwarf1_func): Check for out of memory.
170
        (parse_line_table, _bfd_dwarf1_find_nearest_line): Relocate
171
        section contents, check for out of memory.
172
 
173
        * dwarf1.c (struct dwarf1_debug): Change data pointers to bfd_byte.
174
        (parse_die): Change data pointers to bfd_byte.
175
        (parse_line_table, parse_functions_in_unit): Likewise.
176
 
177
2008-02-14  Alan Modra  
178
 
179
        * elflink.c (compute_bucket_count): Warning fixes.
180
 
181
2008-02-12  DJ Delorie  
182
 
183
        * elf32-iq2000.c (iq2000_elf_relocate_section): Adjust addend of
184
        relocation pointing to local symbol in merged section.
185
 
186
        * elf32-iq2000.c (iq2000_elf_relocate_offset16): New.
187
        (iq2000_elf_relocate_section): Call it.
188
 
189
2008-02-12  Nick Clifton  
190
 
191
        PR ld/5692
192
        * elf-bfd.h (enum elf_object_id): New enum, used to identify
193
        target specific extensions to the elf_obj_tdata structure.
194
        (struct elf_obj_tdata): New field 'object_id'.
195
        (elf_object_id, elf_program_header_size, elf_symtab_hdr): New
196
        macros for accessing fields in the elf_obj_tdata structure.
197
        (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object.
198
        (bfd_elf_allocate_object): New function.
199
        * elf.c (bfd_elf_mkobject): Rename to bfd_elf_make_generic_object
200
        and implement by calling bfd_elf_allocate_object.
201
        (bfd_elf_allocate_object): New function: Allocates an
202
        elf_obj_tdata structure, possibly with a target specific
203
        extension.
204
        * elfxx-target.h (bfd_elfNN_mkobject): Use
205
        bfd_elf_make_generic_object as the default value.
206
        * elf32-arm.c (elf32_arm_obj_tdata): Rename to elf_arm_obj_tdata
207
        for consistency with other, similar structures.
208
        (is_arm_elf): New macro.  Checks a BFD to make sure that is an ARM
209
        ELF bfd.
210
        (elf32_arm_mkobject): Call bfd_elf_allocate_object.
211
        (bfd_elf32_arm_vfp11_erratum_scan): Use is_arm_elf macro to check
212
        the bfd being processed.
213
        (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
214
        (bfd_elf32_arm_set_target_relocs): Likewise.
215
        (bfd_elf32_arm_final_link_relocate): Likewise.
216
        (bfd_elf32_arm_copy_private_bfd_data): Likewise.
217
        (bfd_elf32_arm_merge_eabi_attributes): Likewise.
218
        (bfd_elf32_arm_merge_private_bfd_data): Likewise.
219
        (bfd_elf32_arm_check_relocs): Likewise.
220
        (bfd_elf32_arm_gc_mark_extra_sections): Likewise.
221
        (bfd_elf32_arm_size_dynamic_sections): Likewise.
222
        (bfd_elf32_arm_process_before_allocation): Use elf_symtab_hdr.
223
        (bfd_elf32_arm_init_maps): Likewise.
224
        (bfd_elf32_arm_final_link_relocate): Likewise.
225
        (bfd_elf32_arm_relocate_section): Likewise.
226
        (bfd_elf32_arm_gc_sweep_hook): Likewise.
227
        (bfd_elf32_arm_check_relocs): Likewise.
228
        (bfd_elf32_arm_size_dynamic_sections): Likewise.
229
        * elf32-i386.c (elf_i386_mkobject): Call bfd_elf_allocate_object.
230
        (is_i386_elf): New macro.  Checks a BFD to make sure that is an x86
231
        ELF bfd.
232
        (elf_i386_check_relocs): Use is_i386_elf macro to check    the bfd
233
        being processed.
234
        (elf_i386_size_dynamic_sections): Likewise.
235
        (elf_i386_relocate_section): Likewise.
236
        (elf_i386_check_relocs): Use elf_symtab_hdr.
237
        (elf_i386_gc_sweep_hook): Likewise.
238
        (elf_i386_size_dynamic_sections): Likewise.
239
        (elf_i386_relocate_section): Likewise.
240
        * elf32-ppc.c (ppc_elf_mkobject): Call bfd_elf_allocate_object.
241
        (elf_create_pointer_linker_section): Use is_ppc_elf_target to
242
        verify that the bfd before accessing target specific fields.
243
        (ppc_elf_check_relocs): Likewise.
244
        (elf_finish_pointer_linker_section): Likewise.
245
        (elf_create_pointer_linker_section): Use elf_symtab_hdr.
246
        (ppc_elf_check_relocs): Likewise.
247
        (ppc_elf_gc_sweep_hook): Likewise.
248
        (ppc_elf_tls_optimize): Likewise.
249
        (ppc_elf_size_dynamic_sections): Likewise.
250
        (ppc_elf_relax_section): Likewise.
251
        (ppc_elf_relocate_section): Likewise.
252
        * elf32-s390.c (struct elf_s390_obj_tdata): Add a comment
253
        reminding programmers to keep this structure in sync with the one
254
        defined in elf64-s390.c.
255
        (elf_s390_mkobject): Call bfd_elf_allocate_object.
256
        (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
257
        ELF bfd.
258
        (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
259
        being processed.
260
        (elf_s390_size_dynamic_sections): Likewise.
261
        (elf_s390_relocate_section): Likewise.
262
        (elf_s390_check_relocs): Use elf_symtab_hdr.
263
        (elf_s390_gc_sweep_hook): Likewise.
264
        (elf_s390_size_dynamic_sections): Likewise.
265
        (elf_s390_relocate_section): Likewise.
266
        * elf32-sh.c (sh_elf_mkobject): Call bfd_elf_allocate_object.
267
        (is_sh_elf): New macro.  Checks a BFD to make sure that is an SH
268
        ELF bfd.
269
        (sh_elf_size_dynamic_sections): Use is_sh_elf macro to check the
270
        bfd being processed.
271
        (sh_elf_relocate_section): Likewise.
272
        (sh_elf_check_relocs): Likewise.
273
        (sh_elf_copy_private_data): Likewise.
274
        (sh_elf_relax_section): Use elf_symtab_hdr.
275
        (sh_elf_size_dynamic_sections): Likewise.
276
        (sh_elf_relocate_section): Likewise.
277
        (sh_elf_get_relocated_section_contents): Likewise.
278
        (sh_elf_gc_sweep_hook): Likewise.
279
        (sh_elf_check_relocs): Likewise.
280
        * elf64-alpha.c (elf64_alpha_mkobject): Call bfd_elf_allocate_object.
281
        (is_alpha_elf): New macro.  Checks a BFD to make sure that is an
282
        Alpha ELF bfd.
283
        (elf64_alpha_create_got_section): Use is_alpha_elf macro to check
284
        the bfd being processed.
285
        (elf64_alpha_create_dynamic_section): Likewise.
286
        (elf64_alpha_check_relocs): Likewise.
287
        (elf64_alpha_size_got_sections): Likewise.
288
        (elf64_alpha_relax_section): Likewise.
289
        (elf64_alpha_relocate_section): Likewise.
290
        (elf64_alpha_final_link): Likewise.
291
        (elf64_alpha_check_relocs): Use elf_symtab_hdr.
292
        (elf64_alpha_relax_section): Likewise.
293
        (elf64_alpha_relocate_section_r): Likewise.
294
        (elf64_alpha_relocate_section): Likewise.
295
        * elf64-ppc.c (ppc64_elf_mkobject): Call bfd_elf_allocate_object.
296
        (ppc64_elf_check_relocs): Use is_ppc64_elf_target to check the bfd
297
        being processed.
298
        (opd_entry_value): Likewise.
299
        (allocate_dynrelocs): Likewise.
300
        (ppc64_elf_relocate_section): Likewise.
301
        (ppc64_elf_check_relocs): Use elf_symtab_hdr.
302
        (opd_entry_value): Likewise.
303
        (ppc64_elf_gc_sweep_hook): Likewise.
304
        (get_sym_h): Likewise.
305
        (ppc64_elf_edit_opd): Likewise.
306
        (ppc64_elf_tls_optimize): Likewise.
307
        (ppc64_elf_edit_toc): Likewise.
308
        (ppc64_elf_size_dynamic_sections): Likewise.
309
        (toc_adjusting_stub_needed): Likewise.
310
        (ppc64_elf_size_stubs): Likewise.
311
        (ppc64_elf_relocate_section): Likewise.
312
        * elf64-s390.c (struct elf_s390_obj_tdata): Add a comment
313
        reminding programmers to keep this structure in sync with the one
314
        defined in elf32-s390.c.
315
        (elf_s390_mkobject): Call bfd_elf_allocate_object.
316
        (is_s390_elf): New macro.  Checks a BFD to make sure that is an s390
317
        ELF bfd.
318
        (elf_s390_check_relocs): Use is_s390_elf macro to check    the bfd
319
        being processed.
320
        (elf_s390_size_dynamic_sections): Likewise.
321
        (elf_s390_relocate_section): Likewise.
322
        (elf_s390_check_relocs): Use elf_symtab_hdr.
323
        (elf_s390_gc_sweep_hook): Likewise.
324
        (elf_s390_size_dynamic_sections): Likewise.
325
        (elf_s390_relocate_section): Likewise.
326
        * elf64-x86_64.c (elf64_x86_64_mkobject): Call bfd_elf_allocate_object.
327
        (is_x86_64_elf): New macro.  Checks a BFD to make sure that is an
328
        x86_64 ELF bfd.
329
        (elf64_x86_64_check_relocs): Use is_x86_64_elf macro to check the bfd
330
        being processed.
331
        (elf64_x86_64_size_dynamic_sections): Likewise.
332
        (elf64_x86_64_relocate_section): Likewise.
333
        (elf64_x86_64_check_relocs): Use elf_symtab_hdr.
334
        (elf64_x86_64_gc_sweep_hook): Likewise.
335
        (elf64_x86_64_size_dynamic_sections): Likewise.
336
        (elf64_x86_64_relocate_section): Likewise.
337
        * elfxx-sparc.c (_bfd_sparc_elf_mkobject): Call bfd_elf_allocate_object.
338
        (is_sparc_elf): New macro.  Checks a BFD to make sure that is a Sparc
339
        ELF bfd.
340
        (_bfd_sparc_elf_check_relocs): Use is_sparc_elf macro to check the
341
        bfd being processed.
342
        (_bfd_sparc_elf_gc_sweep_hook): Likewise.
343
        (_bfd_sparc_elf_size_dynamic_sections): Likewise.
344
        (_bfd_sparc_elf_check_relocs): Use elf_symtab_hdr.
345
        (_bfd_sparc_elf_gc_sweep_hook): Likewise.
346
        (_bfd_sparc_elf_size_dynamic_sections): Likewise.
347
        (_bfd_sparc_elf_relocate_section): Likewise.
348
 
349
2008-02-12  Alan Modra  
350
 
351
        PR 5303, 5755
352
        * arange-set.c: Delete.
353
        * arange-set.h: Delete.
354
        * dwarf2.c: Revert 2007-09-21 changes.
355
        * Makefile.am: Likewise.
356
        * Makefile.in: Regenerate.
357
        * po/SRC-POTFILES.in: Regenerate.
358
 
359
2008-02-11  Bernd Schmidt  
360
 
361
        * elf32-bfin.c (bfin_relocate_section): Set up dynobj before using it
362
        if necessary.
363
        (elf32_bfin_merge_private_bfd_data): Simplify, and ensure object type
364
        mismatches are detected.
365
 
366
        * elf32-bfin.c (bfinfdpic_relocate_section): Take more care not to
367
        emit invalid relocs or rofixup entries for deleted .eh_frame entries.
368
 
369
2008-02-11  Daniel Jacobowitz  
370
 
371
        * cache.c (cache_bread): Set bfd_error_file_truncated if EOF
372
        was reached.
373
        * srec.c (srec_scan): Calculate the checksum.  Complain on mismatch.
374
 
375
2008-02-07  Alan Modra  
376
 
377
        * elf32-spu.c (spu_elf_size_stubs): Revert 2008-01-28 doubling
378
        of _ovly_buf_table size.
379
        (spu_elf_build_stubs): Use low bit of .size as "present" bit.
380
        Adjust initialisations relating to _ovly_buf_table.
381
 
382
2008-02-04  Bob Wilson  
383
 
384
        * elf32-xtensa (elf_xtensa_relocate_section): After finding an invalid
385
        relocation, do not continue processing it.  Ignore R_XTENSA_ASM_EXPAND
386
        relocations against dynamic symbols.
387
        (elf_xtensa_finish_dynamic_sections): Do not fail if there is no
388
        .xt.lit section.
389
 
390
2008-02-04  Kai Tietz  
391
            H.J. Lu  
392
 
393
        PR 5715
394
        * warning.m4: Enable -Wno-format by default when using gcc on
395
        mingw.
396
        * configure: Regenerated.
397
 
398
2008-02-04  Adam Nemet  
399
 
400
        * archures.c: Update copyright.
401
        (bfd_mach_mips_octeon): New macro.
402
        * bfd-in2.h: Regenerate.
403
        * elfxx-mips.c (_bfd_elf_mips_mach): Handle Octeon.
404
        (mips_set_isa_flags): Likewise.
405
        (mips_mach_extensions): Add Octeon.
406
        * cpu-mips.c: Update copyright.
407
        (I_mipsocteon): New enum constant.
408
        (arch_info_struct): Add Octeon.
409
 
410
2008-02-04  Alan Modra  
411
 
412
        * elf32-spu.c (spu_elf_relocate_section): Correct return type.
413
        Return error status on unexpected relocation errors.
414
 
415
2008-02-04  Alan Modra  
416
 
417
        PR ld/5692
418
        * elf.c (bfd_elf_get_elf_syms): Revert 2008-01-31.  Instead abort
419
        on non-ELF input.
420
        * elf32-arm.c (elf32_arm_size_dynamic_sections): Skip glue
421
        processing on non-ELF input.
422
 
423
2008-01-31  Marc Gauthier  
424
 
425
        * config.bfd (xtensa*-*-*): Recognize processor variants.
426
 
427
2008-01-31  Nick Clifton  
428
 
429
        PR ld/5692
430
        * elf.c (bfd_elf_get_elf_syms): Check the return value of
431
        get_elf_backend_data.
432
 
433
2008-01-28  Fabian Groffen  
434
 
435
        * config.bfd (x86_64-*-solaris2): Add support for this target.
436
 
437
2008-01-28  Alan Modra  
438
 
439
        Rewrite SPU overlay handling code.  Put overlay calls stubs in the
440
        overlays where possible.  Use a faster call stub, or optionally at
441
        compile time, a more compact stub.  Double size of _ovly_buf_table
442
        so that low bit of _ovly_table.buf can be used as a "present" bit.
443
        Reserve an extra _ovly_table entry for index zero.
444
        * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields,
445
        add new ones.
446
        (struct got_entry): New.
447
        (struct spu_stub_hash_entry): Delete.
448
        (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete.
449
        (spu_elf_link_hash_table_create): Adjust for struct changes.
450
        (spu_stub_name): Delete.
451
        (spu_elf_find_overlays): Don't track sections from overlay regions.
452
        Instead set ovl_buf number in spu elf section data.  Error if
453
        overlays in one region don't start at the same address.  Adjust
454
        for struct _spu_elf_section_data changes.
455
        (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete.
456
        (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define.
457
        (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes.
458
        (enum _insn_type): New.
459
        (count_stub, build_stub): New functions.
460
        (allocate_spuear_stubs): Use count_stub.
461
        (build_spuear_stubs): Use build_stub.
462
        (populate_stubs, sort_stubs): Delete.
463
        (process_stubs): New function.
464
        (write_one_stub): Delete.
465
        (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite.
466
        (alloc_stack_info): Adjust for struct _spu_elf_section_data changes.
467
        (maybe_insert_function, check_function_ranges): Likewise.
468
        (find_function, pasted_function, build_call_tree): Likewise.
469
        (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise.
470
        (spu_elf_modify_program_headers): Likewise.
471
        (interesting_section): Detect stub sections differently.  Delete
472
        htab param, adjust all callers.
473
        (spu_elf_relocate_section): Rewrite stub handling.
474
        (spu_elf_output_symbol_hook): Likewise.
475
        (bfd_elf32_bfd_link_hash_table_free): Delete.
476
        * elf32-spu.h (struct _spu_elf_section_data): Move input-only and
477
        output-only fields into a union.  Add ovl_buf.
478
        (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes.
479
 
480
2008-01-25  DJ Delorie  
481
 
482
        * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
483
 
484
2008-01-25  Kai Tietz  
485
 
486
        * bfd-in.h: Add mingw I64 support.
487
        * bfd-in2.h: Regenerated.
488
        * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64.
489
 
490
2008-01-21  Alan Modra  
491
 
492
        PR 4453
493
        * format.c (bfd_check_format_matches): Don't accept archives as
494
        fully matching unless they have a map.
495
 
496
2008-01-21  Alan Modra  
497
 
498
        * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
499
 
500
2008-01-21  Alan Modra  
501
 
502
        * ecoff.c (_bfd_ecoff_archive_p): Delete.
503
        * libecoff.h (_bfd_ecoff_archive_p): Delete.
504
        * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
505
        * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
506
        (ecoff_biglittle_vec): Likewise.
507
 
508
2008-01-19  Alan Modra  
509
 
510
        PR 5646
511
        * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
512
        non-NULL before dereferencing.
513
 
514
2008-01-15  Alan Modra  
515
 
516
        PR 5604
517
        * elf-bfd.h (struct elf_backend_data): Add gc_keep.  Remove param
518
        names from others.
519
        (_bfd_elf_gc_keep): Declare.
520
        * elfxx-target.h (elf_backend_gc_keep): Define.
521
        (elfNN_bed): Init new field.
522
        * elflink.c (_bfd_elf_gc_keep): New function.
523
        (bfd_elf_gc_sections): Call gc_keep.
524
        * elf64-ppc.c (elf_backend_gc_keep): Define.
525
        (struct _ppc64_elf_section_data): Move .opd related fields to
526
        a struct so they don't occupy the same storage.  Adjust accesses
527
        throughout file.
528
        (ppc64_elf_gc_keep): New function, split out from..
529
        (ppc64_elf_gc_mark_hook): ..here.  Don't call _bfd_elf_gc_mark
530
        to mark .opd section, just set gc_mark.
531
        (ppc64_elf_edit_opd): Remove no_opd_opt parm.  Don't set opd->adjust
532
        unless we are changing .opd.  Test non-NULL opd->adjust at all
533
        accesses throughout file.
534
        * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype.
535
 
536
2008-01-15  Alan Modra  
537
 
538
        * bfd-in.h (BFD_HOST_LONG_LONG): Delete.
539
        * bfd-in2.h: Regenerate.
540
 
541
2008-01-11  Tristan Gingold  
542
            Eric Botcazou  
543
 
544
        * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a
545
        relocatable.
546
        * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise.
547
        * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise.
548
        * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise.
549
        * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise.
550
        * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise.
551
        * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise.
552
        * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise.
553
        * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise.
554
        * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise.
555
        * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise.
556
        * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise.
557
        * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise.
558
        * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise.
559
        * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise.
560
        * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise.
561
        * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output
562
        or executable output with relocations.
563
 
564
2008-01-09  Nick Clifton  
565
 
566
        PR gas/5552
567
        * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field
568
        to FALSE for all relocs.
569
 
570
2008-01-09  Richard Sandiford  
571
 
572
        PR ld/5526
573
        * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged
574
        fields.  Rename u.cie.u.merged to u.cie.u.merged_with.
575
        (eh_frame_sec_info): Add a cies field.
576
        (eh_frame_hdr_info): Add a merge_cies field.
577
        * elf-eh-frame.c (cie): Add a reloc_index member to the personality
578
        union.
579
        (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead
580
        of hdr_info->cies.
581
        (_bfd_elf_parse_eh_frame): Remove tmp_cie.  Ccreate an array of
582
        cie structures in all cases and use it instead of extended_cies.
583
        If merging, store the cie array in sec_info->cies and point each
584
        CIE's eh_fde_cie at the associated element.  Do not try to
585
        calculate the value of the personality routine here; record the
586
        offset of the relocation instead.  Do not merge CIEs here.
587
        (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here...
588
        (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead.
589
        (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE.
590
        (find_merged_cie): New function.
591
        (_bfd_elf_gc_mark_fdes): Use it.  Free sec_info->cies.
592
 
593
2008-01-07  Nick Clifton  
594
 
595
        PR binutils/5535
596
        * vms.c (vms_close_and_cleanup): Check for the presence of a
597
        vms_private_data_struct before examining any of its fields.
598
 
599
2008-01-07  H.J. Lu  
600
 
601
        PR ld/5522
602
        * elflink.c (elf_link_input_bfd): Don't write out a section if
603
        its output section is marked with SEC_NEVER_LOAD.
604
 
605
For older changes see ChangeLog-2007
606
 
607
Local Variables:
608
mode: change-log
609
left-margin: 8
610
fill-column: 74
611
version-control: never
612
End:

powered by: WebSVN 2.1.0

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