Commit | Line | Data |
---|---|---|
f204ddb8 JR |
1 | 2012-11-30 Joern Rennecke <joern.rennecke@embecosm.com> |
2 | ||
3 | * scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add. | |
4 | * emultempl/epiphanyelf_4x4.em: Likewise. | |
5 | * configure.tgt: Add elf32epiphany_4x4 support. | |
6 | * Makefile.am: Likewise. | |
7 | * Makefile.in: Regenerate. | |
8 | ||
e63962bc MR |
9 | 2012-11-29 Maciej W. Rozycki <macro@codesourcery.com> |
10 | ||
11 | * Makefile.in: Regenerate. | |
12 | ||
11e7fd74 NC |
13 | 2012-11-27 Nick Clifton <nickc@redhat.com> |
14 | ||
15 | PR ld/14776 | |
16 | * ld.texinfo: Fix spelling mistakes. | |
17 | ||
e2caaa1f RM |
18 | 2012-11-26 Roland McGrath <mcgrathr@google.com> |
19 | ||
20 | * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): | |
21 | Copy last elf32.em here too. | |
22 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
23 | * emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
24 | * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise. | |
25 | ||
4724d37e RM |
26 | 2012-11-21 Roland McGrath <mcgrathr@google.com> |
27 | ||
28 | * ld.h (ld_config_type): New flag member separate_code. | |
29 | * emultempl/elf32.em | |
30 | (gld${EMULATION_NAME}_before_parse): Set it based on $SEPARATE_CODE. | |
31 | * ldlang.c (ldlang_override_segment_assignment): If it's set, then | |
32 | always return TRUE when SEC_CODE differs between the sections. | |
33 | ||
b039ef04 L |
34 | 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> |
35 | ||
36 | * ld.texinfo: Document "-z global". | |
37 | ||
38 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support | |
39 | "-z global". | |
40 | (gld${EMULATION_NAME}_list_options): Likewise. | |
41 | ||
507dcd87 MK |
42 | 2012-11-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
43 | ||
3d316356 | 44 | Port lib32 arrangement from Debian. |
507dcd87 MK |
45 | * emulparams/elf_i386.sh: Include lib32 directories in library search |
46 | path. | |
47 | ||
24a09713 SB |
48 | 2012-11-15 Simon Baldwin <simonb@google.com> |
49 | ||
50 | * ldmain.c (main): Add start_sbrk set to sbrk(0) on entry. | |
51 | On exit, compute data size as the delta between current | |
52 | sbrk(0) and start_sbrk. | |
53 | ||
708e2187 NC |
54 | 2012-11-09 Nick Clifton <nickc@redhat.com> |
55 | ||
56 | * emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to | |
57 | true. | |
58 | (PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings. | |
59 | (PARSE_AND_LIST_ARG_CASES): Add support for | |
60 | --flag-mismatch-warnings. | |
61 | ||
de863c74 NC |
62 | * Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c. |
63 | * Makefile.in: Regenerate. | |
64 | * configure.tgt (v850*-*-*): Make v850_rh850 the default | |
65 | emulation. Add vanilla v850 as an extra emulation. | |
66 | * emulparams/v850_rh850.sh: New file. | |
67 | * scripttempl/v850_rh850.sc: New file. | |
68 | ||
f23200ad ME |
69 | 2012-11-09 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
70 | ||
71 | * Makefile.am: Add eelf32microblazeel.c and eelf32mbel_linux.c. | |
72 | * Makefile.in: Regenerated. | |
73 | * configure.tgt: Add microblazeel and set endian per target. | |
74 | * emulparams/elf32mb_linux.sh: Add OUTPUT_FORMAT. | |
75 | * emulparams/elf32microblaze.sh: Likewise. | |
76 | * emulparams/elf32mbel_linux.sh: New file. | |
77 | * emulparams/elf32microblazeel.sh: Likewise. | |
78 | ||
5bb3703f L |
79 | 2012-11-09 H.J. Lu <hongjiu.lu@intel.com> |
80 | ||
81 | * testplug.c (record_add_file): Remove trailing redundant `;'. | |
82 | ||
d17dce55 AM |
83 | 2012-11-05 Alan Modra <amodra@gmail.com> |
84 | ||
85 | * configure.in: Apply 2012-09-10 change to config.in here. | |
86 | ||
07e15f87 NS |
87 | 2012-11-01 Nathan Sidwell <nathan@codesourcery.com> |
88 | ||
89 | * emultempl/elf32.em: Print stacksize help. | |
90 | ||
aa4c3319 AM |
91 | 2012-11-01 Alan Modra <amodra@gmail.com> |
92 | ||
93 | * ldlang.c (insert_pad): Correct output section size calculation. | |
94 | (lang_size_sections_1): Likewise for lang_data_statement and | |
95 | lang_reloc_statement. | |
96 | ||
ce23608f AM |
97 | 2012-10-29 Alan Modra <amodra@gmail.com> |
98 | ||
99 | * configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o | |
100 | and pe-dll.o. | |
101 | ||
4f9d22a0 L |
102 | 2012-10-24 H.J. Lu <hongjiu.lu@intel.com> |
103 | ||
104 | * ld.h (command_line): Remove | |
105 | disable_target_specific_optimizations. | |
106 | (RELAXATION_DISABLED_BY_DEFAULT): Removed. | |
107 | (RELAXATION_DISABLED_BY_USER): Likewise. | |
108 | (RELAXATION_ENABLED): Likewise. | |
109 | (DISABLE_RELAXATION): Likewise. | |
110 | (ENABLE_RELAXATION): Likewise. | |
111 | ||
112 | * ldmain.c (main): Updated. | |
113 | ||
114 | * ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro. | |
115 | (RELAXATION_DISABLED_BY_USER): Likewise. | |
116 | (RELAXATION_ENABLED): Likewise. | |
117 | (DISABLE_RELAXATION): Likewise. | |
118 | (ENABLE_RELAXATION): Likewise. | |
119 | ||
04c3a755 NS |
120 | 2012-10-23 Nathan Sidwell <nathan@codesourcery.com> |
121 | ||
122 | * ld.texinfo (stack-size): New option. | |
123 | * emultempl/elf32.em: Add stack-size option. | |
124 | ||
0e86e20e AM |
125 | 2012-10-22 Jan Beich <jbeich@tormail.org> |
126 | Alan Modra <amodra@gmail.com> | |
127 | ||
128 | PR ld/14426 | |
129 | * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. | |
130 | * lexsup.c (parse_args): Likewise. | |
131 | (ld_options): Describe --ignore-unresolved-symbol. | |
132 | * ldmain.h (add_ignoresym): Declare. | |
133 | * ldmain.c (add_ignoresym): New function, extracted from.. | |
134 | (undefined_symbol): ..here. Return if the symbol is in ignore_hash. | |
135 | (constructor_callback): Don't use global link_info here. | |
136 | (reloc_overflow): Likewise. | |
137 | ||
a8f9d13e AM |
138 | 2012-10-22 Alan Modra <amodra@gmail.com> |
139 | ||
140 | * plugin.c (plugin_load_plugins): Warning fix. | |
141 | ||
a29a8af8 KT |
142 | 2012-10-18 Kai Tietz <ktietz@redhat.com> |
143 | ||
144 | PR binutils/14067 | |
145 | * NEWS: Menition new feature. | |
146 | * scripttempl/pep.sc: Add zdebug sections. | |
147 | * scripttempl/pe.sc: L | |
148 | ||
c76b75fd SE |
149 | 2012-09-19 Steve Ellcey <sellcey@mips.com> |
150 | ||
151 | * configure.tgt: Add mips*-mti-elf* target. | |
152 | ||
c05f749e AM |
153 | 2012-09-17 Alan Modra <amodra@gmail.com> |
154 | ||
155 | * ld.texinfo (Expression Section): Correct description of | |
156 | conversions for a binary operation involving an absolute symbol | |
157 | and a number. | |
158 | ||
52204357 DE |
159 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
160 | ||
161 | * configure: Regenerate. | |
162 | ||
e202fa84 AG |
163 | 2012-09-13 Anthony Green <green@moxielogic.com> |
164 | ||
165 | * emulparams/elf32moxie.sh (BIG_OUTPUT_FORMAT, | |
166 | LITTLE_OUTPUT_FORMAT): Define. | |
167 | (OUTPUT_FORMAT): Change to elf32-bigmoxie. | |
168 | (EMBEDDED): Define. | |
169 | ||
7c0e90d2 DD |
170 | 2012-09-12 DJ Delorie <dj@redhat.com> |
171 | ||
172 | * emulparams/elf32rx.sh (OTHER_READONLY_SECTIONS): Add W_* sections. | |
173 | ||
00716ab1 AM |
174 | 2012-09-10 Matthias Klose <doko@ubuntu.com> |
175 | ||
176 | * config.in: Disable sanity check for kfreebsd. | |
177 | ||
6d2920c8 L |
178 | 2012-09-10 H.J. Lu <hongjiu.lu@intel.com> |
179 | ||
180 | * configure: Regenerated. | |
181 | ||
ffda88b4 AM |
182 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
183 | Alan Modra <amodra@gmail.com> | |
184 | ||
185 | * configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath. | |
186 | Correct whitespace. | |
187 | (powerpcle-*-elf, et al): Likewise. Correct targ_extra_emuls. | |
188 | ||
c008817b IS |
189 | 2012-09-10 Iain Sandoe <iain@codesourcery.com> |
190 | ||
191 | * configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls | |
192 | and targ64_extra_libpath. | |
193 | (powerpcle-*-elf, et al): Likewise. | |
194 | ||
a9ae0bda HPN |
195 | 2012-09-09 Hans-Peter Nilsson <hp@bitrange.com> |
196 | ||
197 | * emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach | |
198 | orphan sections to .data and .bss output sections, not just .text. | |
199 | When giving up on finding a suitable output section, attach to any | |
200 | output section other than .MMIX.reg_contents, if it exists. | |
201 | * scripttempl/mmo.sc: Move output debug sections to just before | |
202 | .MMIX.reg_contents. Add .gnu.attributes. Add new . = . NOP | |
203 | assignments and move end-of-section provide-symbols after them | |
204 | to force the end-of-section symbols to the address after orphan | |
205 | placement. Add SORT_NONE to .init and .fini sections. | |
206 | ||
11cba4ac L |
207 | 2012-08-30 H.J. Lu <hongjiu.lu@intel.com> |
208 | ||
209 | PR ld/14525 | |
210 | * scripttempl/elf.sc: Also provide __executable_start for PIE. | |
211 | ||
ee8206a9 KT |
212 | 2012-08-17 Kai Tietz <ktietz@redhat.com> |
213 | ||
214 | PR ld/14326 | |
215 | * scripttempl/pe.sc: Add _etext symbol. | |
216 | ||
63a79b61 NC |
217 | 2012-08-14 Nick Clifton <nickc@redhat.com> |
218 | ||
219 | * configure.in (ALL_LINGUGAS): Add uk. | |
220 | * configure: Regenerate. | |
221 | * po/uk.po: New Ukranian translation. | |
222 | ||
a06ea964 | 223 | 2012-08-13 Ian Bolton <ian.bolton@arm.com> |
11cba4ac L |
224 | Laurent Desnogues <laurent.desnogues@arm.com> |
225 | Jim MacArthur <jim.macarthur@arm.com> | |
226 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
227 | Nigel Stephens <nigel.stephens@arm.com> | |
228 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
229 | Richard Earnshaw <rearnsha@arm.com> | |
230 | Sofiane Naci <sofiane.naci@arm.com> | |
231 | Tejas Belagod <tejas.belagod@arm.com> | |
232 | Yufeng Zhang <yufeng.zhang@arm.com> | |
a06ea964 NC |
233 | |
234 | * Makefile.am: Add AArch64. | |
235 | * Makefile.in: Regenerate. | |
236 | * configure.tgt: Add AArch64. | |
237 | * emulparams/aarch64elf.sh: New file. | |
238 | * emulparams/aarch64elfb.sh: New file. | |
239 | * emulparams/aarch64linux.sh: New file. | |
240 | * emulparams/aarch64linuxb.sh: New file. | |
241 | * emultempl/aarch64elf.em: New file. | |
242 | * NEWS: Mention the new feature. | |
243 | ||
3c892704 NC |
244 | 2012-08-09 Nick Clifton <nickc@redhat.com> |
245 | ||
246 | * po/vi.po: Updated Vietnamese translation. | |
247 | ||
a988325c NC |
248 | 2012-08-07 Daniel Green <venix1@gmail.com> |
249 | ||
250 | * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
251 | * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. | |
252 | ||
5125d2b0 NC |
253 | 2012-08-07 Nick Clifton <nickc@redhat.com> |
254 | ||
255 | * po/ja.po: Updated Japanese translation. | |
256 | ||
9e808284 MR |
257 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
258 | ||
259 | * emulparams/elf32bmip.sh: Make _gp hidden. | |
260 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
261 | * emulparams/elf32mipswindiss.sh: Likewise. | |
262 | * scripttempl/mips.sc: Likewise. | |
263 | ||
eb8476a6 MR |
264 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
265 | ||
266 | * ldexp.h (etree_union): Add defsym member to the assign member | |
267 | structure. | |
268 | (exp_assign): Add hidden argument to prototype. | |
269 | * ldexp.c (exp_fold_tree_1): Use the defsym member to handle | |
270 | --defsym symbols. | |
271 | (exp_assop): Add defsym argument, initialize the defsym member | |
272 | of the assign structure. | |
273 | (exp_assign): Handle hidden symbols. | |
274 | (exp_defsym): Update to use the defsym argument to exp_assop. | |
275 | (exp_provide): Update to handle the defsym argument to exp_assop. | |
276 | * ldlex.l (HIDDEN): New token. | |
277 | * ldgram.y (HIDDEN): Likewise. | |
278 | (assignment, section): Update calls to exp_assign. | |
279 | * ldctor.c (ldctor_build_sets): Likewise. | |
280 | * mri.c (mri_format): Likewise. | |
281 | * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise. | |
282 | (open_input_bfds): Remove --defsym symbols special case. | |
283 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update | |
284 | call to exp_assign. | |
285 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
286 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
287 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
288 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): | |
289 | Likewise. | |
290 | * ld.texinfo (Assigning Values to Symbols): Add HIDDEN. | |
291 | (HIDDEN): New subsection. | |
292 | ||
b2e4da5a L |
293 | 2012-07-31 H.J. Lu <hongjiu.lu@intel.com> |
294 | ||
295 | PR ld/14156 | |
c2821c3e | 296 | * ldlang.c (wild_sort): Properly handle by_none. |
b2e4da5a L |
297 | |
298 | * scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections. | |
299 | * scripttempl/elf32msp430.sc: Likewise. | |
5125d2b0 | 300 | * scripttempl/elf32msp430_3.sc: Likewise. |
b2e4da5a L |
301 | * scripttempl/elfd10v.sc: Likewise. |
302 | * scripttempl/elfd30v.sc: Likewise. | |
303 | * scripttempl/elfxtensa.sc: Likewise. | |
304 | ||
a6dc81d2 NC |
305 | 2012-07-30 Nick Clifton <nickc@redhat.com> |
306 | ||
307 | * po/ld.pot: Updated template. | |
308 | * po/bg.po: Updated Bulgarian translation. | |
309 | * po/es.po: Updated Spanish translation. | |
310 | * po/fi.po: Updated Finnish translation. | |
311 | ||
c4dd807e MF |
312 | 2012-07-27 Mike Frysinger <vapier@gentoo.org> |
313 | ||
314 | * configure.in (BFD_VERSION): Run bfd/configure --version and | |
315 | parse the output of that. | |
316 | * configure: Regenerate. | |
317 | ||
af18cb59 TG |
318 | 2012-07-27 Tristan Gingold <gingold@adacore.com> |
319 | ||
320 | * NEWS: Add marker for 2.23. | |
321 | ||
43315eb7 EW |
322 | 2012-07-24 Jan Waclawek <konfera@efton.sk> |
323 | ||
324 | PR ld/14058 | |
325 | * emultempl/avrelf.em (avr_elf_after_allocation): Call | |
326 | elf32_avr_size_stubs with is_prealloc_run as TRUE. | |
327 | ||
470b557a AK |
328 | 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
329 | ||
330 | * emulparams/elf_s390.sh (IREL_IN_PLT): Define. | |
331 | * emulparams/elf64_s390.sh (IREL_IN_PLT): Define. | |
332 | ||
cd6f1cf3 NC |
333 | 2012-07-13 Nick Clifton <nickc@redhat.com> |
334 | ||
335 | PR ld/14357 | |
336 | * ldmain.c (trace_file_tries): Rename to 'verbose'. | |
337 | * ldfile.c: Likewise. | |
338 | * ldlang.c: Likewise. | |
339 | * ldmain.h: Likewise. | |
340 | * lexsup.c: Likewise. | |
341 | * emultempl/elf32.em: Likewise. | |
342 | * emultemp/spuelf.em: Likewise. | |
343 | * pe-dll.c (pe_dll_generate_implib): Only print creation message | |
344 | in verbose mode. | |
345 | ||
eda680f8 L |
346 | 2012-07-10 H.J. Lu <hongjiu.lu@intel.com> |
347 | ||
348 | PR ld/14156 | |
349 | * NEWS: Mention SORT_NONE. | |
350 | ||
351 | * ld.h (sort_type): Add by_none. | |
352 | ||
353 | * ld.texinfo: Document SORT_NONE. | |
354 | ||
355 | * ldgram.y: Handle SORT_NONE. | |
356 | ||
357 | * ldlang.c (update_wild_statements): Handle by_none. Don't | |
358 | sort .init/.fini sections. | |
359 | ||
360 | * ldlex.l: Add SORT_NONE. | |
361 | ||
9aec8434 L |
362 | 2012-07-02 H.J. Lu <hongjiu.lu@intel.com> |
363 | ||
364 | * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME. | |
365 | ||
2a995fc1 NC |
366 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
367 | ||
368 | * scripttempl/alphavms.sc: Add .debug_macro section. | |
369 | * scripttempl/elf.sc: Likewise. | |
370 | * scripttempl/elf64hppa.sc: Likewise. | |
371 | * scripttempl/elf_chaos.sc: Likewise. | |
372 | * scripttempl/elfxtensa.sc: Likewise. | |
373 | * scripttempl/ia64vms.sc: Likewise. | |
374 | ||
375 | * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and | |
376 | .debug_macro sections. | |
377 | * scripttempl/avr.sc: Likewise. | |
378 | * scripttempl/elf32cr16.sc: Likewise. | |
379 | * scripttempl/elf32crx.sc: Likewise. | |
380 | * scripttempl/elf32msp430.sc: Likewise. | |
381 | * scripttempl/elf32msp430_3.sc: Likewise. | |
382 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
383 | * scripttempl/elfd30v.sc: Likewise. | |
384 | * scripttempl/elfi370.sc: Likewise. | |
385 | * scripttempl/elfm68hc11.sc: Likewise. | |
386 | * scripttempl/elfm68hc12.sc: Likewise. | |
387 | * scripttempl/elfxgate.sc: Likewise. | |
388 | * scripttempl/i386beos.sc: Likewise. | |
389 | * scripttempl/i386go32.sc: Likewise. | |
390 | * scripttempl/ip2k.sc: Likewise. | |
391 | * scripttempl/iq2000.sc: Likewise. | |
392 | * scripttempl/mep.sc: Likewise. | |
393 | * scripttempl/mmo.sc: Likewise. | |
394 | * scripttempl/v850.sc: Likewise. | |
395 | * scripttempl/xstormy16.sc: Likewise. | |
396 | ||
a61fdf08 L |
397 | 2012-06-28 H.J. Lu <hongjiu.lu@intel.com> |
398 | ||
399 | * ldlang.c (update_wild_statements): Remove redundant statement. | |
400 | ||
47e2e729 AM |
401 | 2012-06-25 Alan Modra <amodra@gmail.com> |
402 | ||
403 | * ldlang.c (load_symbols): Close file and set flags.loaded | |
404 | after parsing script file. | |
405 | (open_input_bfds): Don't segv on closed script. | |
406 | ||
0c77920e L |
407 | 2012-06-24 H.J. Lu <hongjiu.lu@intel.com> |
408 | ||
409 | * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. | |
410 | Remove x32 in tdir_i386linux and tdir_elf_i386. | |
411 | ||
62655c7b RM |
412 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
413 | ||
414 | * NEWS: Mention __ehdr_start. | |
415 | ||
d9476c5a AM |
416 | 2012-06-21 Alan Modra <amodra@gmail.com> |
417 | ||
418 | * ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol | |
419 | absolute, and remove unnecessary alignment. | |
420 | ||
d2667025 AM |
421 | 2012-06-16 Alan Modra <amodra@gmail.com> |
422 | ||
423 | * ldlang.h (lang_output_section_statement_type): Add after_end field. | |
424 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
425 | (section_for_dot): Declare. | |
426 | * ldlang.c (lang_size_sections_1): Correct comment. | |
427 | (current_section): Move earlier. | |
428 | (current_assign, prefer_next_section): New static vars. | |
429 | (lang_do_assignments_1): Add found_end param. Detect _end | |
430 | assignment to set found_end. Set os->after_end. Set above statics. | |
431 | (lang_do_assignments): Adjust lang_do_assignments_1 call. Init | |
432 | vars. | |
433 | (section_for_dot): New function. | |
434 | (lang_set_startof): Don't make an absolute symbol. | |
435 | (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. | |
436 | * ldexp.c (new_rel_from_abs): Use section_for_dot. | |
437 | * emultempl/lnk960.em (symbol_at_beginning_of): New function. | |
438 | (symbol_at_end_of): Likewise. | |
439 | (lnk960_after_allocation): Use them. | |
440 | * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and | |
441 | likewise before __bss_start. | |
442 | ||
6611f2e1 L |
443 | 2012-06-14 H.J. Lu <hongjiu.lu@intel.com> |
444 | ||
445 | * plugin.c (set_tv_header): Handle link_info.pie. | |
446 | ||
17d6eea5 L |
447 | 2012-06-11 Alan Modra <amodra@gmail.com> |
448 | ||
449 | PR ld/14215 | |
450 | * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section | |
451 | references. | |
452 | * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of | |
453 | .got.plt. | |
454 | * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. | |
455 | * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
456 | * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. | |
457 | * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. | |
458 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. | |
459 | * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. | |
460 | * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. | |
461 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. | |
462 | ||
fef632e1 NC |
463 | 2012-06-07 Georg-Johann Lay <avr@gjlay.de> |
464 | ||
465 | PR 13697 | |
466 | * scripttempl/avr.sc (.data): Keep it. | |
467 | ||
959a202e AS |
468 | 2012-06-02 Andreas Schwab <schwab@linux-m68k.org> |
469 | ||
470 | * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. | |
471 | * Makefile.in: Regenerate. | |
472 | ||
6d8bf25d AM |
473 | 2012-05-30 Alan Modra <amodra@gmail.com> |
474 | ||
475 | * ldlang.h (lang_output_section_statement_type): Rename | |
476 | "section_relative_symbol" field to "update_dot". | |
477 | * ldlang.c: Update all uses. | |
478 | (strip_excluded_output_sections): Don't test update_dot_tree here.. | |
479 | (lang_leave_overlay): ..set update_dot here. | |
480 | ||
f05eb3b7 AM |
481 | 2012-05-26 Alan Modra <amodra@gmail.com> |
482 | ||
145fa769 L |
483 | * ldlex.h (enum option_values): Move from.. |
484 | * lexsup.c: ..here. | |
f05eb3b7 AM |
485 | * emultempl/ppc32elf.em: Include ldlex.h. |
486 | (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when | |
487 | --traditional-format. | |
488 | * emultempl/ppc64elf.em: Likewise. | |
489 | ||
9cf8b46e AM |
490 | 2012-05-25 Alan Modra <amodra@gmail.com> |
491 | ||
492 | PR ld/13909 | |
493 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle | |
494 | multiple .eh_frame sections attached to bfd. | |
495 | ||
18bbc1c5 CC |
496 | 2012-05-23 Cary Coutant <ccoutant@google.com> |
497 | ||
498 | * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more | |
499 | carefully. Fix typo where .rela.data.rel.ro matches | |
500 | .rel.data.rel.ro. | |
501 | * scripttempl/mep.sc: Likewise. | |
502 | * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. | |
503 | * scripttempl/elf64hppa.sc: Likewise. | |
504 | * scripttempl/elfxtensa.sc: Likewise. | |
505 | ||
df7b86aa NC |
506 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
507 | Nick Clifton <nickc@redhat.com> | |
508 | ||
509 | PR 14072 | |
510 | * configure.in: Add check that sysdep.h has been included before | |
511 | any system header files. | |
512 | * configure: Regenerate. | |
513 | * config.in: Regenerate. | |
514 | * sysdep.h: Generate an error if included before config.h. | |
515 | ||
a0f49396 NC |
516 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
517 | ||
518 | * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' | |
519 | as the first argument for `bfd_get_section_name'. | |
520 | ||
a5244b7e NC |
521 | 2012-05-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
522 | ||
523 | PR ld/14069 | |
524 | * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf | |
525 | support. | |
526 | ||
6927f982 NC |
527 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
528 | ||
529 | * NEWS: Mention the support for S12X processors. | |
530 | ||
b9c361e0 JL |
531 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
532 | ||
533 | * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. | |
534 | Pass it to callback. | |
535 | (walk_wild_section_general): Pass section_flag_list to callback. | |
536 | (lang_add_section): Add sflag_list parm. | |
537 | Move out logic to keep / omit a section & call bfd_lookup_section_flags. | |
538 | (output_section_callback_fast): Add sflag_list parm. | |
539 | Add new parm to lang_add_section calls. | |
540 | (output_section_callback): Likewise. | |
541 | (check_section_callback): Add sflag_list parm. | |
542 | (lang_place_orphans): Add new parm to lang_add_section calls. | |
543 | (gc_section_callback): Add sflag_list parm. | |
544 | (find_relro_section_callback): Likewise. | |
545 | * ldlang.h (callback_t): Add flag_info parm. | |
546 | (lang_add_section): Add sflag_list parm. | |
547 | * emultempl/armelf.em (elf32_arm_add_stub_section): | |
548 | Add lang_add_section parm. | |
549 | * emultempl/beos.em (gld*_place_orphan): Likewise. | |
550 | * emultempl/elf32.em (gld*_place_orphan): Likewise. | |
551 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
552 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
553 | * emultempl/mipself.em (mips_add_stub_section): Likewise. | |
554 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
555 | * emultempl/pe.em (gld_*_place_orphan): Likewise. | |
556 | * emultempl/pep.em (gld_*_place_orphan): Likewise. | |
557 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
558 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
559 | * emultempl/vms.em (vms_place_orphan): Likewise. | |
560 | ||
561 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
562 | ||
563 | * NEWS: Mention PowerPC VLE port. | |
564 | ||
208a4923 NC |
565 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
566 | ||
567 | PR binutils/14028 | |
568 | * configure.in: Invoke ACX_HEADER_STRING. | |
569 | * configure: Regenerate. | |
570 | * config.in: Regenerate. | |
571 | * sysdep.h: If STRINGS_WITH_STRING is defined then include both | |
572 | string.h and strings.h. | |
573 | ||
e5b62927 AM |
574 | 2012-05-08 Alan Modra <amodra@gmail.com> |
575 | ||
576 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
577 | LC and LANG environment vars. | |
578 | * Makefile.in: Regenerate. | |
579 | ||
d66ac08f TG |
580 | 2012-05-07 Tristan Gingold <gingold@adacore.com> |
581 | ||
582 | * pe-dll.c (udef_table): Make it static. | |
583 | ||
45dfa85a AM |
584 | 2012-05-05 Alan Modra <amodra@gmail.com> |
585 | ||
586 | * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. | |
587 | (generate_reloc): Use bfd_abs_section_ptr. | |
588 | ||
3c995545 L |
589 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
590 | ||
591 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
592 | ||
f6c1a2d5 NC |
593 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
594 | ||
595 | * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE | |
596 | and XGATE (elf). | |
597 | * Makefile.in: Rebuild. | |
598 | * configure.tgt: Recognize XGATE. | |
599 | * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. | |
600 | * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. | |
601 | * NEWS: Mention new support. | |
602 | ||
3b66a141 HPN |
603 | 2012-04-26 Hans-Peter Nilsson <hp@axis.com> |
604 | ||
605 | Make bfd asserts cause linker errors. | |
606 | * ldmain.c (default_bfd_assert_handler): New variable. | |
607 | (ld_bfd_assert_handler): New function. | |
608 | (main): Call bfd_set_assert_handler. | |
609 | ||
dbaa2011 AM |
610 | 2012-04-24 Alan Modra <amodra@gmail.com> |
611 | ||
3daa201b | 612 | * ldlang.c (size_input_section): Use sec_info_type rather than |
dbaa2011 | 613 | usrdata->flags.just_syms. |
3daa201b AM |
614 | * ldwrite.c (build_link_order): Likewise. |
615 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
616 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
617 | * emultempl/armelf.em (build_section_lists): Likewise. | |
dbaa2011 | 618 | (after_allocation): Update for renamed sec_info_type value. |
3daa201b | 619 | * emultempl/tic6xdsbt.em: Likewise. |
dbaa2011 | 620 | |
b38cadfb NC |
621 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
622 | ||
623 | * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. | |
624 | * emulparams/armelf_nacl.sh: New file. | |
625 | * emulparams/armelfb_nacl.sh: New file. | |
626 | * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c | |
627 | and earmelfb_nacl.c here. | |
628 | (earmelf_nacl.c, earmelfb_nacl.c): New targets. | |
629 | * Makefile.in: Regenerated. | |
630 | ||
202e2356 NC |
631 | 2012-04-11 Tristan Gingold <gingold@adacore.com> |
632 | ||
633 | * scripttempl/ia64vms.sc: New file. | |
634 | * emultempl/vms.em (_before_parse): Support for ia64. | |
635 | (elf64-ia64-vms): New fragment for ia64. | |
636 | * emulparams/elf64_ia64_vms.sh: New file. | |
637 | * configure.tgt (ia64-*-*vms*): Add. | |
638 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c | |
639 | (eelf64_ia64_vms.c): New rule. | |
640 | * Makefile.in: Regenerate. | |
641 | ||
58797674 RM |
642 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
643 | ||
644 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
645 | * config.in: Regenerate. | |
646 | * configure: Regenerate. | |
647 | ||
44350750 NC |
648 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
649 | ||
650 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
651 | (AM_LC_MESSAGES): Add. | |
652 | * aclocal.m4: Regenerate. | |
653 | * config.in: Regenerate. | |
654 | * configure: Regenerate. | |
655 | ||
5a68afcf RM |
656 | 2012-04-03 Roland McGrath <mcgrathr@google.com> |
657 | ||
658 | * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. | |
659 | * emulparams/elf_nacl.sh: New file. | |
660 | * emulparams/elf_i386_nacl.sh: New file. | |
661 | * emulparams/elf32_x86_64_nacl.sh: New file. | |
662 | * emulparams/elf_x86_64_nacl.sh: New file. | |
663 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. | |
664 | (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and | |
665 | eelf_x86_64_nacl.c here. | |
666 | (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): | |
667 | New targets. | |
668 | * Makefile.in: Regenerated. | |
669 | ||
670 | * scripttempl/elf.sc: Handle SEPARATE_CODE cases. | |
671 | ||
23916fff MF |
672 | 2012-04-02 Mike Frysinger <vapier@gentoo.org> |
673 | ||
674 | * ldmisc.c (vfinfo): Assign new local str to fmt. Delete | |
675 | putc call. If str and fmt are different, call fwrite on | |
676 | the difference. | |
677 | ||
26a3ed35 NC |
678 | 2012-03-30 Nick Clifton <nickc@redhat.com> |
679 | ||
680 | * po/vi.po: Updated Vietnamese translation. | |
681 | ||
bf9ef603 RM |
682 | 2012-03-27 Roland McGrath <mcgrathr@google.com> |
683 | ||
684 | * configure.in: Set want64 on a 64-bit host regardless of | |
685 | --enable-targets=all. | |
686 | * configure: Regenerated. | |
687 | ||
1d6d1a2c TG |
688 | 2012-03-26 Tristan Gingold <gingold@adacore.com> |
689 | ||
690 | * lexsup.c (parse_args): Add a missing '\n'. | |
691 | ||
b514e6a5 AM |
692 | 2012-03-25 Alan Modra <amodra@gmail.com> |
693 | ||
694 | * ldemul.c (before_allocation_default): Revert last change. | |
3daa201b | 695 | * ldlang.c (lang_add_section): Likewise. |
b514e6a5 AM |
696 | (strip_excluded_output_sections): Don't strip output sections with |
697 | user input sections when emitrelocations, unless all are SEC_EXCLUDE. | |
698 | ||
f24fcb9d AM |
699 | 2012-03-23 Alan Modra <amodra@gmail.com> |
700 | ||
701 | * ldemul.c (before_allocation_default): When emitrelocations, | |
702 | don't strip sections.. | |
703 | * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. | |
704 | ||
aeb1f0e8 KT |
705 | 2012-03-14 Kai Tietz <ktietz@redhat.com> |
706 | Pascal Obry <pascal@obry.net> | |
707 | ||
708 | * pe-dll.c (found_sym): New static variable. | |
709 | (undef_count): Likewise. | |
710 | (key_value): New structure. | |
711 | (undef_sort_cmp): Compare routine for qsort/bsearch. | |
712 | (pe_find_cdecl_alias_match): Add new argument. | |
713 | (pe_undef_alias_cdecl_match): Removed. | |
714 | (pe_undef_count): New helper routine. | |
715 | (pe_create_undef_table): Likewise. | |
716 | (pe_process_import_defs): Use pe_create_undef_table and | |
717 | new pe_undef_alias_cdecl_match function. | |
718 | ||
ec8460b5 AM |
719 | 2012-03-14 Alan Modra <amodra@gmail.com> |
720 | ||
721 | PR ld/13839 | |
722 | * ldexp.c (fold_name): Ignore undefined symbols when assigning to | |
723 | dot in mark phase. | |
724 | (exp_fold_tree_1): Evaluate assignment to dot expressions even when | |
725 | discarding result, for side effects. Fix typo in error message. | |
726 | ||
67baf8c4 TG |
727 | 2012-03-08 Tristan Gingold <gingold@adacore.com> |
728 | ||
729 | * ldexp.c (exp_print_tree): Special case for SEGMENT_START. | |
730 | (exp_print_token): Constify. | |
731 | ||
f4a23d42 AM |
732 | 2012-03-08 Alan Modra <amodra@gmail.com> |
733 | ||
734 | PR ld/10340 | |
735 | * ldfile.c (is_sysrooted_pathname): Remove notsame param. | |
736 | (ldfile_add_library_path): Don't set sysrooted flag. | |
737 | (ldfile_open_file_search): Likewise, and don't copy them. | |
738 | (try_open): Delete exten and code handling such. Add sysrooted | |
739 | param and return whether path is in sysroot. | |
740 | (ldfile_find_command_file): Delete extend param. Add sysrooted | |
741 | param. Rename local var. Update try_open calls. | |
742 | (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. | |
743 | * ldfile.h (search_dirs_type): Remove sysrooted field. | |
744 | * ldlang.c (new_afile): Always set sysrooted from input_flags. | |
745 | (load_symbols): Don't set input_flags.sysrooted. | |
746 | * ldlang.h (struct lang_input_statement_flags): Revise sysrooted | |
747 | comment. | |
748 | * ldlex.h (lex_push_file): Update prototype. | |
749 | * ldlex.l (sysrooted_stack): New array. | |
750 | (EOF): Pop input_flags.sysrooted. | |
751 | (lex_push_file): Add sysrooted param. Save and set | |
752 | input_flags.sysrooted. | |
753 | ||
66be1055 AM |
754 | 2012-03-06 Alan Modra <amodra@gmail.com> |
755 | ||
756 | * ldlang.h (struct lang_input_statement_flags): New, extract from.. | |
757 | (lang_input_statement_type): ..here. New field "flags". | |
758 | (input_flags): Declare. | |
759 | (missing_file): Delete. | |
760 | * ldmain.h (whole_archive): Delete. | |
761 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
762 | * ld.h (ld_config_type <dynamic_link>): Delete. | |
763 | * ldmain.c (whole_archive): Delete. | |
764 | (add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete. | |
765 | * ldlang.c (missing_file, ldlang_sysrooted_script): Delete. | |
766 | (input_flags): New variable. Replace all uses of config.dynamic_link, | |
767 | missing_file, ldlang_sysrooted_script, whole_archive, | |
768 | add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields | |
769 | from here. | |
770 | * ldfile.c: Likewise. | |
771 | * ldgram.y: Likewise. | |
772 | * ldmain.c: Likewise. | |
773 | * ldwrite.c: Likewise. | |
774 | * lexsup.c: Likewise. | |
775 | * plugin.c: Likewise. | |
776 | * emultempl/aix.em: Likewise. | |
777 | * emultempl/armelf.em: Likewise. | |
778 | * emultempl/elf32.em: Likewise. | |
779 | * emultempl/hppaelf.em: Likewise. | |
780 | * emultempl/linux.em: Likewise. | |
781 | * emultempl/pe.em: Likewise. | |
782 | * emultempl/pep.em: Likewise. | |
783 | * emultempl/ppc64elf.em: Likewise. | |
784 | * emultempl/scoreelf.em: Likewise. | |
785 | * emultempl/spuelf.em: Likewise. | |
786 | * emultempl/sunos.em: Likewise. | |
787 | * emultempl/vms.em: Likewise. | |
788 | * ldlang.c (new_afile): Use memset to init zero fields. | |
789 | (load_symbols): Simplify save and restore of flags around command | |
790 | file processing. | |
791 | * ldfile.c (is_sysrooted_pathname): Tidy. | |
792 | ||
cae4ddc6 HPN |
793 | 2012-03-05 Hans-Peter Nilsson <hp@axis.com> |
794 | ||
795 | * configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*) | |
796 | (mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by | |
797 | replacing trailing "-*" with "*". | |
798 | ||
fb6cedde WL |
799 | 2012-02-25 Walter Lee <walt@tilera.com> |
800 | ||
801 | * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c. | |
802 | (ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c. | |
803 | (eelf32tilegx_be.c): Add rule to build this file. | |
804 | (eelf64tilegx_be.c): Ditto. | |
805 | * Makefile.in: Regenerate. | |
806 | * configure.tgt (tilegx-*-*): Support big endian. | |
807 | (tilegxbe-*-*): New. | |
808 | * emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename. | |
809 | (BIG_OUTPUT_FORMAT): Define. | |
810 | (LITTLE_OUTPUT_FORMAT): Define. | |
811 | * emulparams/elf32tilegx_be.sh: New. | |
812 | * emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename. | |
813 | (BIG_OUTPUT_FORMAT): Define. | |
814 | (LITTLE_OUTPUT_FORMAT): Define. | |
815 | * emulparams/elf64tilegx_be.sh: New. | |
816 | ||
5b3d386e KT |
817 | 2012-02-24 Kai Tietz <ktietz@redhat.com> |
818 | ||
819 | PR binutils/13710 | |
820 | * deffilep.y (keyword_as_name): Disable LIBRARY | |
821 | keyword. | |
822 | ||
2aa9aad9 NC |
823 | 2012-02-22 Alan Modra <amodra@gmail.com> |
824 | ||
825 | PR ld/13683 | |
826 | * ldlang.c (lang_process): Rerun lang_do_assignments before | |
827 | starting garbage collection. | |
828 | * ldexp.c (fold_name): Generate a reloc for defined symbols | |
829 | found without an associated output section during the mark phase. | |
289b70fe NC |
830 | (exp_fold_tree_1): Continue processing an expression, even if we |
831 | are unable to fold it, if we are in the first two evaluation | |
832 | phases. | |
2aa9aad9 NC |
833 | * ldexp.h (enum lang_phase_type): Add descriptions of the phases. |
834 | ||
6e230cc2 KT |
835 | 2012-02-19 Kai Tietz <ktietz@redhat.com> |
836 | ||
837 | * deffilep.y (cmp_import_elem): Sort first by module name. | |
838 | * pe-dll.c (process_def_file_and_drectve): Free strings | |
839 | from removed export-element. | |
840 | (add_bfd_to_link): Optimize loop on import-elements and lower | |
841 | allocated memory. | |
842 | (pe_implied_import_dll): Pass NULL instead of 0 for pointer | |
843 | argument. | |
844 | ||
39085894 HPN |
845 | 2012-02-18 Hans-Peter Nilsson <hp@axis.com> |
846 | ||
847 | * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for | |
848 | temporary variable node used for NULL argument. | |
849 | ||
dab69f68 AM |
850 | 2012-02-18 Alan Modra <amodra@gmail.com> |
851 | ||
852 | PR ld/13343 | |
853 | * ld.h (parsing_defsym): Delete. | |
854 | * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. | |
855 | (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, | |
856 | exp_get_abs_int): Add tree arg for %S in error messages. Don't | |
857 | fudge lineno. | |
858 | (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy | |
859 | type.filename from sub-tree. | |
860 | (exp_trinop): Likewise, and use "cond" rather than "lhs". | |
861 | * ldexp.h (node_type): Add filename field to struct. | |
862 | * ldfile.c (ldfile_input_filename): Delete. Remove all refs. | |
863 | * ldfile.h (ldfile_input_filename): Delete. | |
864 | * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for | |
865 | %S in error messages. | |
866 | * ldemul.c (syslib_default, hll_default): Likewise. | |
867 | * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, | |
868 | lang_get_regions, lang_new_phdr): Likewise. | |
869 | (lang_size_sections_1): Pass addr_tree for %S. | |
870 | * ldlex.h (lex_redirect): Update prototype. | |
871 | (ldlex_filename): Declare. | |
872 | * ldlex.l (<EOF>): Don't set ldfile_input_filename. | |
873 | (lex_redirect): Add fake_filename and count params. Push | |
874 | fake_filename to file_name_stack and init lineno from count. | |
875 | (ldlex_filename): New function. | |
876 | (lex_warn_invalid): Use above. | |
877 | * ldmain.c (main): Update lex_redirect call. | |
878 | * ldmisc.c (vfinfo <%S>): Take file name and line number from | |
879 | etree_type arg, or use current if arg is NULL. | |
880 | * lexsup.c (parsing_defsym): Delete. | |
881 | (parse_args <OPTION_DEFSYM>): Update lex_redirect call. | |
882 | ||
d0ac6938 KT |
883 | 2012-02-13 Kai Tietz <ktietz@redhat.com> |
884 | ||
885 | * deffilep.y (find_export_in_list): Set is_indent for | |
886 | first or last element, if identical. | |
887 | (find_import_in_list): Likewise. | |
888 | ||
aa83d1ec KT |
889 | 2012-02-11 Kai Tietz <ktietz@redhat.com> |
890 | ||
891 | * deffilep.y (%union): New type id_const. | |
892 | (opt_name2): New rule. | |
893 | (keyword_as_name): New rule. | |
894 | (dot_name): Replaced by opt_name2 rule. | |
895 | (opt_name): Adjust rule. | |
896 | (opt_equal_name): Likewise. | |
897 | ||
98872a7c NC |
898 | 2012-02-11 Pascal Obry <pascal@obry.net> |
899 | ||
900 | * pe-dll.c (auto_export): Use bsearch to speed up scan of exports | |
901 | table. | |
902 | (process_def_file_and_drectve): Maintain sorting of exports table | |
903 | after stripping leading @ signs. | |
904 | ||
09f6ed34 AM |
905 | 2012-02-09 Alan Modra <amodra@gmail.com> |
906 | ||
907 | * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. | |
908 | ||
b7761f11 L |
909 | 2012-01-31 H.J. Lu <hongjiu.lu@intel.com> |
910 | ||
911 | PR ld/13616 | |
912 | * emulparams/elf32_x86_64.sh: Remove NOP. | |
913 | * emulparams/elf_i386.sh: Likewise. | |
914 | * emulparams/elf_i386_be.sh: Likewise. | |
915 | * emulparams/elf_i386_ldso.sh: Likewise. | |
916 | * emulparams/elf_i386_vxworks.sh: Likewise. | |
917 | * emulparams/elf_k1om.sh: Likewise. | |
918 | * emulparams/elf_l1om.sh: Likewise. | |
919 | * emulparams/elf_x86_64.sh: Likewise. | |
920 | ||
921 | * ldlang.c (zero_fill): Initialized to 0. | |
922 | ||
923 | * ldwrite.c (build_link_order): Set data size to linker odrder | |
924 | size when they are the same. | |
925 | ||
926 | * scripttempl/elf.sc: Don't specify fill if NOP is undefined. | |
927 | ||
576477a6 AM |
928 | 2012-01-17 Alan Modra <amodra@gmail.com> |
929 | ||
930 | * ldver.c (ldversion): Update copyright message year. | |
931 | ||
cdaa438c AM |
932 | 2012-01-15 Alan Modra <amodra@gmail.com> |
933 | ||
934 | PR ld/12758 | |
935 | * ldlang.c (lang_process): Don't reopen all files, just those | |
936 | newly added by plugin. | |
937 | ||
794e51c0 AM |
938 | 2012-01-11 Alan Modra <amodra@gmail.com> |
939 | ||
940 | * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE, | |
941 | PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
942 | PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and | |
943 | --{no-,}plt-align. | |
944 | (plt_thread_safe, plt_stub_align): New vars. | |
945 | (gld${EMULATION_NAME}_after_allocation): Pass them to | |
946 | ppc64_elf_size_stubs. Align stub sections according to plt_stub_align. | |
947 | * ld.texinfo: Document new command line options, and an old | |
948 | undocumented option. | |
949 | ||
52546677 RM |
950 | 2012-01-09 Roland McGrath <mcgrathr@google.com> |
951 | ||
952 | * configure.in: Use AM_ZLIB. | |
953 | * configure: Regenerated. | |
c0a512e2 | 954 | |
23e1d329 | 955 | For older changes see ChangeLog-2011 |
252b5132 RH |
956 | \f |
957 | Local Variables: | |
958 | mode: change-log | |
959 | left-margin: 8 | |
960 | fill-column: 74 | |
961 | version-control: never | |
962 | End: |