]>
Commit | Line | Data |
---|---|---|
47f6dab9 AM |
1 | 2008-01-28 Alan Modra <[email protected]> |
2 | ||
3 | Rewrite SPU overlay handling code. Put overlay calls stubs in the | |
4 | overlays where possible. Use a faster call stub, or optionally at | |
5 | compile time, a more compact stub. Double size of _ovly_buf_table | |
6 | so that low bit of _ovly_table.buf can be used as a "present" bit. | |
7 | Reserve an extra _ovly_table entry for index zero. | |
8 | * elf32-spu.c: (struct spu_link_hash_table): Delete a number of fields, | |
9 | add new ones. | |
10 | (struct got_entry): New. | |
11 | (struct spu_stub_hash_entry): Delete. | |
12 | (stub_hash_newfunc, spu_elf_link_hash_table_free): Delete. | |
13 | (spu_elf_link_hash_table_create): Adjust for struct changes. | |
14 | (spu_stub_name): Delete. | |
15 | (spu_elf_find_overlays): Don't track sections from overlay regions. | |
16 | Instead set ovl_buf number in spu elf section data. Error if | |
17 | overlays in one region don't start at the same address. Adjust | |
18 | for struct _spu_elf_section_data changes. | |
19 | (SIZEOF_STUB1, SIZEOF_STUB2, ILA_79, ILA_78): Delete. | |
20 | (OVL_STUB_SIZE, BRSL, LNOP, ILA): Define. | |
21 | (needs_ovl_stub): Adjust for struct _spu_elf_section_data changes. | |
22 | (enum _insn_type): New. | |
23 | (count_stub, build_stub): New functions. | |
24 | (allocate_spuear_stubs): Use count_stub. | |
25 | (build_spuear_stubs): Use build_stub. | |
26 | (populate_stubs, sort_stubs): Delete. | |
27 | (process_stubs): New function. | |
28 | (write_one_stub): Delete. | |
29 | (spu_elf_size_stubs, spu_elf_build_stubs): Rewrite. | |
30 | (alloc_stack_info): Adjust for struct _spu_elf_section_data changes. | |
31 | (maybe_insert_function, check_function_ranges): Likewise. | |
32 | (find_function, pasted_function, build_call_tree): Likewise. | |
33 | (spu_elf_stack_analysis, spu_elf_modify_segment_map): Likewise. | |
34 | (spu_elf_modify_program_headers): Likewise. | |
35 | (interesting_section): Detect stub sections differently. Delete | |
36 | htab param, adjust all callers. | |
37 | (spu_elf_relocate_section): Rewrite stub handling. | |
38 | (spu_elf_output_symbol_hook): Likewise. | |
39 | (bfd_elf32_bfd_link_hash_table_free): Delete. | |
40 | * elf32-spu.h (struct _spu_elf_section_data): Move input-only and | |
41 | output-only fields into a union. Add ovl_buf. | |
42 | (spu_elf_size_stubs, spu_elf_build_stubs): Update prototypes. | |
43 | ||
c006d697 DD |
44 | 2008-01-25 DJ Delorie <[email protected]> |
45 | ||
46 | * elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New. | |
47 | ||
6e3d6dc1 NC |
48 | 2008-01-25 Kai Tietz <[email protected]> |
49 | ||
50 | * bfd-in.h: Add mingw I64 support. | |
51 | * bfd-in2.h: Regenerated. | |
52 | * bfd.c: (bfd_get_sign_extend_vma): Add pe-x86-64 and pei-x86-64. | |
53 | ||
fbb3bb98 AM |
54 | 2008-01-21 Alan Modra <[email protected]> |
55 | ||
56 | PR 4453 | |
57 | * format.c (bfd_check_format_matches): Don't accept archives as | |
58 | fully matching unless they have a map. | |
59 | ||
297d8443 AM |
60 | 2008-01-21 Alan Modra <[email protected]> |
61 | ||
62 | * elflink.c (_bfd_elf_link_output_relocs): Correct error return. | |
63 | ||
66cd82b5 AM |
64 | 2008-01-21 Alan Modra <[email protected]> |
65 | ||
66 | * ecoff.c (_bfd_ecoff_archive_p): Delete. | |
67 | * libecoff.h (_bfd_ecoff_archive_p): Delete. | |
68 | * coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p. | |
69 | * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise. | |
70 | (ecoff_biglittle_vec): Likewise. | |
71 | ||
85f7a9cb AM |
72 | 2008-01-19 Alan Modra <[email protected]> |
73 | ||
74 | PR 5646 | |
75 | * elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr | |
76 | non-NULL before dereferencing. | |
77 | ||
74f0fb50 AM |
78 | 2008-01-15 Alan Modra <[email protected]> |
79 | ||
80 | PR 5604 | |
81 | * elf-bfd.h (struct elf_backend_data): Add gc_keep. Remove param | |
82 | names from others. | |
83 | (_bfd_elf_gc_keep): Declare. | |
84 | * elfxx-target.h (elf_backend_gc_keep): Define. | |
85 | (elfNN_bed): Init new field. | |
86 | * elflink.c (_bfd_elf_gc_keep): New function. | |
87 | (bfd_elf_gc_sections): Call gc_keep. | |
88 | * elf64-ppc.c (elf_backend_gc_keep): Define. | |
89 | (struct _ppc64_elf_section_data): Move .opd related fields to | |
90 | a struct so they don't occupy the same storage. Adjust accesses | |
91 | throughout file. | |
92 | (ppc64_elf_gc_keep): New function, split out from.. | |
93 | (ppc64_elf_gc_mark_hook): ..here. Don't call _bfd_elf_gc_mark | |
94 | to mark .opd section, just set gc_mark. | |
95 | (ppc64_elf_edit_opd): Remove no_opd_opt parm. Don't set opd->adjust | |
96 | unless we are changing .opd. Test non-NULL opd->adjust at all | |
97 | accesses throughout file. | |
98 | * elf64-ppc.h (ppc64_elf_edit_opd): Update prototype. | |
99 | ||
787daa7a AM |
100 | 2008-01-15 Alan Modra <[email protected]> |
101 | ||
102 | * bfd-in.h (BFD_HOST_LONG_LONG): Delete. | |
103 | * bfd-in2.h: Regenerate. | |
104 | ||
7dda2462 TG |
105 | 2008-01-11 Tristan Gingold <[email protected]> |
106 | Eric Botcazou <[email protected]> | |
107 | ||
108 | * elf32-ppc.c (ppc_elf_gc_sweep_hook): Exit early if generating a | |
109 | relocatable. | |
110 | * elf32-arm.c (elf32_arm_gc_sweep_hook): Likewise. | |
111 | * elf32-cris.c (cris_elf_gc_sweep_hook): Likewise. | |
112 | * elf32-hppa.c (elf32_hppa_gc_sweep_hook): Likewise. | |
113 | * elf32-i386.c (elf_i386_gc_sweep_hook): Likewise. | |
114 | * elf32-m32r.c (m32r_elf_gc_sweep_hook): Likewise. | |
115 | * elf32-m68k.c (elf_m68k_gc_sweep_hook): Likewise. | |
116 | * elf32-s390.c (elf_s390_gc_sweep_hook): Likewise. | |
117 | * elf32-sh.c (sh_elf_gc_sweep_hook): Likewise. | |
118 | * elf32-vax.c (elf_vax_gc_sweep_hook): Likewise. | |
119 | * elf32-xtensa.c (elf_xtensa_gc_sweep_hook): Likewise. | |
120 | * elf64-x86-64.c (elf64_x86_64_gc_sweep_hook): Likewise. | |
121 | * elf64-s390.c (elf_s390_gc_sweep_hook): Likewise. | |
122 | * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Likewise. | |
123 | * elfxx-mips.c (_bfd_mips_elf_gc_sweep_hook): Likewise. | |
124 | * elfxx-sparc.c (_bfd_sparc_elf_gc_sweep_hook): Likewise. | |
125 | * elflink.c (bfd_elf_gc_sections): Do not punt on relocatable output | |
126 | or executable output with relocations. | |
127 | ||
d2e2e649 NC |
128 | 2008-01-09 Nick Clifton <[email protected]> |
129 | ||
130 | PR gas/5552 | |
131 | * elf32-fr30.c (fr30_elf_howto_table): Set partial_inplace field | |
132 | to FALSE for all relocs. | |
133 | ||
184d07da RS |
134 | 2008-01-09 Richard Sandiford <[email protected]> |
135 | ||
136 | PR ld/5526 | |
137 | * elf-bfd.h (eh_cie_fde): Add u.cie.u.full_cie and u.cie.merged | |
138 | fields. Rename u.cie.u.merged to u.cie.u.merged_with. | |
139 | (eh_frame_sec_info): Add a cies field. | |
140 | (eh_frame_hdr_info): Add a merge_cies field. | |
141 | * elf-eh-frame.c (cie): Add a reloc_index member to the personality | |
142 | union. | |
143 | (_bfd_elf_begin_eh_frame_parsing): Set hdr_info->merge_cies instead | |
144 | of hdr_info->cies. | |
145 | (_bfd_elf_parse_eh_frame): Remove tmp_cie. Ccreate an array of | |
146 | cie structures in all cases and use it instead of extended_cies. | |
147 | If merging, store the cie array in sec_info->cies and point each | |
148 | CIE's eh_fde_cie at the associated element. Do not try to | |
149 | calculate the value of the personality routine here; record the | |
150 | offset of the relocation instead. Do not merge CIEs here. | |
151 | (_bfd_elf_end_eh_frame_parsing): Do not free hdr_info->cies here... | |
152 | (_bfd_elf_discard_section_eh_frame_hdr): ...do it here instead. | |
153 | (_bfd_elf_gc_mark_fdes): Mark the original (unmerged) CIE. | |
154 | (find_merged_cie): New function. | |
155 | (_bfd_elf_gc_mark_fdes): Use it. Free sec_info->cies. | |
156 | ||
780b2360 NC |
157 | 2008-01-07 Nick Clifton <[email protected]> |
158 | ||
159 | PR binutils/5535 | |
160 | * vms.c (vms_close_and_cleanup): Check for the presence of a | |
161 | vms_private_data_struct before examining any of its fields. | |
162 | ||
ace79388 L |
163 | 2008-01-07 H.J. Lu <[email protected]> |
164 | ||
165 | PR ld/5522 | |
166 | * elflink.c (elf_link_input_bfd): Don't write out a section if | |
167 | its output section is marked with SEC_NEVER_LOAD. | |
168 | ||
6c7ac64e | 169 | For older changes see ChangeLog-2007 |
56882138 AM |
170 | \f |
171 | Local Variables: | |
172 | mode: change-log | |
173 | left-margin: 8 | |
174 | fill-column: 74 | |
175 | version-control: never | |
176 | End: |