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