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