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