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