]> Git Repo - binutils.git/blame - ld/ChangeLog
Updated Ukranian translations.
[binutils.git] / ld / ChangeLog
CommitLineData
63a79b61
NC
12012-08-14 Nick Clifton <[email protected]>
2
3 * configure.in (ALL_LINGUGAS): Add uk.
4 * configure: Regenerate.
5 * po/uk.po: New Ukranian translation.
6
a06ea964
NC
72012-08-13 Ian Bolton <[email protected]>
8 Laurent Desnogues <[email protected]>
9 Jim MacArthur <[email protected]>
10 Marcus Shawcroft <[email protected]>
11 Nigel Stephens <[email protected]>
12 Ramana Radhakrishnan <[email protected]>
13 Richard Earnshaw <[email protected]>
14 Sofiane Naci <[email protected]>
15 Tejas Belagod <[email protected]>
16 Yufeng Zhang <[email protected]>
17
18 * Makefile.am: Add AArch64.
19 * Makefile.in: Regenerate.
20 * configure.tgt: Add AArch64.
21 * emulparams/aarch64elf.sh: New file.
22 * emulparams/aarch64elfb.sh: New file.
23 * emulparams/aarch64linux.sh: New file.
24 * emulparams/aarch64linuxb.sh: New file.
25 * emultempl/aarch64elf.em: New file.
26 * NEWS: Mention the new feature.
27
3c892704
NC
282012-08-09 Nick Clifton <[email protected]>
29
30 * po/vi.po: Updated Vietnamese translation.
31
a988325c
NC
322012-08-07 Daniel Green <[email protected]>
33
34 * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
35 * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
36
5125d2b0
NC
372012-08-07 Nick Clifton <[email protected]>
38
39 * po/ja.po: Updated Japanese translation.
40
9e808284
MR
412012-08-06 Maciej W. Rozycki <[email protected]>
42
43 * emulparams/elf32bmip.sh: Make _gp hidden.
44 * emulparams/elf32bmipn32-defs.sh: Likewise.
45 * emulparams/elf32mipswindiss.sh: Likewise.
46 * scripttempl/mips.sc: Likewise.
47
eb8476a6
MR
482012-08-06 Maciej W. Rozycki <[email protected]>
49
50 * ldexp.h (etree_union): Add defsym member to the assign member
51 structure.
52 (exp_assign): Add hidden argument to prototype.
53 * ldexp.c (exp_fold_tree_1): Use the defsym member to handle
54 --defsym symbols.
55 (exp_assop): Add defsym argument, initialize the defsym member
56 of the assign structure.
57 (exp_assign): Handle hidden symbols.
58 (exp_defsym): Update to use the defsym argument to exp_assop.
59 (exp_provide): Update to handle the defsym argument to exp_assop.
60 * ldlex.l (HIDDEN): New token.
61 * ldgram.y (HIDDEN): Likewise.
62 (assignment, section): Update calls to exp_assign.
63 * ldctor.c (ldctor_build_sets): Likewise.
64 * mri.c (mri_format): Likewise.
65 * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise.
66 (open_input_bfds): Remove --defsym symbols special case.
67 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update
68 call to exp_assign.
69 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
70 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
71 * emultempl/spuelf.em (spu_place_special_section): Likewise.
72 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets):
73 Likewise.
74 * ld.texinfo (Assigning Values to Symbols): Add HIDDEN.
75 (HIDDEN): New subsection.
76
b2e4da5a
L
772012-07-31 H.J. Lu <[email protected]>
78
79 PR ld/14156
c2821c3e 80 * ldlang.c (wild_sort): Properly handle by_none.
b2e4da5a
L
81
82 * scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
83 * scripttempl/elf32msp430.sc: Likewise.
5125d2b0 84 * scripttempl/elf32msp430_3.sc: Likewise.
b2e4da5a
L
85 * scripttempl/elfd10v.sc: Likewise.
86 * scripttempl/elfd30v.sc: Likewise.
87 * scripttempl/elfxtensa.sc: Likewise.
88
a6dc81d2
NC
892012-07-30 Nick Clifton <[email protected]>
90
91 * po/ld.pot: Updated template.
92 * po/bg.po: Updated Bulgarian translation.
93 * po/es.po: Updated Spanish translation.
94 * po/fi.po: Updated Finnish translation.
95
c4dd807e
MF
962012-07-27 Mike Frysinger <[email protected]>
97
98 * configure.in (BFD_VERSION): Run bfd/configure --version and
99 parse the output of that.
100 * configure: Regenerate.
101
af18cb59
TG
1022012-07-27 Tristan Gingold <[email protected]>
103
104 * NEWS: Add marker for 2.23.
105
43315eb7
EW
1062012-07-24 Jan Waclawek <[email protected]>
107
108 PR ld/14058
109 * emultempl/avrelf.em (avr_elf_after_allocation): Call
110 elf32_avr_size_stubs with is_prealloc_run as TRUE.
111
470b557a
AK
1122012-07-13 Andreas Krebbel <[email protected]>
113
114 * emulparams/elf_s390.sh (IREL_IN_PLT): Define.
115 * emulparams/elf64_s390.sh (IREL_IN_PLT): Define.
116
cd6f1cf3
NC
1172012-07-13 Nick Clifton <[email protected]>
118
119 PR ld/14357
120 * ldmain.c (trace_file_tries): Rename to 'verbose'.
121 * ldfile.c: Likewise.
122 * ldlang.c: Likewise.
123 * ldmain.h: Likewise.
124 * lexsup.c: Likewise.
125 * emultempl/elf32.em: Likewise.
126 * emultemp/spuelf.em: Likewise.
127 * pe-dll.c (pe_dll_generate_implib): Only print creation message
128 in verbose mode.
129
eda680f8
L
1302012-07-10 H.J. Lu <[email protected]>
131
132 PR ld/14156
133 * NEWS: Mention SORT_NONE.
134
135 * ld.h (sort_type): Add by_none.
136
137 * ld.texinfo: Document SORT_NONE.
138
139 * ldgram.y: Handle SORT_NONE.
140
141 * ldlang.c (update_wild_statements): Handle by_none. Don't
142 sort .init/.fini sections.
143
144 * ldlex.l: Add SORT_NONE.
145
9aec8434
L
1462012-07-02 H.J. Lu <[email protected]>
147
148 * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME.
149
2a995fc1
NC
1502012-06-29 Nick Clifton <[email protected]>
151
152 * scripttempl/alphavms.sc: Add .debug_macro section.
153 * scripttempl/elf.sc: Likewise.
154 * scripttempl/elf64hppa.sc: Likewise.
155 * scripttempl/elf_chaos.sc: Likewise.
156 * scripttempl/elfxtensa.sc: Likewise.
157 * scripttempl/ia64vms.sc: Likewise.
158
159 * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and
160 .debug_macro sections.
161 * scripttempl/avr.sc: Likewise.
162 * scripttempl/elf32cr16.sc: Likewise.
163 * scripttempl/elf32crx.sc: Likewise.
164 * scripttempl/elf32msp430.sc: Likewise.
165 * scripttempl/elf32msp430_3.sc: Likewise.
166 * scripttempl/elf32sh-symbian.sc: Likewise.
167 * scripttempl/elfd30v.sc: Likewise.
168 * scripttempl/elfi370.sc: Likewise.
169 * scripttempl/elfm68hc11.sc: Likewise.
170 * scripttempl/elfm68hc12.sc: Likewise.
171 * scripttempl/elfxgate.sc: Likewise.
172 * scripttempl/i386beos.sc: Likewise.
173 * scripttempl/i386go32.sc: Likewise.
174 * scripttempl/ip2k.sc: Likewise.
175 * scripttempl/iq2000.sc: Likewise.
176 * scripttempl/mep.sc: Likewise.
177 * scripttempl/mmo.sc: Likewise.
178 * scripttempl/v850.sc: Likewise.
179 * scripttempl/xstormy16.sc: Likewise.
180
a61fdf08
L
1812012-06-28 H.J. Lu <[email protected]>
182
183 * ldlang.c (update_wild_statements): Remove redundant statement.
184
47e2e729
AM
1852012-06-25 Alan Modra <[email protected]>
186
187 * ldlang.c (load_symbols): Close file and set flags.loaded
188 after parsing script file.
189 (open_input_bfds): Don't segv on closed script.
190
0c77920e
L
1912012-06-24 H.J. Lu <[email protected]>
192
193 * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
194 Remove x32 in tdir_i386linux and tdir_elf_i386.
195
62655c7b
RM
1962012-06-22 Roland McGrath <[email protected]>
197
198 * NEWS: Mention __ehdr_start.
199
d9476c5a
AM
2002012-06-21 Alan Modra <[email protected]>
201
202 * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol
203 absolute, and remove unnecessary alignment.
204
d2667025
AM
2052012-06-16 Alan Modra <[email protected]>
206
207 * ldlang.h (lang_output_section_statement_type): Add after_end field.
208 (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
209 (section_for_dot): Declare.
210 * ldlang.c (lang_size_sections_1): Correct comment.
211 (current_section): Move earlier.
212 (current_assign, prefer_next_section): New static vars.
213 (lang_do_assignments_1): Add found_end param. Detect _end
214 assignment to set found_end. Set os->after_end. Set above statics.
215 (lang_do_assignments): Adjust lang_do_assignments_1 call. Init
216 vars.
217 (section_for_dot): New function.
218 (lang_set_startof): Don't make an absolute symbol.
219 (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
220 * ldexp.c (new_rel_from_abs): Use section_for_dot.
221 * emultempl/lnk960.em (symbol_at_beginning_of): New function.
222 (symbol_at_end_of): Likewise.
223 (lnk960_after_allocation): Use them.
224 * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
225 likewise before __bss_start.
226
6611f2e1
L
2272012-06-14 H.J. Lu <[email protected]>
228
229 * plugin.c (set_tv_header): Handle link_info.pie.
230
17d6eea5
L
2312012-06-11 Alan Modra <[email protected]>
232
233 PR ld/14215
234 * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section
235 references.
236 * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of
237 .got.plt.
238 * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise.
239 * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise.
240 * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise.
241 * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise.
242 * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise.
243 * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise.
244 * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise.
245 * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise.
246
fef632e1
NC
2472012-06-07 Georg-Johann Lay <[email protected]>
248
249 PR 13697
250 * scripttempl/avr.sc (.data): Keep it.
251
959a202e
AS
2522012-06-02 Andreas Schwab <[email protected]>
253
254 * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix.
255 * Makefile.in: Regenerate.
256
6d8bf25d
AM
2572012-05-30 Alan Modra <[email protected]>
258
259 * ldlang.h (lang_output_section_statement_type): Rename
260 "section_relative_symbol" field to "update_dot".
261 * ldlang.c: Update all uses.
262 (strip_excluded_output_sections): Don't test update_dot_tree here..
263 (lang_leave_overlay): ..set update_dot here.
264
f05eb3b7
AM
2652012-05-26 Alan Modra <[email protected]>
266
145fa769
L
267 * ldlex.h (enum option_values): Move from..
268 * lexsup.c: ..here.
f05eb3b7
AM
269 * emultempl/ppc32elf.em: Include ldlex.h.
270 (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when
271 --traditional-format.
272 * emultempl/ppc64elf.em: Likewise.
273
9cf8b46e
AM
2742012-05-25 Alan Modra <[email protected]>
275
276 PR ld/13909
277 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle
278 multiple .eh_frame sections attached to bfd.
279
18bbc1c5
CC
2802012-05-23 Cary Coutant <[email protected]>
281
282 * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more
283 carefully. Fix typo where .rela.data.rel.ro matches
284 .rel.data.rel.ro.
285 * scripttempl/mep.sc: Likewise.
286 * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully.
287 * scripttempl/elf64hppa.sc: Likewise.
288 * scripttempl/elfxtensa.sc: Likewise.
289
df7b86aa
NC
2902012-05-17 Daniel Richard G. <[email protected]>
291 Nick Clifton <[email protected]>
292
293 PR 14072
294 * configure.in: Add check that sysdep.h has been included before
295 any system header files.
296 * configure: Regenerate.
297 * config.in: Regenerate.
298 * sysdep.h: Generate an error if included before config.h.
299
a0f49396
NC
3002012-05-16 Sergio Durigan Junior <[email protected]>
301
302 * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd'
303 as the first argument for `bfd_get_section_name'.
304
a5244b7e
NC
3052012-05-16 Samuel Thibault <[email protected]>
306
307 PR ld/14069
308 * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
309 support.
310
6927f982
NC
3112012-05-15 James Murray <[email protected]>
312
313 * NEWS: Mention the support for S12X processors.
314
b9c361e0
JL
3152012-05-14 James Lemke <[email protected]>
316
317 * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list.
318 Pass it to callback.
319 (walk_wild_section_general): Pass section_flag_list to callback.
320 (lang_add_section): Add sflag_list parm.
321 Move out logic to keep / omit a section & call bfd_lookup_section_flags.
322 (output_section_callback_fast): Add sflag_list parm.
323 Add new parm to lang_add_section calls.
324 (output_section_callback): Likewise.
325 (check_section_callback): Add sflag_list parm.
326 (lang_place_orphans): Add new parm to lang_add_section calls.
327 (gc_section_callback): Add sflag_list parm.
328 (find_relro_section_callback): Likewise.
329 * ldlang.h (callback_t): Add flag_info parm.
330 (lang_add_section): Add sflag_list parm.
331 * emultempl/armelf.em (elf32_arm_add_stub_section):
332 Add lang_add_section parm.
333 * emultempl/beos.em (gld*_place_orphan): Likewise.
334 * emultempl/elf32.em (gld*_place_orphan): Likewise.
335 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
336 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
337 * emultempl/mipself.em (mips_add_stub_section): Likewise.
338 * emultempl/mmo.em (mmo_place_orphan): Likewise.
339 * emultempl/pe.em (gld_*_place_orphan): Likewise.
340 * emultempl/pep.em (gld_*_place_orphan): Likewise.
341 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
342 * emultempl/spuelf.em (spu_place_special_section): Likewise.
343 * emultempl/vms.em (vms_place_orphan): Likewise.
344
3452012-05-14 Catherine Moore <[email protected]>
346
347 * NEWS: Mention PowerPC VLE port.
348
208a4923
NC
3492012-05-11 Daniel Richard G. <[email protected]>
350
351 PR binutils/14028
352 * configure.in: Invoke ACX_HEADER_STRING.
353 * configure: Regenerate.
354 * config.in: Regenerate.
355 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
356 string.h and strings.h.
357
e5b62927
AM
3582012-05-08 Alan Modra <[email protected]>
359
360 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
361 LC and LANG environment vars.
362 * Makefile.in: Regenerate.
363
d66ac08f
TG
3642012-05-07 Tristan Gingold <[email protected]>
365
366 * pe-dll.c (udef_table): Make it static.
367
45dfa85a
AM
3682012-05-05 Alan Modra <[email protected]>
369
370 * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr.
371 (generate_reloc): Use bfd_abs_section_ptr.
372
3c995545
L
3732012-05-04 H.J. Lu <[email protected]>
374
375 * configure.tgt: Support x86_64-*-linux-gnux32.
376
f6c1a2d5
NC
3772012-05-03 Sean Keys <[email protected]>
378
379 * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE
380 and XGATE (elf).
381 * Makefile.in: Rebuild.
382 * configure.tgt: Recognize XGATE.
383 * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12.
384 * emulparams/xgateelf: New emulation, mostly cloned from m68hc12.
385 * NEWS: Mention new support.
386
3b66a141
HPN
3872012-04-26 Hans-Peter Nilsson <[email protected]>
388
389 Make bfd asserts cause linker errors.
390 * ldmain.c (default_bfd_assert_handler): New variable.
391 (ld_bfd_assert_handler): New function.
392 (main): Call bfd_set_assert_handler.
393
dbaa2011
AM
3942012-04-24 Alan Modra <[email protected]>
395
3daa201b 396 * ldlang.c (size_input_section): Use sec_info_type rather than
dbaa2011 397 usrdata->flags.just_syms.
3daa201b
AM
398 * ldwrite.c (build_link_order): Likewise.
399 * emultempl/hppaelf.em (build_section_lists): Likewise.
400 * emultempl/ppc64elf.em (build_toc_list): Likewise.
401 * emultempl/armelf.em (build_section_lists): Likewise.
dbaa2011 402 (after_allocation): Update for renamed sec_info_type value.
3daa201b 403 * emultempl/tic6xdsbt.em: Likewise.
dbaa2011 404
b38cadfb
NC
4052012-04-12 Roland McGrath <[email protected]>
406
407 * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them.
408 * emulparams/armelf_nacl.sh: New file.
409 * emulparams/armelfb_nacl.sh: New file.
410 * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c
411 and earmelfb_nacl.c here.
412 (earmelf_nacl.c, earmelfb_nacl.c): New targets.
413 * Makefile.in: Regenerated.
414
202e2356
NC
4152012-04-11 Tristan Gingold <[email protected]>
416
417 * scripttempl/ia64vms.sc: New file.
418 * emultempl/vms.em (_before_parse): Support for ia64.
419 (elf64-ia64-vms): New fragment for ia64.
420 * emulparams/elf64_ia64_vms.sh: New file.
421 * configure.tgt (ia64-*-*vms*): Add.
422 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
423 (eelf64_ia64_vms.c): New rule.
424 * Makefile.in: Regenerate.
425
58797674
RM
4262012-04-06 Roland McGrath <[email protected]>
427
428 * configure.in (AC_CHECK_HEADERS): Add locale.h.
429 * config.in: Regenerate.
430 * configure: Regenerate.
431
44350750
NC
4322012-04-05 Nick Clifton <[email protected]>
433
434 * configure.in (AC_CHECK_FUNCS): Add setlocale.
435 (AM_LC_MESSAGES): Add.
436 * aclocal.m4: Regenerate.
437 * config.in: Regenerate.
438 * configure: Regenerate.
439
5a68afcf
RM
4402012-04-03 Roland McGrath <[email protected]>
441
442 * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them.
443 * emulparams/elf_nacl.sh: New file.
444 * emulparams/elf_i386_nacl.sh: New file.
445 * emulparams/elf32_x86_64_nacl.sh: New file.
446 * emulparams/elf_x86_64_nacl.sh: New file.
447 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here.
448 (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and
449 eelf_x86_64_nacl.c here.
450 (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c):
451 New targets.
452 * Makefile.in: Regenerated.
453
454 * scripttempl/elf.sc: Handle SEPARATE_CODE cases.
455
23916fff
MF
4562012-04-02 Mike Frysinger <[email protected]>
457
458 * ldmisc.c (vfinfo): Assign new local str to fmt. Delete
459 putc call. If str and fmt are different, call fwrite on
460 the difference.
461
26a3ed35
NC
4622012-03-30 Nick Clifton <[email protected]>
463
464 * po/vi.po: Updated Vietnamese translation.
465
bf9ef603
RM
4662012-03-27 Roland McGrath <[email protected]>
467
468 * configure.in: Set want64 on a 64-bit host regardless of
469 --enable-targets=all.
470 * configure: Regenerated.
471
1d6d1a2c
TG
4722012-03-26 Tristan Gingold <[email protected]>
473
474 * lexsup.c (parse_args): Add a missing '\n'.
475
b514e6a5
AM
4762012-03-25 Alan Modra <[email protected]>
477
478 * ldemul.c (before_allocation_default): Revert last change.
3daa201b 479 * ldlang.c (lang_add_section): Likewise.
b514e6a5
AM
480 (strip_excluded_output_sections): Don't strip output sections with
481 user input sections when emitrelocations, unless all are SEC_EXCLUDE.
482
f24fcb9d
AM
4832012-03-23 Alan Modra <[email protected]>
484
485 * ldemul.c (before_allocation_default): When emitrelocations,
486 don't strip sections..
487 * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
488
aeb1f0e8
KT
4892012-03-14 Kai Tietz <[email protected]>
490 Pascal Obry <[email protected]>
491
492 * pe-dll.c (found_sym): New static variable.
493 (undef_count): Likewise.
494 (key_value): New structure.
495 (undef_sort_cmp): Compare routine for qsort/bsearch.
496 (pe_find_cdecl_alias_match): Add new argument.
497 (pe_undef_alias_cdecl_match): Removed.
498 (pe_undef_count): New helper routine.
499 (pe_create_undef_table): Likewise.
500 (pe_process_import_defs): Use pe_create_undef_table and
501 new pe_undef_alias_cdecl_match function.
502
ec8460b5
AM
5032012-03-14 Alan Modra <[email protected]>
504
505 PR ld/13839
506 * ldexp.c (fold_name): Ignore undefined symbols when assigning to
507 dot in mark phase.
508 (exp_fold_tree_1): Evaluate assignment to dot expressions even when
509 discarding result, for side effects. Fix typo in error message.
510
67baf8c4
TG
5112012-03-08 Tristan Gingold <[email protected]>
512
513 * ldexp.c (exp_print_tree): Special case for SEGMENT_START.
514 (exp_print_token): Constify.
515
f4a23d42
AM
5162012-03-08 Alan Modra <[email protected]>
517
518 PR ld/10340
519 * ldfile.c (is_sysrooted_pathname): Remove notsame param.
520 (ldfile_add_library_path): Don't set sysrooted flag.
521 (ldfile_open_file_search): Likewise, and don't copy them.
522 (try_open): Delete exten and code handling such. Add sysrooted
523 param and return whether path is in sysroot.
524 (ldfile_find_command_file): Delete extend param. Add sysrooted
525 param. Rename local var. Update try_open calls.
526 (ldfile_open_command_file_1): Pass sysrooted to lex_push_file.
527 * ldfile.h (search_dirs_type): Remove sysrooted field.
528 * ldlang.c (new_afile): Always set sysrooted from input_flags.
529 (load_symbols): Don't set input_flags.sysrooted.
530 * ldlang.h (struct lang_input_statement_flags): Revise sysrooted
531 comment.
532 * ldlex.h (lex_push_file): Update prototype.
533 * ldlex.l (sysrooted_stack): New array.
534 (EOF): Pop input_flags.sysrooted.
535 (lex_push_file): Add sysrooted param. Save and set
536 input_flags.sysrooted.
537
66be1055
AM
5382012-03-06 Alan Modra <[email protected]>
539
540 * ldlang.h (struct lang_input_statement_flags): New, extract from..
541 (lang_input_statement_type): ..here. New field "flags".
542 (input_flags): Declare.
543 (missing_file): Delete.
544 * ldmain.h (whole_archive): Delete.
545 (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
546 * ld.h (ld_config_type <dynamic_link>): Delete.
547 * ldmain.c (whole_archive): Delete.
548 (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
549 * ldlang.c (missing_file, ldlang_sysrooted_script): Delete.
550 (input_flags): New variable. Replace all uses of config.dynamic_link,
551 missing_file, ldlang_sysrooted_script, whole_archive,
552 add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields
553 from here.
554 * ldfile.c: Likewise.
555 * ldgram.y: Likewise.
556 * ldmain.c: Likewise.
557 * ldwrite.c: Likewise.
558 * lexsup.c: Likewise.
559 * plugin.c: Likewise.
560 * emultempl/aix.em: Likewise.
561 * emultempl/armelf.em: Likewise.
562 * emultempl/elf32.em: Likewise.
563 * emultempl/hppaelf.em: Likewise.
564 * emultempl/linux.em: Likewise.
565 * emultempl/pe.em: Likewise.
566 * emultempl/pep.em: Likewise.
567 * emultempl/ppc64elf.em: Likewise.
568 * emultempl/scoreelf.em: Likewise.
569 * emultempl/spuelf.em: Likewise.
570 * emultempl/sunos.em: Likewise.
571 * emultempl/vms.em: Likewise.
572 * ldlang.c (new_afile): Use memset to init zero fields.
573 (load_symbols): Simplify save and restore of flags around command
574 file processing.
575 * ldfile.c (is_sysrooted_pathname): Tidy.
576
cae4ddc6
HPN
5772012-03-05 Hans-Peter Nilsson <[email protected]>
578
579 * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)
580 (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by
581 replacing trailing "-*" with "*".
582
fb6cedde
WL
5832012-02-25 Walter Lee <[email protected]>
584
585 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
586 (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
587 (eelf32tilegx_be.c): Add rule to build this file.
588 (eelf64tilegx_be.c): Ditto.
589 * Makefile.in: Regenerate.
590 * configure.tgt (tilegx-*-*): Support big endian.
591 (tilegxbe-*-*): New.
592 * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
593 (BIG_OUTPUT_FORMAT): Define.
594 (LITTLE_OUTPUT_FORMAT): Define.
595 * emulparams/elf32tilegx_be.sh: New.
596 * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
597 (BIG_OUTPUT_FORMAT): Define.
598 (LITTLE_OUTPUT_FORMAT): Define.
599 * emulparams/elf64tilegx_be.sh: New.
600
5b3d386e
KT
6012012-02-24 Kai Tietz <[email protected]>
602
603 PR binutils/13710
604 * deffilep.y (keyword_as_name): Disable LIBRARY
605 keyword.
606
2aa9aad9
NC
6072012-02-22 Alan Modra <[email protected]>
608
609 PR ld/13683
610 * ldlang.c (lang_process): Rerun lang_do_assignments before
611 starting garbage collection.
612 * ldexp.c (fold_name): Generate a reloc for defined symbols
613 found without an associated output section during the mark phase.
289b70fe
NC
614 (exp_fold_tree_1): Continue processing an expression, even if we
615 are unable to fold it, if we are in the first two evaluation
616 phases.
2aa9aad9
NC
617 * ldexp.h (enum lang_phase_type): Add descriptions of the phases.
618
6e230cc2
KT
6192012-02-19 Kai Tietz <[email protected]>
620
621 * deffilep.y (cmp_import_elem): Sort first by module name.
622 * pe-dll.c (process_def_file_and_drectve): Free strings
623 from removed export-element.
624 (add_bfd_to_link): Optimize loop on import-elements and lower
625 allocated memory.
626 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
627 argument.
628
39085894
HPN
6292012-02-18 Hans-Peter Nilsson <[email protected]>
630
631 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
632 temporary variable node used for NULL argument.
633
dab69f68
AM
6342012-02-18 Alan Modra <[email protected]>
635
636 PR ld/13343
637 * ld.h (parsing_defsym): Delete.
638 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
639 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
640 exp_get_abs_int): Add tree arg for %S in error messages. Don't
641 fudge lineno.
642 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
643 type.filename from sub-tree.
644 (exp_trinop): Likewise, and use "cond" rather than "lhs".
645 * ldexp.h (node_type): Add filename field to struct.
646 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
647 * ldfile.h (ldfile_input_filename): Delete.
648 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
649 %S in error messages.
650 * ldemul.c (syslib_default, hll_default): Likewise.
651 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
652 lang_get_regions, lang_new_phdr): Likewise.
653 (lang_size_sections_1): Pass addr_tree for %S.
654 * ldlex.h (lex_redirect): Update prototype.
655 (ldlex_filename): Declare.
656 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
657 (lex_redirect): Add fake_filename and count params. Push
658 fake_filename to file_name_stack and init lineno from count.
659 (ldlex_filename): New function.
660 (lex_warn_invalid): Use above.
661 * ldmain.c (main): Update lex_redirect call.
662 * ldmisc.c (vfinfo <%S>): Take file name and line number from
663 etree_type arg, or use current if arg is NULL.
664 * lexsup.c (parsing_defsym): Delete.
665 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
666
d0ac6938
KT
6672012-02-13 Kai Tietz <[email protected]>
668
669 * deffilep.y (find_export_in_list): Set is_indent for
670 first or last element, if identical.
671 (find_import_in_list): Likewise.
672
aa83d1ec
KT
6732012-02-11 Kai Tietz <[email protected]>
674
675 * deffilep.y (%union): New type id_const.
676 (opt_name2): New rule.
677 (keyword_as_name): New rule.
678 (dot_name): Replaced by opt_name2 rule.
679 (opt_name): Adjust rule.
680 (opt_equal_name): Likewise.
681
98872a7c
NC
6822012-02-11 Pascal Obry <[email protected]>
683
684 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
685 table.
686 (process_def_file_and_drectve): Maintain sorting of exports table
687 after stripping leading @ signs.
688
09f6ed34
AM
6892012-02-09 Alan Modra <[email protected]>
690
691 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
692
b7761f11
L
6932012-01-31 H.J. Lu <[email protected]>
694
695 PR ld/13616
696 * emulparams/elf32_x86_64.sh: Remove NOP.
697 * emulparams/elf_i386.sh: Likewise.
698 * emulparams/elf_i386_be.sh: Likewise.
699 * emulparams/elf_i386_ldso.sh: Likewise.
700 * emulparams/elf_i386_vxworks.sh: Likewise.
701 * emulparams/elf_k1om.sh: Likewise.
702 * emulparams/elf_l1om.sh: Likewise.
703 * emulparams/elf_x86_64.sh: Likewise.
704
705 * ldlang.c (zero_fill): Initialized to 0.
706
707 * ldwrite.c (build_link_order): Set data size to linker odrder
708 size when they are the same.
709
710 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
711
576477a6
AM
7122012-01-17 Alan Modra <[email protected]>
713
714 * ldver.c (ldversion): Update copyright message year.
715
cdaa438c
AM
7162012-01-15 Alan Modra <[email protected]>
717
718 PR ld/12758
719 * ldlang.c (lang_process): Don't reopen all files, just those
720 newly added by plugin.
721
794e51c0
AM
7222012-01-11 Alan Modra <[email protected]>
723
724 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
725 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
726 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
727 --{no-,}plt-align.
728 (plt_thread_safe, plt_stub_align): New vars.
729 (gld${EMULATION_NAME}_after_allocation): Pass them to
730 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
731 * ld.texinfo: Document new command line options, and an old
732 undocumented option.
733
52546677
RM
7342012-01-09 Roland McGrath <[email protected]>
735
736 * configure.in: Use AM_ZLIB.
737 * configure: Regenerated.
c0a512e2 738
23e1d329 739For older changes see ChangeLog-2011
252b5132
RH
740\f
741Local Variables:
742mode: change-log
743left-margin: 8
744fill-column: 74
745version-control: never
746End:
This page took 1.239856 seconds and 4 git commands to generate.