Add support for Xilinx MicroBlaze processor.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7ba29e2a
NC
12009-08-06 Michael Eager <eager@eagercon.com>
2
3 * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
4 ALL_EMULATIONS, targets.
5 * Makefile.in: Regenerate.
6 * configure.tgt: Add microblaze*-linux*, microblaze* targets.
7 * emulparams/elf32mb_linux.sh: New.
8 * emulparams/elf32microblaze.sh. New.
9 * scripttempl/elfmicroblaze.sc: New.
10
9cc305ec
TS
112009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
12
13 * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
14 section and __fixup_start symbol.
15 * emultempl/spuelf.em (params): Initialize emit_fixups member.
16 (spu_before_allocation): Call spu_elf_size_sections.
17 (OPTION_SPU_EMIT_FIXUPS): Define.
18 (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
19 (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
20 * ld.texinfo (--emit-fixups): Document.
21
07088e95
AM
222009-08-04 Alan Modra <amodra@bigpond.net.au>
23
24 PR 10474
25 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
26 not size, after lang_reset_memory_regions.
27
8dfab6dd
AM
282009-07-30 Alan Modra <amodra@bigpond.net.au>
29
30 * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
31 * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
32 * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
33 * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
34 when !IREL_IN_PLT.
35
18c32df5
HPN
362009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
37
38 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
39 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
40 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
41 (ENTRY): Don't emit for relocateable links.
42 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
43 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
44 elf64-mmix.
45 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
46 provide "Main" or set "_start.", for relocateable links.
47
c38fbd5c
NC
482009-07-27 Nick Clifton <nickc@redhat.com>
49
50 * (po/fi.po): Updated Finnish translation.
51
8a9036a4
L
522009-07-25 H.J. Lu <hongjiu.lu@intel.com>
53
54 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
55 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
56 (targ_extra_emuls): Likewise.
57
58 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
59 eelf_l1om_fbsd.o
60 (eelf_l1om.c): New.
61 (eelf_l1om_fbsd.c): Likewise.
62 * Makefile.in: Regenerated.
63
64 * emulparams/elf_l1om.sh: New.
65 * emulparams/elf_l1om_fbsd.sh: Likewise.
66
3e7a7d11
NC
672009-07-23 Ulrich Drepper <drepper@redhat.com>
68
69 * NEWS: Mention the linker's support for symbols with a binding of
70 STB_GNU_UNIQUE.
71
249b2a84
L
722009-07-22 H.J. Lu <hongjiu.lu@intel.com>
73
74 PR ld/10429
75 * ldlang.c (insert_os_after): Tie assignments to non-alloc
76 output sections if there is no-input section.
77
0fa4d7cf
AM
782009-07-11 Alan Modra <amodra@bigpond.net.au>
79
80 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
81 output sections.
82
4135c73b
AM
832009-07-10 Alan Modra <amodra@bigpond.net.au>
84
85 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
86 linker relaxation if it might be necessary.
87
e054468f
AM
882009-07-10 Alan Modra <amodra@bigpond.net.au>
89
90 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
91
07d8eb55
NC
922009-07-06 Matthias Klose <doko@ubuntu.com>
93
249b2a84 94 * ld.texinfo: Fix typo.
07d8eb55 95
27505b5d
TG
962009-07-03 Tristan Gingold <gingold@adacore.com>
97
98 * scripttempl/pep.sc: Put .eh_frame in its own section.
99 * scripttempl/pe.sc: Ditto.
100
a626fe20
KT
1012009-06-26 Kai Tietz <kai.tietz@onevision.com>
102
103 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
104 * scripttempl/pep.sc: Likewise.
105
d64703c6
TG
1062009-06-25 Tristan Gingold <gingold@adacore.com>
107
108 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
109 prototype.
110 (lang_map): Print the size of discarded sections.
111 (print_statement): Adjust call to print_input_section.
112
361dff73
DK
1132009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
114
32425da9 115 Merge cegcc and mingw32ce target name changes from CeGCC project:
361dff73 116
32425da9 117 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
361dff73
DK
118
119 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
120 ${tooldir}/lib/w32api.
121
32425da9 122 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
123
124 * configure.tgt: Add arm*-*-cegcc* target.
125
32425da9 126 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
127
128 * configure.tgt: Add arm-*-mingw32ce* target.
129
f3711133
PB
1302009-06-10 Philip Blundell <philb@gnu.org>
131
132 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
133 if section has no ELF data.
134
2a81c24a
L
1352009-06-06 H.J. Lu <hongjiu.lu@intel.com>
136
137 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
138
fc1e8789
L
1392009-06-05 H.J. Lu <hongjiu.lu@intel.com>
140
141 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
142
67a648f1
AM
1432009-06-04 Alan Modra <amodra@bigpond.net.au>
144
145 * dep-in.sed: Don't use \n in replacement part of s command.
146 * Makefile.am (DEP1): LC_ALL for uniq.
147 * Makefile.in: Regenerate.
148
3aa14d16
L
1492009-06-01 H.J. Lu <hongjiu.lu@intel.com>
150
151 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
152 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
153 (GOTPLT): Add "*(.igot)".
154 (__rel_iplt_start): New.
155 (__rel_iplt_end): Likewise.
156 (__rela_iplt_start): Likewise.
157 (__rela_iplt_end): Likewise.
158
05056a8d
DK
1592009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
160
161 * deffilep.y (%union): Add new string-type semantic value 'digits'.
162 (%token): Remove NUMBER as token, add DIGITS.
163 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
164 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
165 (anylang_id): New production.
166 (opt_digits): Likewise.
167 (opt_id): Likewise.
168 (NUMBER): Likewise.
169 (def_lex): Return strings of digits in raw string form as DIGITS
170 token, instead of converting to numeric integer type.
171
c8a1f254
NS
1722009-05-26 Nathan Sidwell <nathan@codesourcery.com>
173
174 * ldmain.c (main): Don't reject --relax -r.
175 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
176 partial links.
177
f12e7348
NC
1782009-05-26 Nick Clifton <nickc@redhat.com>
179
180 * po/id.po: Updated Indonesian translation.
181 * po/ld.pot: Updated template file.
182
00f3247a
AM
1832009-05-26 Alan Modra <amodra@bigpond.net.au>
184
185 * dep-in.sed: Output one filename per line with all lines having
186 continuation backslash. Prefix first line with "A", following
187 lines with "B".
188 * Makefile.am (DEP): Don't use dep.sed here.
189 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
190 sort and uniq.
191 * Makefile.in: Regenerate.
192
e50d6125
AM
1932009-05-26 Alan Modra <amodra@bigpond.net.au>
194
195 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
196
48229727
JB
1972009-05-22 Julian Brown <julian@codesourcery.com>
198
199 * emultempl/armelf.em (fix_cortex_a8): New.
200 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
201 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
202 bfd_elf32_arm_set_target_relocs.
203 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
204 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
205 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
206 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
207 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
208
ec6d26be
NS
2092009-05-22 Nathan Sidwell <nathan@codesourcery.com>
210
211 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
212 sections when checking for overlap. Clarify error message
213 concerns load address.
214
2b3decb5
AM
2152009-05-22 Alan Modra <amodra@bigpond.net.au>
216
217 * Makefile.am: Run "make dep-am".
218 * Makefile.in: Regenerate.
219
c1711530
DK
2202009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
221
222 * NEWS: Mention new feature.
223 * deffile.h (def_file_aligncomm): Add new struct definition.
224 (def_file): Add new def_file_aligncomm member.
225 * deffilep.y (%token): Add new ALIGNCOMM token.
226 (command): Add production rule for ALIGNCOMM.
227 (def_file_free): Free any chained def_file_aligncomm structs.
228 (diropts[]): Add entry for '-aligncomm' .drectve command.
229 (def_aligncomm): New grammar function.
230 * ld.texinfo: Document new feature.
231 * pe-dll.c (process_def_file): Rename from this ...
232 (process_def_file_and_drectve): ... to this, updating all callers,
233 and process any aligncomms chained to the def file after scanning
234 all .drectve sections.
235 (generate_edata): Updated to match.
236 (pe_dll_build_sections): Likewise.
237
b982bd05 2382009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177b81d6
DK
239
240 * pe-dll.c (process_def_file): Do not create empty export table.
241
d127ecce
AM
2422009-05-15 Alan Modra <amodra@bigpond.net.au>
243
244 * ldlang.c (lang_output_section_statement_lookup): Add function
245 comment. Make "name" non-const. Ensure duplicate entries use
246 the same string, allowing simple comparison in hash bucket loop.
247 Tweak constraint check.
248 (next_matching_output_section_statement): New function.
249 * ldlang.h (lang_output_section_statement_lookup): Update.
250 (next_matching_output_section_statement): Declare.
251 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
252 combine orphan sections when input sections flags differ in
253 alloc or load.
254 * emultempl/pe.em: Formatting throughout.
255 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
256 * emultempl/pep.em: Formatting throughout.
257 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
258
cdc83fba
UW
2592009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
260
261 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
262 compact stubs with software i-cache.
263
bbb0fc04
AM
2642009-05-14 Alan Modra <amodra@bigpond.net.au>
265
266 * emultempl/spuelf.em (spu_before_allocation): Call
267 spu_elf_place_overlay_data.
268
011aa75f
AM
2692009-05-14 Alan Modra <amodra@bigpond.net.au>
270
271 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
272 assignment inside output section statement. Ensure only one
273 set of symbols per output section.
274 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
275 dollar sections before dollar sections. Correct add_child
276 list insertion.
277 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
278
2468f9c9
PB
2792009-05-05 Paul Brook <paul@codesourcery.com>
280
281 * emultempl/armelf.em (compare_output_sec_vma): New function.
282 (gld${EMULATION_NAME}_finish): Add exidx munging code.
283
84f1b567
NC
2842009-05-05 Anatoly Sokolov <aesok@post.ru>
285
286 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
287 * emulparams/avr1.sh (DATA_ORIGIN): Add.
288 * emulparams/avr2.sh (DATA_ORIGIN): Add.
289 * emulparams/avr25.sh (DATA_ORIGIN): Add.
290 * emulparams/avr3.sh (DATA_ORIGIN): Add.
291 * emulparams/avr31.sh (DATA_ORIGIN): Add.
292 * emulparams/avr35.sh (DATA_ORIGIN): Add.
293 * emulparams/avr4.sh (DATA_ORIGIN): Add.
294 * emulparams/avr5.sh (DATA_ORIGIN): Add.
295 * emulparams/avr51.sh (DATA_ORIGIN): Add.
296 (DATA_LENGTH): Update.
297 * emulparams/avr6.sh (DATA_ORIGIN): Add.
298 (DATA_LENGTH): Update.
299
09e2aba4
DK
3002009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
301
302 * NEWS: Mention new feature.
303 * ld.texinfo (--version-script): Document extent of PE support.
304 (WIN32): Mention --version-script. Extend auto-export description.
305 * pe-dll.c (process_def_file): Use version script info to filter
306 symbols from auto-export.
307 * testsuite/ld-pe/vers-script-1.d: New file.
308 * testsuite/ld-pe/vers-script-2.d: New file.
309 * testsuite/ld-pe/vers-script-3.d: New file.
310 * testsuite/ld-pe/vers-script-4.d: New file.
311 * testsuite/ld-pe/vers-script-1.ver: New file.
312 * testsuite/ld-pe/vers-script-2.ver: New file.
313 * testsuite/ld-pe/vers-script-3.ver: New file.
314 * testsuite/ld-pe/vers-script-4.ver: New file.
315 * testsuite/ld-pe/vers-script-dll.c: New file.
316 * testsuite/ld-pe/vers-script.exp: New test script.
317
1f7f5cbe
NS
3182009-05-01 Nathan Sidwell <nathan@codesourcery.com>
319
320 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
321
d8045f23
NC
3222009-04-30 Nick Clifton <nickc@redhat.com>
323
324 * NEWS: Mention support for IFUNC symbols.
325
efaf18f3
AG
3262009-04-29 Anthony Green <green@moxielogic.com>
327
328 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
329 position out to accommodate larger programs.
330
267e2722
CD
3312009-04-29 Chris Demetriou <cgd@google.com>
332
333 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
334 (ld_options): Likewise.
335 (parse_args): Likewise.
336 * ld.texinfo: Document --no-export-dynamic.
337 * NEWS: Mention --no-export-dynamic.
338
8e58566f
AM
3392009-04-29 Alan Modra <amodra@bigpond.net.au>
340
341 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
342
f50230ae
AM
3432009-04-25 Alan Modra <amodra@bigpond.net.au>
344
345 PR 10061
346 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
347 param.
348
3e6b1042
DJ
3492009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
350
351 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
352 (arm_elf_set_bfd_for_interworking): Delete.
353 (arm_elf_before_allocation): Do not set the interworking BFD.
354 Move allocation inside not-dynamic block.
355 (arm_elf_create_output_section_statements): Create glue sections
356 and set the interworking BFD here.
357 (LDEMUL_AFTER_OPEN): Delete.
358
3023e3f6
RS
3592009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
360
361 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
362
20135e4c
NC
3632009-04-15 Anthony Green <green@moxielogic.com>
364
365 * configure.tgt: Add moxie support.
366 * Makefile.am: Add moxie files.
367 * Makefile.in: Rebuilt.
368 * emulparams/elf32moxie.sh: New file.
369 * scripttempl/moxie.sc: New file.
370
39e65143
KH
3712009-04-15 Kazu Hirata <kazu@codesourcery.com>
372
373 * ldlang.c: Do not include limits.h.
374
c38b10fa
AM
3752009-04-14 Alan Modra <amodra@bigpond.net.au>
376
377 PR ld/10047
378 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
379 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
380
8c3e16f4
L
3812009-04-13 H.J. Lu <hongjiu.lu@intel.com>
382
383 * ldfile.c (ldfile_find_command_file): Revert the last change.
384
6dc6e834
L
3852009-04-11 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR ld/10047
388 * ldfile.c (ldfile_find_command_file): First try raw name.
389
0c71d759
NC
3902009-04-09 Nick Clifton <nickc@redhat.com>
391
392 PR 9824
393 * ld.texinfo (Output Section Constraint): New node. Documents the
394 ONLY_IF_RO and ONLY_IF_RW constraints.
395 (Symbolic Constants): New node. Documents the CONSTANT operator.
396
fc15a272
AM
3972009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
398
399 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
400 of fork/execvp.
401
a0c402a5
L
4022009-04-08 H.J. Lu <hongjiu.lu@intel.com>
403
404 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
405 (ld_options): Likewise.
406 (parse_args): Likewise.
407
408 * ld.texinfo: Document --warn-alternate-em.
409
410 * NEWS: Mention --warn-alternate-em.
411
4d28413b
DD
4122009-04-07 DJ Delorie <dj@redhat.com>
413
414 * emulparams/elf32mep.sh: Change default endian to little.
415
6ce340f1
NC
4162009-04-07 Nick Clifton <nickc@redhat.com>
417
418 * ld.texinfo (Output Section Address): Note that specifying an
419 address for an output section will only change the location
420 counter if the output section is used.
421
32252ac1
KH
4222009-04-06 Kazu Hirata <kazu@codesourcery.com>
423
424 * ldfile.c (ldfile_find_command_file): Initialize result.
425
7d24f02c
KH
4262009-04-06 Kazu Hirata <kazu@codesourcery.com>
427
428 * ld.texinfo (-L): Mention that -L options do not affect how ld
429 searches for a linker script unless -T option is specified.
430 * ldfile.c (ldfile_find_command_file): Append the path obtained
431 from the program name to the search path instead of
432 prepending. Add a new parameter "default_only". Restrict the
433 search to the default script location if the new parameter is
434 true.
435 (ldfile_open_command_file_1): New.
436 (ldfile_open_command_file): Call ldfile_open_command_file_1.
437 (ldfile_open_default_command_file): New.
438
113e6845
NS
4392009-04-03 Nathan Sidwell <nathan@codesourcery.com>
440
441 * ldlang.c (lang_leave_output_section_statement): Set lma_region
442 if it is not overridden and section is for the same vma region as
443 the previous section.
444
8b747e1a
DK
4452009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
446
447 PR ld/6744
448 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
449 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
450 warning if --export-dynamic was passed on command-line.
451 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
452
24c611d1
RS
4532009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
454
455 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
456 function.
457 (ld_${EMULATION_NAME}_emulation): Use it.
458
4bf27aa9
L
4592009-03-20 H.J. Lu <hongjiu.lu@intel.com>
460
461 PR ld/9970
462 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
463
ad2adbc8
AM
4642009-03-19 Alan Modra <amodra@bigpond.net.au>
465
466 * emultempl/spuelf.em (spu_before_allocation): Report errors from
467 spu_elf_find_overlays.
468
e9dfee34
L
4692009-03-18 H.J. Lu <hongjiu.lu@intel.com>
470
471 PR ld/6766
472 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
473
8d25cc3d
AM
4742009-03-18 Alan Modra <amodra@bigpond.net.au>
475
476 * ld.h: Remove alloca handling.
477
a7e11ee1
AM
4782009-03-17 Alan Modra <amodra@bigpond.net.au>
479
480 * emultempl/spu_icache.S: Add new entry to dummy handler.
481 * emultempl/spu_icache.o_c: Regenerate.
482 * emultempl/spuelf.em (params): Init new field.
483 (no_overlays): New static var.
484 (spu_before_allocation): Use it.
485 (OPTION_SPU_COMPACT_STUBS): Define.
486 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
487 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
488 handling.
489
bba21f15
AM
4902009-03-17 Alan Modra <amodra@bigpond.net.au>
491
492 * configure.host (HOSTING_LIBS): Two dollars on shell variable
493 expansion to suit make.
494
eccbf555
AM
4952009-03-17 Alan Modra <amodra@bigpond.net.au>
496
497 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
498 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
499 * aclocal.m4: Regenerate.
500 * configure: Regenerate.
501 * Makefile.in: Regenerate.
502
b64232cc
RS
5032009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
504
505 * emultempl/aix.em (auto_export_flags): New variable.
506 (explicit_auto_export_flags): Likewise.
507 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
508 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
509 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
510 -bnoexpall and -bnoexpfull.
511 (gld${EMULATION_NAME}_handle_option): Handle them.
512 (gld${EMULATION_NAME}_before_allocation): Update the call to
513 bfd_size_dynamic_sections.
514
858ef0ce
RS
5152009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
516
517 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
518 -berok and -bernotok control link_info.unresolved_syms_in_objects
519 and link_info.unresolved_syms_in_shared_libs instead of
520 force_make_executable.
521
62008a16
RS
5222009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
523
524 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
525 config.dynamic_link to TRUE.
526
9ec59d51
RS
5272009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
528
529 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
530 .text, .data and .bss output sections as SEC_KEEP.
531
e5231592
RS
5322009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
533
534 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
535
2f563b51 5362009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
249b2a84 537 Danny Smith <dannysmith@users.sourceforge.net>
2f563b51
DK
538
539 * emultmpl/pe.em (pe_dll_characteristics): New variable.
540 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
541 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
542 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
543 New macros for options to set DllCharacteristics flag bits.
544 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
545 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
546 (init): Add DllCharacteristics field.
547 (gld_${EMULATION_NAME}_list_options): List new options.
548 (gld${EMULATION_NAME}_handle_option): Handle new options.
549 * emultmpl/pep.em (pe_dll_characteristics): New variable.
550 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
551 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
552 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
553 New macros for options to set DllCharacteristics flags.
554 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
555 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
556 (init): Add DllCharacteristics field.
557 (gld_${EMULATION_NAME}_list_options): List new options.
558 (gld${EMULATION_NAME}_handle_option): Handle new options.
559 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
560 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
561
d11fd249
NC
5622009-03-06 Nick Clifton <nickc@redhat.com>
563
564 * po/es.po: Updated Spanish translation.
565
3efd345c
DK
5662009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
567
568 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
569 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
570 of all input BFDs, looking for debug info. Enable long section names
571 if any found.
572 * emultempl/pe.em (debug_section_p): Likewise.
573 (gld_${EMULATION_NAME}_after_open): Likewise.
574 * NEWS: Retrospectively adjust news announcement.
575 * ld.texinfo: Update documentation to mention new behaviour.
576
a1f7ca36
AM
5772009-03-03 Alan Modra <amodra@bigpond.net.au>
578
579 * Makefile.am: Run "make dep-am".
580 * Makefile.in: Regenerate.
581
4a93e180
NC
5822009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
583
584 * ldgram.y: Add support for REGION_ALIAS operator.
585 * ldlang.c: Likewise.
586 * ldlang.h: Likewise.
587 * ldlex.l: Likewise.
588 * NEWS: Mention the new feature.
589 * ld.texinfo: Document the new feature.
590
c3b7224a
NC
5912009-03-02 Qinwei <qinwei@sunnorth.com.cn>
592
593 * Makefile.am: Replace score elf emulation with score3 and score7
594 emulations.
595 * Makefile.in: Regenerate,
596 * NEWS: Mention support for Score7 architecture.
597 * configure.tgt: Add score7 emulation to score-elf target.
598 * emulparams/scoreelf.sh: Add score7 support.
599 * emultempl/scoreelf.em: Likewise.
600
d1bbb13a
DA
6012009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
602
603 * configure.tgt: Only use elf64hppa target emulation for hpux.
604 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
605 (SCRIPT_NAME): Use new script elf64hppa.
606 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
607 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
608 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
609 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
610 TEXT_DYNAMIC): Define.
611 * emulparams/hppa64linux.sh: Adjust comments.
612 * scripttempl/elf64hppa.sc: New file.
613
58e24671
RW
6142009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
615
616 * configure: Regenerate.
617
5b9c6027
DK
6182009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
619
620 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
621 default state of auto-import flag based on $target.
622
07d72278
DJ
6232009-02-24 Joseph Myers <joseph@codesourcery.com>
624
625 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
626 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
627 (elf32_arm_add_stub_section): Update comment.
628 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
629
2509a395
SL
6302009-02-24 Sandra Loosemore <sandra@codesourcery.com>
631
632 * ld.texinfo (Options): Correct typos in example. Recommend
633 using joined forms of syntax for passing options with arguments
634 from a driver.
635 (-a): Use consistent syntax for documenting option arguments.
636 Clean up indexing and markup.
637 (-A/--architecture): Likewise.
638 (-f/--auxiliary): Likewise.
639 (-F/--filter): Likewise.
640 (-fini): Likewise.
641 (-G/--gpsize): Likewise.
642 (-h/-soname):Likewise.
643 (-init): Likewise.
644 (-l/--library): Likewise.
645 (-L/--library-path): Likewise.
646 (-m): Likewise.
647 (--defsym): Likewise.
648 (-I/--dynamic-linker): Likewise.
649 (-Map): Likewise.
650 (--oformat): Likewise.
651 (--retain-symbols-file): Likewise.
652 (-rpath): Likewise.
653 (-rpath-link): Likewise.
654 (--sort-common): Likewise.
655 (--sort-section): Likewise.
656 (--split-by-file): Likewise.
657 (--split-by-reloc): Likewise.
658 (--sysroot): Likewise.
659 (--section-start): Likewise.
660 (-Tbss, -Tdata, -Ttext): Likewise.
661 (-Ttext-segment): Likewise.
662 (--version-script): Likewise.
663 (--wrap): Likewise.
664
44cf6883 6652009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
666
667 * ld.texinfo: Update to mention long section name options.
668 * NEWS: Mention new behaviour and command-line options.
669 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
670 (pe_output_file_set_long_section_names): New function.
671 (pe_dll_build_sections): Call it on output BFDs.
672 (pe_exe_build_sections): Likewise.
673 (pe_dll_fill_sections): Likewise.
674 (pe_exe_fill_sections): Likewise.
675 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
676 (pe_output_file_set_long_section_names): Add prototype.
677 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
678 (pe_output_file_set_long_section_names): Likewise.
679 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
680 (pep_output_file_set_long_section_names): Add prototype.
681 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
682 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
683 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
684 (gld_${EMULATION_NAME}_list_options): Describe them.
685 (gld${EMULATION_NAME}_handle_option): Set or clear global
686 pe_use_coff_long_section_names flag when options recognised.
687 (gld_${EMULATION_NAME}_after_open): En/disable long section names
688 for main output bfd by calling pe_output_file_set_long_section_names.
689 * pep.em (enum options): Extend enum with new getopt option values.
690 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
691 (gld_${EMULATION_NAME}_list_options): Describe them.
692 (gld${EMULATION_NAME}_handle_option): Set or clear global
693 pe_use_coff_long_section_names flag when options recognised.
694 (gld_${EMULATION_NAME}_after_open): En/disable long section names
695 for main output bfd by calling pep_output_file_set_long_section_names.
696
1491f1f0
DK
6972009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
698
699 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
700 inadvertent .reloc sections caused by refactoring accident.
701
d2ae7be0
AM
7022009-02-16 Alan Modra <amodra@bigpond.net.au>
703
704 * ldlang.c (process_insert_statements): ASSERT that output section
705 statements are in order.
706
bde18da4
AM
7072009-02-16 Alan Modra <amodra@bigpond.net.au>
708
709 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
710 (stat_save, stat_save_ptr): New variables.
711 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
712 (load_symbols): Likewise. Delete dead "bad_load" code.
713 (open_input_bfds): Warn on script containing output sections.
714 (lang_enter_output_section_statement): Use push_stat_ptr.
715 (lang_enter_group): Likewise.
716 (lang_leave_output_section_statement): Use pop_stat_ptr.
717 (lang_leave_group): Likewise.
718 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
719 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
720 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
721 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
722 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
723 * emultempl/spuelf.em (spu_place_special_section): Likewise.
724 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
725
662ef24b
NS
7262009-02-09 Nathan Sidwell <nathan@codesourcery.com>
727
728 Missing piece of 2009-01-26 commit
729 * ldlang.c (lang_process): Don't consider relocatable flag when
730 checking for overlap.
731
268e4015
JM
7322009-02-05 Joseph Myers <joseph@codesourcery.com>
733
734 * emulparams/m68kelf.sh: Add newline at end of file.
735
903249d7
NC
7362009-02-04 Nick Clifton <nickc@redhat.com>
737
738 PR 9805
739 * ld.texinfo (--allow-shlib-undefined): Correct description of
740 default settings and tidy up the rest of the entry.
741
df636c05
AM
7422009-02-04 Alan Modra <amodra@bigpond.net.au>
743
744 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
745 during relocatable link.
746
8a308ae8
NC
7472009-02-03 Nick Clifton <nickc@redhat.com>
748
749 PR 9797
750 * ld.texinfo (Constants): Document the base-encoding suffixes
751 supported in linker scripts.
752
28024d9d
L
7532009-02-03 Alan Modra <amodra@bigpond.net.au>
754
755 * NEWS: Mention --as-needed change.
756
31dd3154
JM
7572009-02-03 Carlos O'Donell <carlos@codesourcery.com>
758
759 * configure.in: AC_SUBST pdfdir.
760 * Makefile.am: Add install-pdf, install-pdf-am,
761 and install-pdf-recursive targets. Define pdf__strip_dir.
762 * po/Make-in: Add install-pdf target.
763 * configure: Regenerate.
764 * Makefile.in: Regenerate.
765
010e5ae2
AM
7662009-01-31 Alan Modra <amodra@bigpond.net.au>
767
768 * ld.texinfo (--as-needed): Update.
769
893dcb0e
JM
7702009-01-29 Andrew Jenner <andrew@codesourcery.com>
771
772 * emultempl/armelf.em: Correct formatting of help text for
773 --no-enum-size-warning option.
774
02b0b1aa
NS
7752009-01-26 Nathan Sidwell <nathan@codesourcery.com>
776
777 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
778 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
779 * ldmain.c (main): Default check_section_addresses to -1. Check it
780 for relocatable links.
781 * ld.texinfo (--check-sections): Update documentation.
782
9382254d
KT
7832009-01-26 Kai Tietz <kai.tietz@onevision.com>
784
785 * pe-dll.c (tmp_seq2): New static variable.
786 (make_singleton_name_imp): New.
787 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
788 avoid duplicate import table generation for same symbol.
789 (pe_create_runtime_relocator_reference): Make reference for
790 64-bit 8 bytes.
791
fb266b8b
AM
7922009-01-21 Alan Modra <amodra@bigpond.net.au>
793
794 * emultempl/spuelf.em (params): Init new field.
795 (OPTION_SPU_NON_IA_TEXT): Define.
796 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
797 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
798
258795f5
L
7992009-01-16 H.J. Lu <hongjiu.lu@intel.com>
800
801 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
802 (ld_options): Add -Ttext-segment.
803 (parse_args): Handle OPTION_TTEXT_SEGMENT.
804
805 * ld.texinfo: Document -Ttext-segment.
806
807 * NEWS: Mention -Ttext-segment.
808
809 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
810 (SHLIB_TEXT_START_ADDR): Likewise.
811
8d8047c4
AM
8122009-01-13 Alan Modra <amodra@bigpond.net.au>
813
814 * emultempl/spu_icache.o_c: Regenerate.
815
cd4a7468
AM
8162009-01-12 Alan Modra <amodra@bigpond.net.au>
817
818 * emultempl/spuelf.em (params): Init new fields.
819 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
820 (spu_place_special_section): Adjust placement for soft-icache. Pad
821 soft-icache section to a fixed size. Clear addr_tree.
822 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
823 sections a little more intelligently.
824 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
825 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
826 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
827 (OPTION_SPU_LRLIVE): Define.
828 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
829 (PARSE_AND_LIST_OPTIONS): Likewise.
830 (PARSE_AND_LIST_ARGS_CASES): Handle them.
831 * emultempl/spu_icache.S: Dummy file.
832 * emultempl/spu_icache.o_c: Regenerate.
833 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
834 (spu_icache.o_c): Add rule to build.
835 (CLEANFILES): Zap temp files.
836 (EXTRA_DIST): Add spu_icache.o_c.
837 * Makefile.in: Regenerate.
838
ce11ba6c
KT
8392009-01-08 Kai Tietz <kai.tietz@onevision.com>
840
841 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
842 (gld..._add_options): Add new option
843 --use-nul-prefixed-import-tables.
844 (gld..._handle_option): Likewise.
845 * pep.em: Same as for pe.em.
846 * ld.texinfo: Add new option documentation for
847 --use-nul-prefixed-import-tables.
848 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
849 (make_head): Make prefix leading zero prefix element for
850 idata$4 and idata$5 dependent to new flag.
851 (make_import_fixup_entry): Remove idata4/5 prefix.
852 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
853 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
854 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
855 * NEWS: Add new option.
856
d34c1c51
KT
8572009-01-05 Kai Tietz <kai.tietz@onevision.com>
858
859 * emultempl/pe.em: Prefix dollar characters to be outputed in
860 generated C file.
861 * emultempl/pep.em: Likewise.
862
e1c37eb5
DK
8632009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
864
865 * NEWS: Mention new feature --exclude-modules-for-implib.
866 * ld.texinfo: Document new --exclude-modules-for-implib option.
867 * pe-dll.c (exclude_list_struct): Change type member from int to
868 new enumeration exclude_type.
869 (pe_dll_add_excludes): Accept exclude_type instead of int param.
870 (auto_export): Replace magic constants by exclude_type values and
871 handle new choice EXCLUDEFORIMPLIB.
872 (pe_dll_generate_implib): Accept a pointer to the link_info and
873 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
874 fresh BFDs for any found and link into import lib archive chain.
875 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
876 constants previously used for exclude_list_struct type member.
877 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
878 * pep-dll.h (exclude_type, pe_dll_add_excludes,
879 pe_dll_generate_implib): Likewise to all the above.
880 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
881 getopts long option code for new --exclude-modules-for-implib option.
882 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
883 (gld_${EMULATION_NAME}_list_options): List usage for it.
884 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
885 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
886 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
887 calling pe_dll_generate_implib.
888 * emultempl/pep.em (options): Define new enumerated value for getopts
889 long option code for new --exclude-modules-for-implib option.
890 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
891 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
892 Again, likewise to all the above.
893
81b07b16 8942009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 895
81b07b16
DK
896 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
897 (libnamencmp): New function.
898 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 899
81b07b16 900For older changes see ChangeLog-2008
252b5132
RH
901\f
902Local Variables:
903mode: change-log
904left-margin: 8
905fill-column: 74
906version-control: never
907End:
This page took 0.500484 seconds and 4 git commands to generate.