]>
Commit | Line | Data |
---|---|---|
ebe24dd4 CL |
1 | 2009-02-26 Christophe Lyon <[email protected]> |
2 | ||
3 | * elf32-arm.c (stub_reloc_type): Removed. | |
4 | (insn_sequence): Renamed reloc_type field to r_type. | |
5 | (elf32_arm_stub_long_branch_v4t_arm_thumb_pic): New stub. | |
6 | (elf32_arm_stub_long_branch_v4t_thumb_arm_pic): Likewise. | |
7 | (elf32_arm_stub_long_branch_thumb_only_pic): Likewise. | |
8 | (elf32_arm_stub_type): Add new enum entries for the new stubs. | |
9 | (arm_stub_is_thumb): Catch new stubs. | |
10 | (arm_type_of_stub): Handle new stubs. | |
11 | (arm_size_one_stub): Use ARRAY_SIZE. Handle new stubs. | |
12 | (bfd_elf32_arm_process_before_allocation): Remove useless | |
13 | condition. | |
14 | ||
b9d678e0 L |
15 | 2009-02-25 H.J. Lu <[email protected]> |
16 | ||
17 | * elf.c (elf_find_function): Use is_function_type to check | |
18 | function symbol. | |
19 | ||
56fb3749 SA |
20 | 2009-02-24 Sterling Augustine <[email protected]> |
21 | ||
22 | * xtensa-modules.c: Revert to previous version 1.11 due | |
23 | to inadvertant commit. | |
24 | ||
658ff993 SA |
25 | 2009-02-24 Sterling Augustine <[email protected]> |
26 | ||
27 | * elf32-xtensa.c (text_action_add): Separate test for action | |
28 | type. Break if saved action is ta_widen_insn at same offset. | |
29 | ||
cf3eccff DJ |
30 | 2009-02-24 Daniel Jacobowitz <[email protected]> |
31 | ||
32 | * elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename | |
33 | to elf32_arm_stub_long_branch_any_arm_pic. | |
34 | (elf32_arm_stub_long_branch_any_thumb_pic): New. | |
35 | (enum elf32_arm_stub_type, arm_type_of_stub) | |
36 | (arm_size_one_stub): Handle any to ARM PIC and any to Thumb PIC | |
37 | separately. | |
38 | ||
07d72278 DJ |
39 | 2009-02-24 Joseph Myers <[email protected]> |
40 | ||
41 | * elf32-arm.c (PREV_SEC): Update comment. | |
42 | (group_sections): Rename argument to stubs_always_after_branch. | |
43 | Reverse the list and place stubs at the end of input sections. | |
44 | Undefine NEXT_SEC. | |
45 | (elf32_arm_size_stubs): Update to use stubs_always_after_branch. | |
46 | ||
4e31c731 DJ |
47 | 2009-02-23 Daniel Jacobowitz <[email protected]> |
48 | ||
49 | * elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset. | |
50 | Fix formatting. | |
51 | (arm_size_one_stub): Remove unnecessary break. | |
52 | (arm_map_one_stub): Fix formatting. Return after BFD_FAIL. | |
53 | ||
54 | 2009-02-23 Christophe Lyon <[email protected]> | |
461a49ca DJ |
55 | |
56 | * elf32-arm.c (stub_insn_type): New type. | |
57 | (stub_reloc_type): Likewise. | |
58 | (insn_sequence): Likewise. | |
59 | (elf32_arm_stub_long_branch_any_any): Encode using insn_sequence. | |
60 | (elf32_arm_stub_long_branch_v4t_arm_thumb): Likewise. | |
61 | (elf32_arm_stub_long_branch_thumb_only): Likewise. | |
62 | (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. | |
63 | (elf32_arm_stub_short_branch_v4t_thumb_arm): Likewise. | |
64 | (elf32_arm_stub_long_branch_any_any_pic): Likewise. | |
65 | (elf32_arm_stub_hash_entry): Add new helper fields. | |
66 | (stub_hash_newfunc): Initialize these new fields. | |
67 | (arm_build_one_stub): Encode Arm and Thumb instructions separately | |
68 | to take endianness into account. | |
69 | (arm_size_one_stub): Compute size of stubs using insn_sequence. | |
70 | (arm_map_one_stub): Code is now more generic, thanks to | |
71 | insn_sequence. | |
72 | ||
c2b4a39d CL |
73 | 2009-02-23 Christophe Lyon <[email protected]> |
74 | ||
75 | * elf32-arm.c (elf32_arm_stub_long_branch_thumb_only): Fix stub | |
76 | code. | |
77 | (elf32_arm_stub_long_branch_v4t_thumb_arm): Likewise. | |
78 | (arm_type_of_stub): Use Thumb-only long branch stub (non-PIC) when | |
79 | BLX is not available. Fix typo in warning message. Add comments | |
80 | and improve formatting. | |
81 | (arm_build_one_stub): Adjust to new | |
82 | elf32_arm_stub_long_branch_v4t_thumb_arm stub. | |
83 | (arm_map_one_stub): Likewise. | |
84 | ||
0c376465 | 85 | 2009-02-23 Tristan Gingold <[email protected]> |
a60a89d6 TG |
86 | Eric Botcazou <[email protected]> |
87 | Douglas B Rupp <[email protected]> | |
0c376465 TG |
88 | |
89 | * vms.h: Update copyright year, fix comments, reorder declarations. | |
90 | (_bfd_save_vms_section): Remove the prototype. | |
91 | (EGPS_S_V_NO_SHIFT): New constant. | |
92 | (bfd_vms_set_section_flags): New prototype. | |
93 | (EGPS_S_B_ALIGN, EGPS_S_W_FLAGS, EGPS_S_L_ALLOC, EGPS_S_B_NAMLNG): New | |
94 | constants. | |
95 | (EGSY_S_W_FLAGS): Ditto. | |
96 | (EGSY_S_V_QUAD_VAL): Ditto. | |
97 | (ESDF_S_L_VALUE, ESDF_S_L_PSINDX, ESDF_S_B_NAMLNG): Ditto. | |
98 | (EGST_S_W_FLAGS, EGST_S_Q_LP_1, EGST_S_Q_LP_2, EGST_S_L_PSINDX, | |
99 | EGST_S_B_NAMLNG): Ditto. | |
100 | (ESRF_S_B_NAMLNG): Ditto. | |
101 | (ETIR_S_C_HEADER_SIZE): Ditto. | |
102 | (EGPS_S_V_ALLOC_64BIT): Ditto. | |
103 | (DST_S_C_EPILOG): Ditto. | |
104 | (DST_S_C_SRC_SETLNUM_L, DST_S_C_SRC_SETLNUM_W) : Ditto. | |
105 | (DST_S_C_SRC_INCRLNUM_B): Ditto. | |
106 | (DST_S_B_PCLINE_UNSBYTE, DST_S_W_PCLINE_UNSWORD): Ditto. | |
107 | (DST_S_L_PCLINE_UNSLONG): Ditto. | |
108 | (DST_S_B_MODBEG_NAME, DST_S_L_RTNBEG_ADDRESS) : Ditto | |
109 | (DST_S_B_RTNBEG_NAME, DST_S_L_RTNEND_SIZE): Ditto | |
110 | (DST_S_C_SOURCE_HEADER_SIZE): Ditto. | |
111 | (DST_S_B_SRC_DF_LENGTH, DST_S_W_SRC_DF_FILEID): Ditto. | |
112 | (DST_S_B_SRC_DF_FILENAME, DST_S_B_SRC_UNSBYTE): Ditto. | |
113 | (DST_S_B_SRC_UNSBYTE): Ditto. | |
114 | (DST_S_W_SRC_UNSWORD, DST_S_L_SRC_UNSLONG): Ditto. | |
115 | Add prototypes. | |
116 | (vms_section, vms_reloc): Remove types. | |
117 | (hdr_struc): Replaced by ... | |
118 | (hdr_struct): ... new type. | |
119 | (EMH_S_W_HDRTYP, EMH_S_B_STRLVL, EMH_S_L_ARCH1): New constants. | |
120 | (EMH_S_L_ARCH2, EMH_S_L_RECSIZ, EMH_S_B_NAMLNG): Ditto. | |
121 | (EMH_DATE_LENGTH): Ditto. | |
122 | (eom_struc): Replaced by ... | |
123 | (eom_struct): ... new type. | |
124 | (EEOM_S_L_TOTAL_LPS, EEOM_S_W_COMCOD, EEOM_S_B_TFRFLG): New constants. | |
125 | (EEOM_S_L_PSINDX, EEOM_S_L_TFRADR): Ditto. | |
126 | (EIHD_S_K_MAJORID, EIHD_S_K_MINORID, EIHD_S_K_EXE): Ditto. | |
127 | (EIHD_S_L_SIZE, EIHD_S_L_ISDOFF, EIHD_S_L_SYMDBGOFF): Ditto. | |
128 | (EIHD_S_Q_SYMVVA, EIHD_S_L_IMGTYPE): Ditto. | |
129 | (EISD_S_L_EISDSIZE, EISD_S_L_SECSIZE, EISD_S_Q_VIR_ADDR): Ditto. | |
130 | (EISD_S_L_FLAGS, EISD_S_L_VBN, EISD_S_R_CONTROL): Ditto. | |
131 | (EISD_S_L_IDENT, EISD_S_T_GBLNAM): Ditto. | |
132 | (EISD_S_M_GBL, EISD_S_M_CRF, EISD_S_M_DZRO, EISD_S_M_WRT): Ditto. | |
133 | (EISD_S_M_INITALCODE, EISD_S_M_BASED, EISD_S_M_FIXUPVEC): Ditto. | |
134 | (EISD_S_M_RESIDENT, EISD_S_M_VECTOR, EISD_S_M_PROTECT): Ditto. | |
135 | (EISD_S_M_LASTCLU, EISD_S_M_EXE, EISD_S_M_NONSHRADR): Ditto. | |
136 | (EISD_S_M_QUAD_LENGTH, EISD_S_M_ALLOC_64BIT): Ditto. | |
137 | (EIHS_S_L_DSTVBN, EIHS_S_L_DSTSIZE, EIHS_S_L_GSTVBN): Ditto. | |
138 | (EIHS_S_L_GSTSIZE, EIHS_S_L_DMTVBN, EIHS_S_L_DMTBYTES): Ditto. | |
139 | (DBG_S_L_DMT_MODBEG, DBG_S_L_DST_SIZE): Ditto. | |
140 | (DBG_S_W_DMT_PSECT_COUNT, DBG_S_C_DMT_HEADER_SIZE): Ditto. | |
141 | (DBG_S_L_DMT_PSECT_START, DBG_S_L_DMT_PSECT_LENGTH) | |
142 | (DBG_S_C_DMT_PSECT_SIZE): Ditto. | |
143 | (enum file_type_enum): New type. | |
144 | (struct location_struct): Removed. | |
145 | (struct fileinfo, struct srecinfo, struct lineinfo): New types. | |
146 | (struct funcinfo, struct module): Ditto. | |
147 | (struct vms_private_data_struct): Update fields. | |
148 | (struct vms_section_data_struct): New type. | |
149 | ||
150 | * vms.c: Update copyright year, fix comments, | |
151 | Fix includes for DECC, add prototypes. | |
152 | (vms_initialize): Use bfd_alloc instead of bfd_zalloc and remove | |
153 | some initializers. | |
154 | Use flavour to set is_vax, location_stack is removed. | |
155 | (struct pair): Declare. | |
156 | (fill_section_ptr): Initialize variables at declaration. | |
157 | Add guard to set SECTION_SYM flag, handlde und section. | |
158 | (vms_fixup_sections): Use struct pair for fill_section_ptr argument. | |
159 | (_bfd_vms_slurp_object_records): New function, replaces previous | |
160 | vms_object_p. | |
161 | (vms_slurp_module): New function. | |
162 | (vms_slurp_image): Ditto. | |
163 | (vms_object_p): Complete rewrite. | |
164 | (vms_mkobject): Use is_vax field to slect architecture. | |
165 | (free_reloc_stream): New function. | |
166 | (vms_convert_to_var): Ditto. | |
167 | (vms_convert_to_var_1): Ditto. | |
168 | (vms_convert_to_var_unix_filename): Ditto. | |
169 | (vms_close_and_cleanup): Call free_reloc_stream, convert file to | |
170 | VAR format on VMS. | |
171 | (vms_new_section_hook): Set alignment to 0, allocate private data. | |
172 | (vms_get_section_contents): Load content. | |
173 | (vms_get_symbol_info): Handle undefined section. | |
174 | (vms_find_nearest_line): Handle. | |
175 | (alloc_reloc_stream): New function. | |
176 | (vms_slurp_reloc_table): Ditto. | |
177 | (vms_get_reloc_upper_bound): Make it real. | |
178 | (vms_canonicalize_reloc): Do the real work. | |
179 | (alpha_howto_table): Add ALPHA_R_NOP, ALPHA_R_BSR, ALPHA_R_LDA, | |
180 | ALPHA_R_BOH. | |
181 | (vms_bfd_reloc_type_lookup): Handle NOP, BSR, LDA and BOH. | |
182 | (vms_set_arch_mach): Check arch. | |
183 | (vms_set_section_contents): Copy the content after allocation. | |
184 | (vms_alpha_vec): Update object flags. | |
185 | ||
186 | * vms-tir.c: Update copyright year, fix comments, | |
187 | add prototypes for new functions. | |
188 | (dst_define_location): New function. | |
189 | (dst_restore_location): New function. | |
190 | (dst_retrieve_location): New function. | |
191 | (dst_check_allocation): New function. | |
192 | (image_dump): Call dst_check_allocation. | |
193 | (image_write_b): Ditto. | |
194 | (image_write_w): Ditto. | |
195 | (image_write_l): Ditto. | |
196 | (image_write_q): Ditto. | |
197 | (cmd_name): Handle STA_LW, STA_QW, STO_OFF, STO_IMM, STO_IMMR, STO_LW, | |
198 | STO_QW, OPR_ADD, CTL_SETRB, STC_LP_PSB, CTL_DFLOC, CTL_STLOC, | |
199 | CTL_STKDL. | |
200 | Call error handler instead of abort if name is not known. | |
201 | (etir_sta): Add quarter_relocs argument and set it. | |
202 | Fix cast. | |
203 | (etir_sto): Ditto. | |
204 | (etir_opr): Ditto, return FALSE in case of error. | |
205 | (etir_ctl): Add quarter_relocs argument and set it, fix cast. | |
206 | Fix CTL_DFLOC, CTL_STLOC, CTL_STKDL. | |
207 | (etir_stc): Add quarter_relocs argument and set it, fix cast. | |
208 | Fix STC_LP, STC_LP_PSB, STC_GBL and STC_CGA. | |
209 | Handle STC_LP_PSB, STC_BSR_GBL, STC_LDA_GBL, STC_BOH_GBL. | |
210 | Move STC_NOP_PS, STC_BSR_PS, STC_LDA_PS, STC_BOH_PS, STC_NBH_PS. | |
211 | Return FALSE in case of error. | |
212 | (tir_sta): Change sign of psect. | |
213 | (tir_ctl): Ditto. | |
214 | (tir_cmd): Fix cast. Makes tir_table static const. | |
215 | (etir_cmd): Add quarter_relocs argument, makes etir_table const, | |
216 | add argument to explain. | |
217 | (analyze_etir): Initialize maxptr, add quarter_relocs | |
218 | declaration, move some declarations into inner scopes. | |
219 | Handle quarter_relocs and STO_IMM. | |
220 | (_bfd_vms_slurp_tir): Use constant instead of hard-coded values. | |
221 | (_bfd_vms_slurp_relocs): New function. | |
222 | (_bfd_vms_decode_relocs): New function. | |
223 | (sto_imm): Rewritten. | |
224 | (start_first_etbt_record): New function. | |
225 | (start_another_etbt_record): Ditto. | |
226 | (etir_output_check): Ditto. | |
227 | (defer_reloc_p): Ditto. | |
228 | (_bfd_vms_write_tir): Remove nextoffset, convert a while-loop to | |
229 | a for-loop. Correctly deals with contents, deals with .vmsdebug, | |
230 | rewritte relocations handling. | |
231 | (_bfd_vms_write_tbt): Removed. | |
232 | (_bfd_vms_write_dbg): Ditto. | |
233 | ||
234 | * vms-misc.c: Update copyright year, Fix comments. | |
235 | (_bfd_vms_get_header_values): Use 'size' instead of 'length'. | |
236 | (maybe_adjust_record_pointer_for_object): New function. | |
237 | (_bfd_vms_get_first_record): New function, replaces ... | |
238 | (_bfd_vms_get_record): .. removed. | |
239 | (_bfd_vms_get_object_record): New function. | |
240 | (_bfd_vms_get_object_record): New function. | |
241 | (vms_get_remaining_object_record): New function, replaces ... | |
242 | (_bfd_vms_get_next_record): ... removed. | |
243 | (add_new_contents): Removed. | |
244 | (_bfd_save_vms_section): Removed. | |
245 | (_bfd_get_vms_section): Removed. | |
246 | (_bfd_vms_output_flush): Write in VAR format. | |
247 | (new_symbol): Don't make UND section. | |
248 | ||
249 | * vms-hdr.c: Update copyright year, update list of record handled. | |
250 | (_bfd_vms_slurp_hdr): rec_length renamed to rec_size. | |
251 | (_bfd_vms_write_hdr): Strip vms and unix patches, | |
252 | add comments, truncate module name at 31 characters, | |
253 | use constants instead of hard-coded value, | |
254 | write BFD version instead of a fixed string. | |
255 | (_bfd_vms_slurp_ihd): New function. | |
256 | (_bfd_vms_slurp_isd): Ditto. | |
257 | (_bfd_vms_slurp_ihs): Ditto. | |
258 | (new_module): Ditto. | |
259 | (parse_module): Ditto | |
260 | (build_module_list): Ditto. | |
261 | (module_find_nearest_line): Ditto. | |
262 | (_bfd_vms_find_nearest_dst_line): Ditto. | |
263 | (vms_slurp_debug): Ditto. | |
264 | (_bfd_vms_slurp_dbg): Ditto. | |
265 | (_bfd_vms_slurp_tbt): Ditto. | |
266 | (_bfd_vms_write_dbg): Ditto. | |
267 | (_bfd_vms_write_tbt): Ditto. | |
268 | ||
269 | * vms-gsd.c: Update copyright year, update list of records handled. | |
270 | (EVAX_LITERALS_NAME): New macro. | |
271 | (evax_section_flags): Add an entry for EVAX_LITERALS_NAME. | |
272 | (gpsflagdesc, gsyflagdesc): Moved out of _bfd_vms_slurp_gsd. | |
273 | (register_universal_symbol): New function and prototype. | |
274 | (_bfd_vms_slurp_gsd): Fix indentations and casts, | |
275 | improve debug messages, | |
276 | use constants instead of hard-coded value, | |
277 | fix missing endianness conversion, | |
278 | handle global symbol (SYMG). | |
279 | (bfd_vms_set_section_flags): New function. | |
280 | (_bfd_vms_write_gsd): Don't write .vmsdebug section, | |
281 | handle section literals, | |
282 | fix indentation, | |
283 | handle section bfd and vms flags, | |
284 | don't output LIB$INITIALIZE symbol, | |
285 | fix handling of weak symbols, | |
286 | fix evax vs vax procedure descriptor, | |
287 | handle absolute symbols. | |
288 | ||
289 | * reloc.c (BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_BSR, | |
290 | BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BOH): New relocations. | |
291 | ||
292 | * makefile.vms (DEFS): Fix flags for VMS. | |
293 | ||
294 | * bfdio.c (real_fopen): Handle multiple VMS fopen attributes. | |
295 | ||
296 | * bfd-in2.h: Regenerated. | |
297 | * libbfd.h: Regenerated. | |
298 | ||
47149254 CC |
299 | 2009-02-20 Cary Coutant <[email protected]> |
300 | ||
301 | * vmsutil.c (vms_file_stats_name): Fix incorrect use of st_mtime | |
302 | in struct stat. | |
303 | ||
6b1cecf3 DK |
304 | 2009-18-02 Dave Korn <[email protected]> |
305 | ||
306 | PR gas/7059 | |
307 | * coffcode.h (coff_write_object_contents): Don't let the string | |
308 | table offset overflow the s_name field when using long section names. | |
309 | ||
88183869 DK |
310 | 2009-18-02 Dave Korn <[email protected]> |
311 | ||
312 | * coff-alpha.c (alpha_ecoff_backend_data): Initialise fields which | |
313 | control long section name handling with ECOFF_NO_LONG_SECTION_NAMES. | |
314 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
315 | * coff-rs6000.c (bfd_xcoff_backend_data): Initialise fields which | |
316 | control long section name handling with XCOFF_NO_LONG_SECTION_NAMES. | |
317 | (bfd_pmac_xcoff_backend_data): Likewise. | |
318 | * coff64-rs6000.c (bfd_xcoff_backend_data): Likewise. | |
319 | (bfd_xcoff_aix5_backend_data): Likewise. | |
320 | (xcoff64_write_object_contents): Delete unused long_section_names | |
321 | local variable. | |
322 | * coff-sh.c (bfd_coff_small_swap_table): Initialise long section | |
323 | name members using COFF_DEFAULT_LONG_SECTION_NAMES and make entire | |
324 | struct non-const. | |
325 | * coffcode.h (documentation): Update to describe long section names. | |
326 | (COFFLONGSECTIONCATHELPER): New helper macro. | |
327 | (BLANKOR1TOODD): Likewise. | |
328 | (COFF_ENABLE_LONG_SECTION_NAMES): Likewise. | |
329 | (COFF_LONG_SECTION_NAMES_SETTER): Likewise. | |
330 | (COFF_DEFAULT_LONG_SECTION_NAMES): Likewise. | |
331 | (bfd_coff_set_long_section_names_allowed): New function. | |
332 | (bfd_coff_set_long_section_names_disallowed): Likewise. | |
333 | (struct bfd_coff_backend_data): Add new backend hook function | |
334 | pointer _bfd_coff_set_long_section_names. | |
335 | (bfd_coff_set_long_section_names): New backend hook. | |
336 | (coff_write_object_contents): Only generate long section names if | |
337 | bfd_coff_long_section_names() indicates they are currently enabled. | |
338 | (bfd_coff_std_swap_table): Make non-const, and initialise long | |
339 | section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. | |
340 | (ticoff0_swap_table): Likewise to both. | |
341 | (ticoff1_swap_table): Again, likewise to both. | |
342 | * coffgen.c (make_a_section_from_file): Allow long section names | |
343 | as inputs even if not currently allowed for outputs. | |
344 | * ecoff.c (_bfd_ecoff_no_long_sections): New function. | |
345 | * efi-app-ia32.c (COFF_LONG_SECTION_NAMES): Define to 0, not blank. | |
346 | * efi-app-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
347 | * efi-app-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
348 | * efi-bsdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. | |
349 | * efi-bsdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
350 | * efi-bsdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
351 | * efi-rtdrv-ia32.c (COFF_LONG_SECTION_NAMES): Likewise. | |
352 | * efi-rtdrv-ia64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
353 | * efi-rtdrv-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
354 | * pei-arm.c (COFF_LONG_SECTION_NAMES): Likewise. | |
355 | * pei-i386.c (COFF_LONG_SECTION_NAMES): Likewise. | |
356 | * pei-mcore.c (COFF_LONG_SECTION_NAMES): Likewise. | |
357 | * pei-mips.c (COFF_LONG_SECTION_NAMES): Likewise. | |
358 | * pei-ppc.c (COFF_LONG_SECTION_NAMES): Likewise. | |
359 | * pei-sh.c (COFF_LONG_SECTION_NAMES): Likewise. | |
360 | * pei-x86_64.c (COFF_LONG_SECTION_NAMES): Likewise. | |
361 | * libcoff-in.h: Update copyright year to cause updated copyright | |
362 | year in generated libcoff.h, and fix typo. | |
363 | * libcoff.h: Regenerated. | |
364 | * libecoff.h (ECOFF_NO_LONG_SECTION_NAMES): New macro. | |
365 | (_bfd_ecoff_no_long_sections): Add prototype. | |
366 | * libxcoff.h (XCOFF_NO_LONG_SECTION_NAMES): New macro. | |
367 | * pe-mips.c (COFF_LONG_SECTION_NAMES): Define empty if not already | |
368 | defined by an including .c file. | |
369 | * ticoff.h (ticoff0_swap_table): Make non-const, and initialise | |
370 | long section name fields using COFF_DEFAULT_LONG_SECTION_NAMES. | |
371 | (ticoff1_swap_table): Likewise to both. | |
372 | ||
90d8a22c CL |
373 | 2009-02-18 Christophe Lyon <[email protected]> |
374 | ||
375 | * elf32-arm.c (arm_build_one_stub): Fix relocation target for pic | |
376 | stub. Catch default case error. | |
377 | (arm_map_one_stub): Add missing Thumb mapping symbol. | |
378 | ||
12123067 NC |
379 | 2009-02-18 Bjoern Haase <[email protected]> |
380 | ||
381 | PR 9841 | |
382 | * elf32-avr.c: Handle case where no local symbos exist correctly. | |
383 | ||
fea2b4d6 CL |
384 | 2009-02-16 Christophe Lyon <[email protected]> |
385 | ||
386 | bfd/ | |
387 | * elf32-arm.c (arm_long_branch_stub, | |
388 | arm_thumb_v4t_long_branch_stub, | |
389 | arm_thumb_thumb_long_branch_stub, | |
390 | arm_thumb_arm_v4t_long_branch_stub, | |
391 | arm_thumb_arm_v4t_short_branch_stub, | |
392 | arm_pic_long_branch_stub): | |
393 | Renamed to elf32_arm_stub_long_branch_any_any, | |
394 | elf32_arm_stub_long_branch_v4t_arm_thumb, | |
395 | elf32_arm_stub_long_branch_thumb_only, | |
396 | elf32_arm_stub_long_branch_v4t_thumb_arm, | |
397 | elf32_arm_stub_short_branch_v4t_thumb_arm, | |
398 | elf32_arm_stub_long_branch_any_any_pic. | |
399 | (arm_stub_long_branch, arm_thumb_v4t_stub_long_branch, | |
400 | arm_thumb_thumb_stub_long_branch, | |
401 | arm_thumb_arm_v4t_stub_long_branch, | |
402 | arm_thumb_arm_v4t_stub_short_branch, arm_stub_pic_long_branch): | |
403 | Renamed to arm_stub_long_branch_any_any, | |
404 | arm_stub_long_branch_v4t_arm_thumb, | |
405 | arm_stub_long_branch_thumb_only, | |
406 | arm_stub_long_branch_v4t_thumb_arm, | |
407 | arm_stub_short_branch_v4t_thumb_arm, | |
408 | arm_stub_long_branch_any_any_pic. | |
409 | ||
13e0a874 DA |
410 | 2009-02-15 John David Anglin <[email protected]> |
411 | ||
412 | * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value used | |
413 | in branch offset check. | |
414 | ||
3a71aa26 AM |
415 | 2009-02-15 Alan Modra <[email protected]> |
416 | ||
417 | * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx, | |
418 | add toc.symndx and toc.add. | |
419 | (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here. | |
420 | Set up toc.add. | |
421 | (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all | |
422 | callers. | |
423 | (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd. | |
424 | (branch_reloc_hash_match): New function, extracted from.. | |
425 | (ppc64_elf_tls_optimize): ..here. | |
426 | (ppc64_elf_relocate_section): Properly set addends when optimizing | |
427 | tls sequences. Avoid unnecessary reading and writing of insns. | |
428 | Only redo reloc when symbol changed. Bypass symbol checks when | |
429 | using tlsld_got. | |
430 | * elf32-ppc.c (ppc_elf_tls_setup): Correct comment. | |
431 | (branch_reloc_hash_match): New function, extracted from.. | |
432 | (ppc_elf_tls_optimize): ..here. | |
433 | (ppc_elf_relocate_section): Avoid unnecessary reading of insns. | |
434 | Don't clear addend on zapped __tls_get_addr reloc. | |
435 | ||
2c2b4ed4 NC |
436 | 2009-02-12 Nick Clifton <[email protected]> |
437 | ||
438 | PR 9827 | |
439 | * elflink.c (bfd_elf_final_link): When counting the relocations, | |
440 | if the header size has not been set yet then assume that it will | |
441 | match the output section's reloc type. | |
442 | ||
453f5985 NS |
443 | 2009-02-12 Nathan Sidwell <[email protected]> |
444 | ||
445 | * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for | |
446 | relocatable link. | |
447 | ||
3209bffa AM |
448 | 2009-02-09 Alan Modra <[email protected]> |
449 | ||
450 | * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors. | |
451 | (find_function): Likewise. | |
452 | (pasted_function): Don't error if no prior function found. | |
453 | (discover_functions): Revert 2008-12-10 change. Extend first | |
454 | function range to start of section. | |
455 | ||
813c8a3c DA |
456 | 2009-02-08 John David Anglin <[email protected]> |
457 | ||
458 | * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. Convert | |
459 | functions to C90. | |
460 | * elf64-hppa.h: Likewise. | |
461 | ||
2d0f9ad9 JM |
462 | 2009-02-06 Joseph Myers <[email protected]> |
463 | ||
464 | * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove special | |
465 | .sbss handling. | |
466 | ||
50e00962 AM |
467 | 2009-02-04 Alan Modra <[email protected]> |
468 | ||
469 | * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize. | |
470 | Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*. | |
471 | ||
52b6b6b9 JM |
472 | 2009-02-03 Sandip Matte <[email protected]> |
473 | ||
474 | * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. | |
475 | * archures.c (bfd_mach_mips_xlr): Define. | |
476 | * bfd-in2.h: Regenerate. | |
477 | * cpu-mips.c (I_xlr): Define. | |
478 | (arch_info_struct): Add XLR entry. | |
479 | * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. | |
480 | (mips_set_isa_flags): Handle bfd_mach_mips_xlr | |
481 | (mips_mach_extensions): Add XLR entry. | |
482 | ||
654c3c9f EW |
483 | 2009-02-03 Eric B. Weddington <[email protected]> |
484 | ||
485 | * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound. | |
486 | ||
31dd3154 JM |
487 | 2009-02-03 Carlos O'Donell <[email protected]> |
488 | ||
489 | * configure.in: AC_SUBST pdfdir. | |
490 | * Makefile.am: Add install-pdf, install-pdf-am | |
491 | and install-pdf-recursive targets. Define pdfdir. | |
492 | * doc/Makefile.am: Define pdf__strip_dir. Add | |
493 | install-pdf and install-pdf-am targets. | |
494 | * po/Make-in: Add install-pdf target. | |
495 | * configure: Regenerate. | |
496 | * Makefile.in: Regenerate | |
497 | * doc/Makefile.in: Regenerate. | |
498 | ||
cf869cce NC |
499 | 2009-02-03 Maxim Kuvyrkov <[email protected]> |
500 | ||
501 | * bfd-in2.h: Regenerate. | |
502 | * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and | |
503 | fields from n_entries to n_slots where appropriate, update comments. | |
504 | (HOWTO): Add TLS relocations. | |
505 | (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. | |
506 | (enum elf_m68k_got_offset_size): New enum. | |
507 | (struct elf_m68k_got_entry.type): Move field to ... | |
508 | (struct elf_m68k_got_entry_key): ... here. Update all uses. | |
509 | (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static | |
510 | functions. | |
511 | (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static | |
512 | functions. | |
513 | (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries | |
514 | fields into n_entries array. Update comments. | |
515 | (elf_m68k_init_got): Simplify, update all uses. | |
516 | (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. | |
517 | (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot | |
518 | GOT entries; update name, update all uses. | |
519 | (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. | |
520 | (elf_m68k_get_got_entry): Update. | |
521 | (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, | |
522 | simplify. | |
523 | (elf_m68k_remove_got_entry_type): Simplify. | |
524 | (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. | |
525 | (elf_m68k_can_merge_gots): Update. | |
526 | (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. | |
527 | (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot | |
528 | GOT entries, simplify. | |
529 | (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. | |
530 | (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff | |
531 | field, remove obsoleted local_n_entries field. | |
532 | (elf_m68k_partition_multi_got_2): New static function. | |
533 | (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; | |
534 | update. | |
535 | (elf_m68k_remove_got_entry_type): Update. | |
536 | (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. | |
537 | (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary | |
538 | update of sgot->size and srelgot->size. | |
539 | (elf_m68k_gc_sweep_hook): Update. | |
540 | (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. | |
541 | (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle | |
542 | TLS relocations. | |
543 | * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. | |
544 | * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*. | |
545 | ||
c1a0a41f DD |
546 | 2009-02-02 DJ Delorie <[email protected]> |
547 | ||
548 | * elf32-mep.c (config_names): Regenerate configuration. | |
549 | ||
72a80a16 AM |
550 | 2009-02-02 Alan Modra <[email protected]> |
551 | ||
552 | * elf-bfd.h (bfd_elf_get_str_section): Don't declare. | |
553 | (bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. | |
554 | * elf.c (bfd_elf_get_str_section): Make static. | |
555 | (bfd_elf_find_section): Delete. | |
556 | * libbfd.h: Regenerate. | |
557 | ||
273f4430 JK |
558 | 2009-02-01 Jan Kratochvil <[email protected]> |
559 | ||
560 | * elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. | |
561 | (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. | |
562 | ||
010e5ae2 AM |
563 | 2009-01-31 Alan Modra <[email protected]> |
564 | ||
565 | * elflink.c (on_needed_list): New function. | |
566 | (elf_link_add_object_symbols): Link in --as-needed libs if they | |
567 | satisfy undefined symbols in other libs. | |
568 | ||
33a7ffc2 JM |
569 | 2009-01-30 Julian Brown <[email protected]> |
570 | ||
571 | * elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with | |
572 | EXEC_P or DYNAMIC flags, and skip sections which are being linked | |
573 | with --just-symbols (-R). | |
574 | ||
13d72a14 AN |
575 | 2009-01-29 Adam Nemet <[email protected]> |
576 | ||
577 | * dwarf2.c (read_rangelist): Use read_address to read low_pc and | |
578 | high_pc in order to properly sign-extend VMAs. | |
579 | ||
d334575b JM |
580 | 2009-01-29 Daniel Jacobowitz <[email protected]> |
581 | Mark Shinwell <[email protected]> | |
582 | Catherine Moore <[email protected]> | |
583 | ||
584 | * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments. | |
585 | ||
528aeb62 CM |
586 | 2009-01-28 Catherine Moore <[email protected]> |
587 | ||
588 | * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and | |
589 | SEC_LOAD for dynamic relocation sections. | |
590 | ||
f6f05983 HPN |
591 | 2009-01-27 Hans-Peter Nilsson <[email protected]> |
592 | ||
593 | * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table | |
594 | (info)->tls_size, not elf_hash_table (info)->tls_sec->size for | |
595 | the size of local TLS data. | |
596 | ||
27cc28f9 AS |
597 | 2009-01-27 Andreas Schwab <[email protected]> |
598 | ||
599 | * mach-o.c (bfd_mach_o_archive_p): Restrict the number of | |
600 | architectures in the archive. | |
601 | ||
b3bf42d8 HPN |
602 | 2009-01-27 Hans-Peter Nilsson <[email protected]> |
603 | ||
f551b6f0 HPN |
604 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL> |
605 | <R_CRIS_32_DTPREL>: Correct relocation value. | |
606 | ||
b3bf42d8 HPN |
607 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8> |
608 | <R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined | |
609 | symbols with non-default visibility. | |
610 | ||
9bc4e62b NS |
611 | 2009-01-26 Nathan Sidwell <[email protected]> |
612 | ||
613 | * elf32-ppc.c (ppc_elf_relax_section): Add space for relocs | |
614 | describing the trampolines. | |
615 | (ppc_elf_relocate_section): Update relocs to describe the | |
616 | trampolines. | |
617 | ||
aeaf6540 DA |
618 | 2009-01-25 John David Anglin <[email protected]> |
619 | ||
620 | * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that | |
621 | branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F | |
622 | and R_PARISC_PCREL12F relocations. | |
623 | ||
1e8fa21e AM |
624 | 2009-01-24 Alan Modra <[email protected]> |
625 | ||
626 | PR 6022 | |
627 | * elflink.c (find_version_for_sym): New function split out from, | |
628 | but without export_dynamic test, .. | |
629 | (_bfd_elf_link_assign_sym_version): ..here. | |
630 | (_bfd_elf_export_symbol): Use it. | |
631 | ||
28caa186 AM |
632 | 2009-01-23 Alan Modra <[email protected]> |
633 | ||
634 | * elf-bfd.h (struct elf_assign_sym_version_info): Delete. | |
635 | (struct elf_info_failed, struct elf_find_verdep_info): Move to.. | |
636 | * elflink.c: ..here, somewhat modified. | |
637 | * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, | |
638 | _bfd_elf_link_find_version_dependencies, | |
639 | _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, | |
640 | _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, | |
641 | _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't | |
642 | declare.. | |
643 | * elflink.c: ..and make static here. | |
644 | (_bfd_elf_link_find_version_dependencies): Adjust for removal | |
645 | of output_bfd from struct elf_find_verdep_info. | |
646 | (_bfd_elf_link_assign_sym_version): Similarly adjust to use | |
647 | struct elf_info_failed. | |
648 | (bfd_elf_size_dynamic_sections): Adjust. | |
649 | ||
be04437d AM |
650 | 2009-01-22 Alan Modra <[email protected]> |
651 | ||
652 | PR 6832 | |
653 | * dwarf2.c (find_line): Don't update stash->sec_info_ptr until | |
654 | after comp_unit_find_line call. | |
655 | ||
58f9615c NC |
656 | 2009-01-21 Nick Clifton <[email protected]> |
657 | ||
658 | PR 9769 | |
659 | * vmsutil.c (vms_file_stats_name): Remove use of unsupported | |
660 | tm_gmtoff field in struct tm. | |
661 | ||
fb266b8b AM |
662 | 2009-01-21 Alan Modra <[email protected]> |
663 | ||
664 | * elf32-spu.h (struct spu_elf_params): Add non_ia_text. | |
665 | * elf32-spu.c (mark_overlay_section): Only include .text.ia.* | |
666 | sections in soft-icache lines unless non_ia_text. Don't add | |
667 | rodata if doing so would exceed line size. | |
668 | ||
451ffe63 HPN |
669 | 2009-01-19 Hans-Peter Nilsson <[email protected]> |
670 | ||
671 | * elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol | |
672 | types than bfd_link_hash_indirect, before early return, call | |
673 | _bfd_elf_link_hash_copy_indirect. | |
674 | ||
5aa6ff7c AS |
675 | 2009-01-19 Andrew Stubbs <[email protected]> |
676 | ||
677 | * elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering. | |
678 | * elf-bfd.h (elf_backend_data): Add obj_attrs_order. | |
679 | * elf32-arm.c (elf32_arm_obj_attrs_order): New function. | |
680 | (elf_backend_obj_attrs_order): New define. | |
681 | * elfxx-target.h (elf_backend_obj_attrs_order): New define. | |
682 | (elfNN_bed): Add elf_backend_obj_attrs_order. | |
683 | ||
3483fe2e AS |
684 | 2009-01-19 Andrew Stubbs <[email protected]> |
685 | ||
686 | * elf-attrs.c (is_default_attr): Substitute magic numbers with macros. | |
687 | (obj_attr_size): Likewise. | |
688 | (write_obj_attribute): Likewise. | |
689 | (_bfd_elf_copy_obj_attributes): Likewise. | |
690 | (_bfd_elf_parse_attributes): Likewise. | |
691 | * elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define. | |
692 | (ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines. | |
693 | (ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines. | |
694 | (ATTR_TYPE_HAS_NO_DEFAULT): New define. | |
695 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers | |
696 | with macros. | |
697 | ||
2d0bb761 AS |
698 | 2009-01-19 Andrew Stubbs <[email protected]> |
699 | ||
700 | * elf-attrs.c (is_default_attr): Support defaultless attributes. | |
701 | (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. | |
702 | (bfd_elf_add_obj_attr_string): Likewise. | |
703 | (bfd_elf_add_obj_attr_int_string): Likewise. | |
704 | (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. | |
705 | * elf-bfd.h (struct obj_attribute): Document new flag bit. | |
706 | * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that | |
707 | Tag_nodefaults has no default value. | |
708 | (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults | |
709 | comment to reflect the new state. | |
710 | ||
a77e83b7 AM |
711 | 2009-01-19 Alan Modra <[email protected]> |
712 | ||
713 | PR 9695 | |
714 | * pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC. | |
715 | (some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC. | |
716 | (adjust_z_magix): Delete dead code handling QMAGIC. | |
717 | ||
f6d29e26 KT |
718 | 2009-01-16 Kai Tietz <[email protected]> |
719 | ||
720 | * coffcode.h (styp_to_sec_flags): Correct interpretation of | |
721 | IMAGE_SCN_MEM_DISCARDABLE. | |
722 | ||
29670fb9 AM |
723 | 2009-01-16 Alan Modra <[email protected]> |
724 | ||
725 | * Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute | |
726 | SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. | |
727 | * configure.in (commonbfdlib): Delete. | |
728 | (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ | |
729 | (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such | |
730 | is available, not just for linux. | |
731 | * po/SRC-POTFILES.in: Regenerate. | |
732 | * Makefile.in: Regenerate. | |
733 | * configure: Regenerate. | |
734 | ||
91e22acd AS |
735 | 2009-01-15 Andrew Stubbs <[email protected]> |
736 | Julian Brown <[email protected]> | |
737 | ||
738 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known | |
739 | ARM attributes in ABI 2.07. | |
740 | * elf32-arm.c (get_secondary_compatible_arch): New function. | |
741 | (set_secondary_compatible_arch): New function. | |
742 | (tag_cpu_arch_combine): New function. | |
743 | (elf32_arm_copy_one_eabi_other_attribute): Delete function. | |
744 | (elf32_arm_copy_eabi_other_attribute_list): Delete function. | |
745 | (elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to | |
746 | make it fit with order_01243. | |
747 | Add support for Tag_also_compatible_with, | |
748 | Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use, | |
749 | Tag_MPextension_use, Tag_nodefaults and Tag_conformance. | |
750 | Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name, | |
751 | Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension, | |
752 | Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed, | |
753 | Tag_VFP_arch and Tag_ABI_FP_16bit_format. | |
754 | Rework the way unknown attributes are handled. | |
755 | Defer errors until all attributes have been processed. | |
756 | ||
7b86a9fa AS |
757 | 2009-01-15 Andrew Stubbs <[email protected]> |
758 | ||
759 | * elf-attrs.c (bfd_elf_add_obj_attr_compat): Rename to | |
760 | bfd_elf_add_obj_attr_int_string. | |
761 | Read Tag_compatibility from its new location in the attribute array, | |
762 | rather than the attribute list. | |
763 | (_bfd_elf_copy_obj_attributes): bfd_elf_add_obj_attr_compat -> | |
764 | bfd_elf_add_obj_attr_int_string. | |
765 | (_bfd_elf_parse_attributes): Likewise. | |
766 | (_bfd_elf_merge_object_attributes): There's now only one | |
767 | Tag_compatibility, and it's in the array, not the list. | |
768 | * elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 33 to include | |
769 | Tag_compatibility. | |
770 | (bfd_elf_add_obj_attr_compat): Rename to | |
771 | bfd_elf_add_obj_attr_int_string. | |
772 | (bfd_elf_add_proc_attr_compat): Rename to | |
773 | bfd_elf_add_proc_attr_int_string. | |
774 | * elf32-arm.c (elf32_arm_merge_eabi_attributes): Explicitly don't handle | |
775 | Tag_compatibility. | |
776 | ||
01e1a5bc NC |
777 | 2009-01-15 Douglas B Rupp <[email protected]> |
778 | ||
779 | * Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo | |
780 | (BFD32_BACKENDS_CFILES): Add new file vmsutil.c | |
781 | (vmsutil.lo): Add dependency rule. | |
782 | * Makefile.in: Regenerate. | |
783 | * config.bfd (ia64*-*-*vms*): Add case. | |
784 | * configure.in (bfd_elf64_ia64_vms_vec): Add case. | |
785 | * configure: Regenerate. | |
786 | * vmsutil.c: New file. | |
787 | * vmsutil.h: New file. | |
788 | * elf-bfd.h (struct bfd_elf_special_section): Change type of | |
789 | attr to bfd_vma. | |
790 | * elfxx-ia64.c (elfNN_vms_post_process_headers, | |
791 | elfNN_vms_section_processing, elfNN_vms_final_write_processing, | |
792 | elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr, | |
793 | elfNN_vms_object_p): New functions | |
794 | * targets.c (bfd_elf64_ia64_vms_vec): New target. | |
795 | ||
a33dafc3 L |
796 | 2009-01-14 H.J. Lu <[email protected]> |
797 | ||
798 | PR ld/9727 | |
799 | * elflink.c (elf_gc_sweep): Exclude the group section if the | |
800 | first member of the section group is excluded. | |
801 | ||
13c0e967 AM |
802 | 2009-01-14 Alan Modra <[email protected]> |
803 | ||
804 | PR 9735 | |
805 | * syms.c (_bfd_stab_section_find_nearest_line): Don't free | |
806 | saved filename, use bfd_alloc rather than bfd_malloc for it. | |
807 | ||
460e679b AM |
808 | 2009-01-13 Alan Modra <[email protected]> |
809 | ||
810 | * elf32-spu.c (spu_elf_build_stubs): Make __icache_base absolute. | |
811 | ||
25076afa AM |
812 | 2009-01-13 Alan Modra <[email protected]> |
813 | ||
814 | * elf32-spu.c (remove_cycles): Always set call->max_depth. | |
815 | ||
37107878 AM |
816 | 2009-01-12 Alan Modra <[email protected]> |
817 | ||
818 | * elf32-spu.c (spu_elf_auto_overlay): Correct vma mask. | |
819 | ||
cd4a7468 AM |
820 | 2009-01-12 Alan Modra <[email protected]> |
821 | ||
822 | * elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2, | |
823 | num_lines_log2. | |
824 | (struct got_entry): Add br_addr. | |
825 | (struct call_info): Add priority. | |
826 | (struct function_info): Add lr_store and sp_adjust. | |
827 | (spu_elf_setup): Init line_size_log2 and num_lines_log2. | |
828 | (spu_elf_find_overlays): For soft-icache, mark any section within cache | |
829 | area as an overlay, and check that no other overlays exist. Look up | |
830 | icache overlay manager entry sym. | |
831 | (BRA_STUBS, BRA, BRASL): Define. | |
832 | (enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub. | |
833 | (needs_ovl_stub): Adjust for soft-icache. Return priority encoded | |
834 | in branch insn. | |
835 | (count_stub, build_stub): Support soft-icache. | |
836 | (build_spuear_stubs, process_stubs): Adjust build_stub call. | |
837 | (spu_elf_size_stubs): Size soft-icache stubs. | |
838 | (overlay_index): New function. | |
839 | (spu_elf_build_stubs): Make static. Support soft-icache. | |
840 | (spu_elf_check_vma): Don't turn off auto_overlay if soft-icache. | |
841 | (find_function_stack_adjust): Save lr store and stack adjust insn | |
842 | offsets. | |
843 | (maybe_insert_function): Adjust find_function_stack_adjust call. | |
844 | (mark_functions_via_relocs): Retrieve priority. | |
845 | (remove_cycles): Only warn about pruned arcs when stack_analysis. | |
846 | (sort_calls): Sort by priority first. | |
847 | (mark_overlay_section): Ignore .ovl.init. | |
848 | (sum_stack): Only print when stack_analysis. | |
849 | (print_one_overlay_section): New function, extracted from.. | |
850 | (spu_elf_auto_overlay): ..here. Support soft-icache overlays. | |
851 | (spu_elf_stack_analysis): Only print when htab->stack_analysis. | |
852 | (spu_elf_final_link): Call spu_elf_stack_analysis for lrlive | |
853 | analysis. Call spu_elf_build_stubs. | |
854 | (spu_elf_relocate_section): For soft-icache encode overlay index | |
855 | into addresses. | |
856 | (spu_elf_output_symbol_hook): Support soft-icache. | |
857 | (spu_elf_modify_program_headers: Likewise. | |
37107878 | 858 | |
cd4a7468 AM |
859 | * elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename |
860 | num_regions to num_lines. Add line_size and max_branch. | |
861 | (enum _ovly_flavour): Add ovly_soft_icache. | |
862 | (spu_elf_build_stubs): Delete. | |
863 | ||
80c29487 JK |
864 | 2009-01-11 Jan Kratochvil <[email protected]> |
865 | ||
866 | * elflink.c (_bfd_elf_section_already_linked): Handle g++-3.4 | |
867 | relocations in `.gnu.linkonce.r.*' referencing its `.gnu.linkonce.t.*'. | |
868 | ||
1bc86aea HPN |
869 | 2009-01-07 Hans-Peter Nilsson <[email protected]> |
870 | ||
871 | * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD> | |
872 | <case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in | |
873 | the program, the known offset starts at the negative size of the | |
874 | TLS section. | |
875 | <case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: | |
876 | Similar. | |
877 | ||
3baa454d | 878 | 2009-01-05 Joel Sherrill <[email protected]> |
75606e85 | 879 | |
3baa454d | 880 | * config.bfd: Add lm32-*-rtems*. |
75606e85 | 881 | |
9dbe8890 L |
882 | 2009-01-03 H.J. Lu <[email protected]> |
883 | ||
884 | * coff-ppc.c: Add 2009 to Copyright. | |
885 | * elf32-cris.c: Likewise. | |
886 | * elflink.c: Likewise. | |
887 | ||
0bdf8d40 HPN |
888 | 2009-01-03 Hans-Peter Nilsson <[email protected]> |
889 | ||
890 | * elf32-cris.c (elf_cris_finish_dynamic_symbol): Rename | |
891 | gotplt_index to rela_plt_index. Adjust for R_CRIS_DTPMOD entry. | |
892 | ||
54ac0771 L |
893 | 2009-01-02 H.J. Lu <[email protected]> |
894 | ||
895 | PR ld/9679 | |
896 | * elflink.c (elf_merge_st_other): New. | |
897 | (_bfd_elf_merge_symbol): Use it on skipped weak definitions and | |
898 | hide them if needed. | |
899 | (elf_link_add_object_symbols): Updated. | |
900 | ||
d8880531 L |
901 | 2009-01-02 H.J. Lu <[email protected]> |
902 | ||
903 | PR ld/9676 | |
904 | * elflink.c (elf_link_add_object_symbols): Update def_dynamic, | |
905 | ref_dynamic and dynamic_def fields when setting def_regular | |
906 | to 1. | |
907 | ||
b70b5c14 NC |
908 | 2009-01-02 Curtis Mackie <[email protected]> |
909 | ||
910 | PR 9682 | |
911 | * coff-ppc.c (dump_toc): Fix up calls to fprintf without a string | |
912 | literal. | |
913 | ||
d8880531 | 914 | For older changes see ChangeLog-2008 |
56882138 AM |
915 | \f |
916 | Local Variables: | |
917 | mode: change-log | |
918 | left-margin: 8 | |
919 | fill-column: 74 | |
920 | version-control: never | |
921 | End: |