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