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