* emultempl/ppc32elf.em (ppc_before_allocation): Turn on
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2009-07-10 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
4 linker relaxation if it might be necessary.
5
6 2009-07-10 Alan Modra <amodra@bigpond.net.au>
7
8 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
9
10 2009-07-06 Matthias Klose <doko@ubuntu.com>
11
12 * ld.texinfo: Fix typo.
13
14 2009-07-03 Tristan Gingold <gingold@adacore.com>
15
16 * scripttempl/pep.sc: Put .eh_frame in its own section.
17 * scripttempl/pe.sc: Ditto.
18
19 2009-06-26 Kai Tietz <kai.tietz@onevision.com>
20
21 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
22 * scripttempl/pep.sc: Likewise.
23
24 2009-06-25 Tristan Gingold <gingold@adacore.com>
25
26 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
27 prototype.
28 (lang_map): Print the size of discarded sections.
29 (print_statement): Adjust call to print_input_section.
30
31 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
32
33 Merge cegcc and mingw32ce target name changes from CeGCC project:
34
35 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
36
37 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
38 ${tooldir}/lib/w32api.
39
40 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
41
42 * configure.tgt: Add arm*-*-cegcc* target.
43
44 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
45
46 * configure.tgt: Add arm-*-mingw32ce* target.
47
48 2009-06-10 Philip Blundell <philb@gnu.org>
49
50 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
51 if section has no ELF data.
52
53 2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
54
55 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
56
57 2009-06-05 H.J. Lu <hongjiu.lu@intel.com>
58
59 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
60
61 2009-06-04 Alan Modra <amodra@bigpond.net.au>
62
63 * dep-in.sed: Don't use \n in replacement part of s command.
64 * Makefile.am (DEP1): LC_ALL for uniq.
65 * Makefile.in: Regenerate.
66
67 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
68
69 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
70 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
71 (GOTPLT): Add "*(.igot)".
72 (__rel_iplt_start): New.
73 (__rel_iplt_end): Likewise.
74 (__rela_iplt_start): Likewise.
75 (__rela_iplt_end): Likewise.
76
77 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
78
79 * deffilep.y (%union): Add new string-type semantic value 'digits'.
80 (%token): Remove NUMBER as token, add DIGITS.
81 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
82 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
83 (anylang_id): New production.
84 (opt_digits): Likewise.
85 (opt_id): Likewise.
86 (NUMBER): Likewise.
87 (def_lex): Return strings of digits in raw string form as DIGITS
88 token, instead of converting to numeric integer type.
89
90 2009-05-26 Nathan Sidwell <nathan@codesourcery.com>
91
92 * ldmain.c (main): Don't reject --relax -r.
93 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
94 partial links.
95
96 2009-05-26 Nick Clifton <nickc@redhat.com>
97
98 * po/id.po: Updated Indonesian translation.
99 * po/ld.pot: Updated template file.
100
101 2009-05-26 Alan Modra <amodra@bigpond.net.au>
102
103 * dep-in.sed: Output one filename per line with all lines having
104 continuation backslash. Prefix first line with "A", following
105 lines with "B".
106 * Makefile.am (DEP): Don't use dep.sed here.
107 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
108 sort and uniq.
109 * Makefile.in: Regenerate.
110
111 2009-05-26 Alan Modra <amodra@bigpond.net.au>
112
113 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
114
115 2009-05-22 Julian Brown <julian@codesourcery.com>
116
117 * emultempl/armelf.em (fix_cortex_a8): New.
118 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
119 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
120 bfd_elf32_arm_set_target_relocs.
121 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
122 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
123 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
124 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
125 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
126
127 2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
128
129 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
130 sections when checking for overlap. Clarify error message
131 concerns load address.
132
133 2009-05-22 Alan Modra <amodra@bigpond.net.au>
134
135 * Makefile.am: Run "make dep-am".
136 * Makefile.in: Regenerate.
137
138 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
139
140 * NEWS: Mention new feature.
141 * deffile.h (def_file_aligncomm): Add new struct definition.
142 (def_file): Add new def_file_aligncomm member.
143 * deffilep.y (%token): Add new ALIGNCOMM token.
144 (command): Add production rule for ALIGNCOMM.
145 (def_file_free): Free any chained def_file_aligncomm structs.
146 (diropts[]): Add entry for '-aligncomm' .drectve command.
147 (def_aligncomm): New grammar function.
148 * ld.texinfo: Document new feature.
149 * pe-dll.c (process_def_file): Rename from this ...
150 (process_def_file_and_drectve): ... to this, updating all callers,
151 and process any aligncomms chained to the def file after scanning
152 all .drectve sections.
153 (generate_edata): Updated to match.
154 (pe_dll_build_sections): Likewise.
155
156 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
157
158 * pe-dll.c (process_def_file): Do not create empty export table.
159
160 2009-05-15 Alan Modra <amodra@bigpond.net.au>
161
162 * ldlang.c (lang_output_section_statement_lookup): Add function
163 comment. Make "name" non-const. Ensure duplicate entries use
164 the same string, allowing simple comparison in hash bucket loop.
165 Tweak constraint check.
166 (next_matching_output_section_statement): New function.
167 * ldlang.h (lang_output_section_statement_lookup): Update.
168 (next_matching_output_section_statement): Declare.
169 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
170 combine orphan sections when input sections flags differ in
171 alloc or load.
172 * emultempl/pe.em: Formatting throughout.
173 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
174 * emultempl/pep.em: Formatting throughout.
175 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
176
177 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
178
179 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
180 compact stubs with software i-cache.
181
182 2009-05-14 Alan Modra <amodra@bigpond.net.au>
183
184 * emultempl/spuelf.em (spu_before_allocation): Call
185 spu_elf_place_overlay_data.
186
187 2009-05-14 Alan Modra <amodra@bigpond.net.au>
188
189 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
190 assignment inside output section statement. Ensure only one
191 set of symbols per output section.
192 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
193 dollar sections before dollar sections. Correct add_child
194 list insertion.
195 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
196
197 2009-05-05 Paul Brook <paul@codesourcery.com>
198
199 * emultempl/armelf.em (compare_output_sec_vma): New function.
200 (gld${EMULATION_NAME}_finish): Add exidx munging code.
201
202 2009-05-05 Anatoly Sokolov <aesok@post.ru>
203
204 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
205 * emulparams/avr1.sh (DATA_ORIGIN): Add.
206 * emulparams/avr2.sh (DATA_ORIGIN): Add.
207 * emulparams/avr25.sh (DATA_ORIGIN): Add.
208 * emulparams/avr3.sh (DATA_ORIGIN): Add.
209 * emulparams/avr31.sh (DATA_ORIGIN): Add.
210 * emulparams/avr35.sh (DATA_ORIGIN): Add.
211 * emulparams/avr4.sh (DATA_ORIGIN): Add.
212 * emulparams/avr5.sh (DATA_ORIGIN): Add.
213 * emulparams/avr51.sh (DATA_ORIGIN): Add.
214 (DATA_LENGTH): Update.
215 * emulparams/avr6.sh (DATA_ORIGIN): Add.
216 (DATA_LENGTH): Update.
217
218 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
219
220 * NEWS: Mention new feature.
221 * ld.texinfo (--version-script): Document extent of PE support.
222 (WIN32): Mention --version-script. Extend auto-export description.
223 * pe-dll.c (process_def_file): Use version script info to filter
224 symbols from auto-export.
225 * testsuite/ld-pe/vers-script-1.d: New file.
226 * testsuite/ld-pe/vers-script-2.d: New file.
227 * testsuite/ld-pe/vers-script-3.d: New file.
228 * testsuite/ld-pe/vers-script-4.d: New file.
229 * testsuite/ld-pe/vers-script-1.ver: New file.
230 * testsuite/ld-pe/vers-script-2.ver: New file.
231 * testsuite/ld-pe/vers-script-3.ver: New file.
232 * testsuite/ld-pe/vers-script-4.ver: New file.
233 * testsuite/ld-pe/vers-script-dll.c: New file.
234 * testsuite/ld-pe/vers-script.exp: New test script.
235
236 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
237
238 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
239
240 2009-04-30 Nick Clifton <nickc@redhat.com>
241
242 * NEWS: Mention support for IFUNC symbols.
243
244 2009-04-29 Anthony Green <green@moxielogic.com>
245
246 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
247 position out to accommodate larger programs.
248
249 2009-04-29 Chris Demetriou <cgd@google.com>
250
251 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
252 (ld_options): Likewise.
253 (parse_args): Likewise.
254 * ld.texinfo: Document --no-export-dynamic.
255 * NEWS: Mention --no-export-dynamic.
256
257 2009-04-29 Alan Modra <amodra@bigpond.net.au>
258
259 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
260
261 2009-04-25 Alan Modra <amodra@bigpond.net.au>
262
263 PR 10061
264 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
265 param.
266
267 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
268
269 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
270 (arm_elf_set_bfd_for_interworking): Delete.
271 (arm_elf_before_allocation): Do not set the interworking BFD.
272 Move allocation inside not-dynamic block.
273 (arm_elf_create_output_section_statements): Create glue sections
274 and set the interworking BFD here.
275 (LDEMUL_AFTER_OPEN): Delete.
276
277 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
278
279 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
280
281 2009-04-15 Anthony Green <green@moxielogic.com>
282
283 * configure.tgt: Add moxie support.
284 * Makefile.am: Add moxie files.
285 * Makefile.in: Rebuilt.
286 * emulparams/elf32moxie.sh: New file.
287 * scripttempl/moxie.sc: New file.
288
289 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
290
291 * ldlang.c: Do not include limits.h.
292
293 2009-04-14 Alan Modra <amodra@bigpond.net.au>
294
295 PR ld/10047
296 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
297 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
298
299 2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
300
301 * ldfile.c (ldfile_find_command_file): Revert the last change.
302
303 2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
304
305 PR ld/10047
306 * ldfile.c (ldfile_find_command_file): First try raw name.
307
308 2009-04-09 Nick Clifton <nickc@redhat.com>
309
310 PR 9824
311 * ld.texinfo (Output Section Constraint): New node. Documents the
312 ONLY_IF_RO and ONLY_IF_RW constraints.
313 (Symbolic Constants): New node. Documents the CONSTANT operator.
314
315 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
316
317 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
318 of fork/execvp.
319
320 2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
321
322 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
323 (ld_options): Likewise.
324 (parse_args): Likewise.
325
326 * ld.texinfo: Document --warn-alternate-em.
327
328 * NEWS: Mention --warn-alternate-em.
329
330 2009-04-07 DJ Delorie <dj@redhat.com>
331
332 * emulparams/elf32mep.sh: Change default endian to little.
333
334 2009-04-07 Nick Clifton <nickc@redhat.com>
335
336 * ld.texinfo (Output Section Address): Note that specifying an
337 address for an output section will only change the location
338 counter if the output section is used.
339
340 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
341
342 * ldfile.c (ldfile_find_command_file): Initialize result.
343
344 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
345
346 * ld.texinfo (-L): Mention that -L options do not affect how ld
347 searches for a linker script unless -T option is specified.
348 * ldfile.c (ldfile_find_command_file): Append the path obtained
349 from the program name to the search path instead of
350 prepending. Add a new parameter "default_only". Restrict the
351 search to the default script location if the new parameter is
352 true.
353 (ldfile_open_command_file_1): New.
354 (ldfile_open_command_file): Call ldfile_open_command_file_1.
355 (ldfile_open_default_command_file): New.
356
357 2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
358
359 * ldlang.c (lang_leave_output_section_statement): Set lma_region
360 if it is not overridden and section is for the same vma region as
361 the previous section.
362
363 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
364
365 PR ld/6744
366 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
367 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
368 warning if --export-dynamic was passed on command-line.
369 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
370
371 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
372
373 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
374 function.
375 (ld_${EMULATION_NAME}_emulation): Use it.
376
377 2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
378
379 PR ld/9970
380 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
381
382 2009-03-19 Alan Modra <amodra@bigpond.net.au>
383
384 * emultempl/spuelf.em (spu_before_allocation): Report errors from
385 spu_elf_find_overlays.
386
387 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
388
389 PR ld/6766
390 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
391
392 2009-03-18 Alan Modra <amodra@bigpond.net.au>
393
394 * ld.h: Remove alloca handling.
395
396 2009-03-17 Alan Modra <amodra@bigpond.net.au>
397
398 * emultempl/spu_icache.S: Add new entry to dummy handler.
399 * emultempl/spu_icache.o_c: Regenerate.
400 * emultempl/spuelf.em (params): Init new field.
401 (no_overlays): New static var.
402 (spu_before_allocation): Use it.
403 (OPTION_SPU_COMPACT_STUBS): Define.
404 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
405 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
406 handling.
407
408 2009-03-17 Alan Modra <amodra@bigpond.net.au>
409
410 * configure.host (HOSTING_LIBS): Two dollars on shell variable
411 expansion to suit make.
412
413 2009-03-17 Alan Modra <amodra@bigpond.net.au>
414
415 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
416 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
417 * aclocal.m4: Regenerate.
418 * configure: Regenerate.
419 * Makefile.in: Regenerate.
420
421 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
422
423 * emultempl/aix.em (auto_export_flags): New variable.
424 (explicit_auto_export_flags): Likewise.
425 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
426 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
427 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
428 -bnoexpall and -bnoexpfull.
429 (gld${EMULATION_NAME}_handle_option): Handle them.
430 (gld${EMULATION_NAME}_before_allocation): Update the call to
431 bfd_size_dynamic_sections.
432
433 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
434
435 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
436 -berok and -bernotok control link_info.unresolved_syms_in_objects
437 and link_info.unresolved_syms_in_shared_libs instead of
438 force_make_executable.
439
440 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
441
442 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
443 config.dynamic_link to TRUE.
444
445 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
446
447 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
448 .text, .data and .bss output sections as SEC_KEEP.
449
450 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
451
452 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
453
454 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
455 Danny Smith <dannysmith@users.sourceforge.net>
456
457 * emultmpl/pe.em (pe_dll_characteristics): New variable.
458 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
459 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
460 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
461 New macros for options to set DllCharacteristics flag bits.
462 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
463 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
464 (init): Add DllCharacteristics field.
465 (gld_${EMULATION_NAME}_list_options): List new options.
466 (gld${EMULATION_NAME}_handle_option): Handle new options.
467 * emultmpl/pep.em (pe_dll_characteristics): New variable.
468 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
469 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
470 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
471 New macros for options to set DllCharacteristics flags.
472 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
473 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
474 (init): Add DllCharacteristics field.
475 (gld_${EMULATION_NAME}_list_options): List new options.
476 (gld${EMULATION_NAME}_handle_option): Handle new options.
477 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
478 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
479
480 2009-03-06 Nick Clifton <nickc@redhat.com>
481
482 * po/es.po: Updated Spanish translation.
483
484 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
485
486 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
487 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
488 of all input BFDs, looking for debug info. Enable long section names
489 if any found.
490 * emultempl/pe.em (debug_section_p): Likewise.
491 (gld_${EMULATION_NAME}_after_open): Likewise.
492 * NEWS: Retrospectively adjust news announcement.
493 * ld.texinfo: Update documentation to mention new behaviour.
494
495 2009-03-03 Alan Modra <amodra@bigpond.net.au>
496
497 * Makefile.am: Run "make dep-am".
498 * Makefile.in: Regenerate.
499
500 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
501
502 * ldgram.y: Add support for REGION_ALIAS operator.
503 * ldlang.c: Likewise.
504 * ldlang.h: Likewise.
505 * ldlex.l: Likewise.
506 * NEWS: Mention the new feature.
507 * ld.texinfo: Document the new feature.
508
509 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
510
511 * Makefile.am: Replace score elf emulation with score3 and score7
512 emulations.
513 * Makefile.in: Regenerate,
514 * NEWS: Mention support for Score7 architecture.
515 * configure.tgt: Add score7 emulation to score-elf target.
516 * emulparams/scoreelf.sh: Add score7 support.
517 * emultempl/scoreelf.em: Likewise.
518
519 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
520
521 * configure.tgt: Only use elf64hppa target emulation for hpux.
522 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
523 (SCRIPT_NAME): Use new script elf64hppa.
524 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
525 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
526 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
527 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
528 TEXT_DYNAMIC): Define.
529 * emulparams/hppa64linux.sh: Adjust comments.
530 * scripttempl/elf64hppa.sc: New file.
531
532 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
533
534 * configure: Regenerate.
535
536 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
537
538 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
539 default state of auto-import flag based on $target.
540
541 2009-02-24 Joseph Myers <joseph@codesourcery.com>
542
543 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
544 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
545 (elf32_arm_add_stub_section): Update comment.
546 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
547
548 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
549
550 * ld.texinfo (Options): Correct typos in example. Recommend
551 using joined forms of syntax for passing options with arguments
552 from a driver.
553 (-a): Use consistent syntax for documenting option arguments.
554 Clean up indexing and markup.
555 (-A/--architecture): Likewise.
556 (-f/--auxiliary): Likewise.
557 (-F/--filter): Likewise.
558 (-fini): Likewise.
559 (-G/--gpsize): Likewise.
560 (-h/-soname):Likewise.
561 (-init): Likewise.
562 (-l/--library): Likewise.
563 (-L/--library-path): Likewise.
564 (-m): Likewise.
565 (--defsym): Likewise.
566 (-I/--dynamic-linker): Likewise.
567 (-Map): Likewise.
568 (--oformat): Likewise.
569 (--retain-symbols-file): Likewise.
570 (-rpath): Likewise.
571 (-rpath-link): Likewise.
572 (--sort-common): Likewise.
573 (--sort-section): Likewise.
574 (--split-by-file): Likewise.
575 (--split-by-reloc): Likewise.
576 (--sysroot): Likewise.
577 (--section-start): Likewise.
578 (-Tbss, -Tdata, -Ttext): Likewise.
579 (-Ttext-segment): Likewise.
580 (--version-script): Likewise.
581 (--wrap): Likewise.
582
583 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
584
585 * ld.texinfo: Update to mention long section name options.
586 * NEWS: Mention new behaviour and command-line options.
587 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
588 (pe_output_file_set_long_section_names): New function.
589 (pe_dll_build_sections): Call it on output BFDs.
590 (pe_exe_build_sections): Likewise.
591 (pe_dll_fill_sections): Likewise.
592 (pe_exe_fill_sections): Likewise.
593 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
594 (pe_output_file_set_long_section_names): Add prototype.
595 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
596 (pe_output_file_set_long_section_names): Likewise.
597 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
598 (pep_output_file_set_long_section_names): Add prototype.
599 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
600 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
601 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
602 (gld_${EMULATION_NAME}_list_options): Describe them.
603 (gld${EMULATION_NAME}_handle_option): Set or clear global
604 pe_use_coff_long_section_names flag when options recognised.
605 (gld_${EMULATION_NAME}_after_open): En/disable long section names
606 for main output bfd by calling pe_output_file_set_long_section_names.
607 * pep.em (enum options): Extend enum with new getopt option values.
608 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
609 (gld_${EMULATION_NAME}_list_options): Describe them.
610 (gld${EMULATION_NAME}_handle_option): Set or clear global
611 pe_use_coff_long_section_names flag when options recognised.
612 (gld_${EMULATION_NAME}_after_open): En/disable long section names
613 for main output bfd by calling pep_output_file_set_long_section_names.
614
615 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
616
617 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
618 inadvertent .reloc sections caused by refactoring accident.
619
620 2009-02-16 Alan Modra <amodra@bigpond.net.au>
621
622 * ldlang.c (process_insert_statements): ASSERT that output section
623 statements are in order.
624
625 2009-02-16 Alan Modra <amodra@bigpond.net.au>
626
627 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
628 (stat_save, stat_save_ptr): New variables.
629 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
630 (load_symbols): Likewise. Delete dead "bad_load" code.
631 (open_input_bfds): Warn on script containing output sections.
632 (lang_enter_output_section_statement): Use push_stat_ptr.
633 (lang_enter_group): Likewise.
634 (lang_leave_output_section_statement): Use pop_stat_ptr.
635 (lang_leave_group): Likewise.
636 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
637 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
638 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
639 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
640 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
641 * emultempl/spuelf.em (spu_place_special_section): Likewise.
642 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
643
644 2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
645
646 Missing piece of 2009-01-26 commit
647 * ldlang.c (lang_process): Don't consider relocatable flag when
648 checking for overlap.
649
650 2009-02-05 Joseph Myers <joseph@codesourcery.com>
651
652 * emulparams/m68kelf.sh: Add newline at end of file.
653
654 2009-02-04 Nick Clifton <nickc@redhat.com>
655
656 PR 9805
657 * ld.texinfo (--allow-shlib-undefined): Correct description of
658 default settings and tidy up the rest of the entry.
659
660 2009-02-04 Alan Modra <amodra@bigpond.net.au>
661
662 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
663 during relocatable link.
664
665 2009-02-03 Nick Clifton <nickc@redhat.com>
666
667 PR 9797
668 * ld.texinfo (Constants): Document the base-encoding suffixes
669 supported in linker scripts.
670
671 2009-02-03 Alan Modra <amodra@bigpond.net.au>
672
673 * NEWS: Mention --as-needed change.
674
675 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
676
677 * configure.in: AC_SUBST pdfdir.
678 * Makefile.am: Add install-pdf, install-pdf-am,
679 and install-pdf-recursive targets. Define pdf__strip_dir.
680 * po/Make-in: Add install-pdf target.
681 * configure: Regenerate.
682 * Makefile.in: Regenerate.
683
684 2009-01-31 Alan Modra <amodra@bigpond.net.au>
685
686 * ld.texinfo (--as-needed): Update.
687
688 2009-01-29 Andrew Jenner <andrew@codesourcery.com>
689
690 * emultempl/armelf.em: Correct formatting of help text for
691 --no-enum-size-warning option.
692
693 2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
694
695 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
696 * ld.h (args_type): Make check_section_addresses a char.
697 * ldmain.c (main): Default check_section_addresses to -1. Check it
698 for relocatable links.
699 * ld.texinfo (--check-sections): Update documentation.
700
701 2009-01-26 Kai Tietz <kai.tietz@onevision.com>
702
703 * pe-dll.c (tmp_seq2): New static variable.
704 (make_singleton_name_imp): New.
705 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
706 avoid duplicate import table generation for same symbol.
707 (pe_create_runtime_relocator_reference): Make reference for
708 64-bit 8 bytes.
709
710 2009-01-21 Alan Modra <amodra@bigpond.net.au>
711
712 * emultempl/spuelf.em (params): Init new field.
713 (OPTION_SPU_NON_IA_TEXT): Define.
714 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
715 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
716
717 2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
718
719 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
720 (ld_options): Add -Ttext-segment.
721 (parse_args): Handle OPTION_TTEXT_SEGMENT.
722
723 * ld.texinfo: Document -Ttext-segment.
724
725 * NEWS: Mention -Ttext-segment.
726
727 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
728 (SHLIB_TEXT_START_ADDR): Likewise.
729
730 2009-01-13 Alan Modra <amodra@bigpond.net.au>
731
732 * emultempl/spu_icache.o_c: Regenerate.
733
734 2009-01-12 Alan Modra <amodra@bigpond.net.au>
735
736 * emultempl/spuelf.em (params): Init new fields.
737 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
738 (spu_place_special_section): Adjust placement for soft-icache. Pad
739 soft-icache section to a fixed size. Clear addr_tree.
740 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
741 sections a little more intelligently.
742 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
743 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
744 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
745 (OPTION_SPU_LRLIVE): Define.
746 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
747 (PARSE_AND_LIST_OPTIONS): Likewise.
748 (PARSE_AND_LIST_ARGS_CASES): Handle them.
749 * emultempl/spu_icache.S: Dummy file.
750 * emultempl/spu_icache.o_c: Regenerate.
751 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
752 (spu_icache.o_c): Add rule to build.
753 (CLEANFILES): Zap temp files.
754 (EXTRA_DIST): Add spu_icache.o_c.
755 * Makefile.in: Regenerate.
756
757 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
758
759 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
760 (gld..._add_options): Add new option
761 --use-nul-prefixed-import-tables.
762 (gld..._handle_option): Likewise.
763 * pep.em: Same as for pe.em.
764 * ld.texinfo: Add new option documentation for
765 --use-nul-prefixed-import-tables.
766 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
767 (make_head): Make prefix leading zero prefix element for
768 idata$4 and idata$5 dependent to new flag.
769 (make_import_fixup_entry): Remove idata4/5 prefix.
770 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
771 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
772 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
773 * NEWS: Add new option.
774
775 2009-01-05 Kai Tietz <kai.tietz@onevision.com>
776
777 * emultempl/pe.em: Prefix dollar characters to be outputed in
778 generated C file.
779 * emultempl/pep.em: Likewise.
780
781 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
782
783 * NEWS: Mention new feature --exclude-modules-for-implib.
784 * ld.texinfo: Document new --exclude-modules-for-implib option.
785 * pe-dll.c (exclude_list_struct): Change type member from int to
786 new enumeration exclude_type.
787 (pe_dll_add_excludes): Accept exclude_type instead of int param.
788 (auto_export): Replace magic constants by exclude_type values and
789 handle new choice EXCLUDEFORIMPLIB.
790 (pe_dll_generate_implib): Accept a pointer to the link_info and
791 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
792 fresh BFDs for any found and link into import lib archive chain.
793 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
794 constants previously used for exclude_list_struct type member.
795 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
796 * pep-dll.h (exclude_type, pe_dll_add_excludes,
797 pe_dll_generate_implib): Likewise to all the above.
798 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
799 getopts long option code for new --exclude-modules-for-implib option.
800 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
801 (gld_${EMULATION_NAME}_list_options): List usage for it.
802 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
803 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
804 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
805 calling pe_dll_generate_implib.
806 * emultempl/pep.em (options): Define new enumerated value for getopts
807 long option code for new --exclude-modules-for-implib option.
808 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
809 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
810 Again, likewise to all the above.
811
812 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
813
814 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
815 (libnamencmp): New function.
816 (auto_export): Use it in place of strncmp when filtering libraries.
817
818 For older changes see ChangeLog-2008
819 \f
820 Local Variables:
821 mode: change-log
822 left-margin: 8
823 fill-column: 74
824 version-control: never
825 End:
This page took 0.047193 seconds and 5 git commands to generate.