* Makefile.in: Update license to GPLv3.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
a7e11ee1
AM
12009-03-17 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/spu_icache.S: Add new entry to dummy handler.
4 * emultempl/spu_icache.o_c: Regenerate.
5 * emultempl/spuelf.em (params): Init new field.
6 (no_overlays): New static var.
7 (spu_before_allocation): Use it.
8 (OPTION_SPU_COMPACT_STUBS): Define.
9 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
10 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
11 handling.
12
bba21f15
AM
132009-03-17 Alan Modra <amodra@bigpond.net.au>
14
15 * configure.host (HOSTING_LIBS): Two dollars on shell variable
16 expansion to suit make.
17
eccbf555
AM
182009-03-17 Alan Modra <amodra@bigpond.net.au>
19
20 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
21 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
22 * aclocal.m4: Regenerate.
23 * configure: Regenerate.
24 * Makefile.in: Regenerate.
25
b64232cc
RS
262009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
27
28 * emultempl/aix.em (auto_export_flags): New variable.
29 (explicit_auto_export_flags): Likewise.
30 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
31 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
32 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
33 -bnoexpall and -bnoexpfull.
34 (gld${EMULATION_NAME}_handle_option): Handle them.
35 (gld${EMULATION_NAME}_before_allocation): Update the call to
36 bfd_size_dynamic_sections.
37
858ef0ce
RS
382009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
39
40 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
41 -berok and -bernotok control link_info.unresolved_syms_in_objects
42 and link_info.unresolved_syms_in_shared_libs instead of
43 force_make_executable.
44
62008a16
RS
452009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
46
47 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
48 config.dynamic_link to TRUE.
49
9ec59d51
RS
502009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
51
52 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
53 .text, .data and .bss output sections as SEC_KEEP.
54
e5231592
RS
552009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
56
57 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
58
2f563b51
DK
592009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
60 Danny Smith <dannysmith@users.sourceforge.net>
61
62 * emultmpl/pe.em (pe_dll_characteristics): New variable.
63 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
64 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
65 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
66 New macros for options to set DllCharacteristics flag bits.
67 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
68 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
69 (init): Add DllCharacteristics field.
70 (gld_${EMULATION_NAME}_list_options): List new options.
71 (gld${EMULATION_NAME}_handle_option): Handle new options.
72 * emultmpl/pep.em (pe_dll_characteristics): New variable.
73 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
74 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
75 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
76 New macros for options to set DllCharacteristics flags.
77 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
78 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
79 (init): Add DllCharacteristics field.
80 (gld_${EMULATION_NAME}_list_options): List new options.
81 (gld${EMULATION_NAME}_handle_option): Handle new options.
82 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
83 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
84
d11fd249
NC
852009-03-06 Nick Clifton <nickc@redhat.com>
86
87 * po/es.po: Updated Spanish translation.
88
3efd345c
DK
892009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
90
91 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
92 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
93 of all input BFDs, looking for debug info. Enable long section names
94 if any found.
95 * emultempl/pe.em (debug_section_p): Likewise.
96 (gld_${EMULATION_NAME}_after_open): Likewise.
97 * NEWS: Retrospectively adjust news announcement.
98 * ld.texinfo: Update documentation to mention new behaviour.
99
a1f7ca36
AM
1002009-03-03 Alan Modra <amodra@bigpond.net.au>
101
102 * Makefile.am: Run "make dep-am".
103 * Makefile.in: Regenerate.
104
4a93e180
NC
1052009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
106
107 * ldgram.y: Add support for REGION_ALIAS operator.
108 * ldlang.c: Likewise.
109 * ldlang.h: Likewise.
110 * ldlex.l: Likewise.
111 * NEWS: Mention the new feature.
112 * ld.texinfo: Document the new feature.
113
c3b7224a
NC
1142009-03-02 Qinwei <qinwei@sunnorth.com.cn>
115
116 * Makefile.am: Replace score elf emulation with score3 and score7
117 emulations.
118 * Makefile.in: Regenerate,
119 * NEWS: Mention support for Score7 architecture.
120 * configure.tgt: Add score7 emulation to score-elf target.
121 * emulparams/scoreelf.sh: Add score7 support.
122 * emultempl/scoreelf.em: Likewise.
123
d1bbb13a
DA
1242009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
125
126 * configure.tgt: Only use elf64hppa target emulation for hpux.
127 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
128 (SCRIPT_NAME): Use new script elf64hppa.
129 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
130 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
131 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
132 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
133 TEXT_DYNAMIC): Define.
134 * emulparams/hppa64linux.sh: Adjust comments.
135 * scripttempl/elf64hppa.sc: New file.
136
58e24671
RW
1372009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
138
139 * configure: Regenerate.
140
5b9c6027
DK
1412009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
142
143 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
144 default state of auto-import flag based on $target.
145
07d72278
DJ
1462009-02-24 Joseph Myers <joseph@codesourcery.com>
147
148 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
149 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
150 (elf32_arm_add_stub_section): Update comment.
151 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
152
2509a395
SL
1532009-02-24 Sandra Loosemore <sandra@codesourcery.com>
154
155 * ld.texinfo (Options): Correct typos in example. Recommend
156 using joined forms of syntax for passing options with arguments
157 from a driver.
158 (-a): Use consistent syntax for documenting option arguments.
159 Clean up indexing and markup.
160 (-A/--architecture): Likewise.
161 (-f/--auxiliary): Likewise.
162 (-F/--filter): Likewise.
163 (-fini): Likewise.
164 (-G/--gpsize): Likewise.
165 (-h/-soname):Likewise.
166 (-init): Likewise.
167 (-l/--library): Likewise.
168 (-L/--library-path): Likewise.
169 (-m): Likewise.
170 (--defsym): Likewise.
171 (-I/--dynamic-linker): Likewise.
172 (-Map): Likewise.
173 (--oformat): Likewise.
174 (--retain-symbols-file): Likewise.
175 (-rpath): Likewise.
176 (-rpath-link): Likewise.
177 (--sort-common): Likewise.
178 (--sort-section): Likewise.
179 (--split-by-file): Likewise.
180 (--split-by-reloc): Likewise.
181 (--sysroot): Likewise.
182 (--section-start): Likewise.
183 (-Tbss, -Tdata, -Ttext): Likewise.
184 (-Ttext-segment): Likewise.
185 (--version-script): Likewise.
186 (--wrap): Likewise.
187
44cf6883 1882009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
189
190 * ld.texinfo: Update to mention long section name options.
191 * NEWS: Mention new behaviour and command-line options.
192 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
193 (pe_output_file_set_long_section_names): New function.
194 (pe_dll_build_sections): Call it on output BFDs.
195 (pe_exe_build_sections): Likewise.
196 (pe_dll_fill_sections): Likewise.
197 (pe_exe_fill_sections): Likewise.
198 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
199 (pe_output_file_set_long_section_names): Add prototype.
200 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
201 (pe_output_file_set_long_section_names): Likewise.
202 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
203 (pep_output_file_set_long_section_names): Add prototype.
204 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
205 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
206 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
207 (gld_${EMULATION_NAME}_list_options): Describe them.
208 (gld${EMULATION_NAME}_handle_option): Set or clear global
209 pe_use_coff_long_section_names flag when options recognised.
210 (gld_${EMULATION_NAME}_after_open): En/disable long section names
211 for main output bfd by calling pe_output_file_set_long_section_names.
212 * pep.em (enum options): Extend enum with new getopt option values.
213 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
214 (gld_${EMULATION_NAME}_list_options): Describe them.
215 (gld${EMULATION_NAME}_handle_option): Set or clear global
216 pe_use_coff_long_section_names flag when options recognised.
217 (gld_${EMULATION_NAME}_after_open): En/disable long section names
218 for main output bfd by calling pep_output_file_set_long_section_names.
219
1491f1f0
DK
2202009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
221
222 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
223 inadvertent .reloc sections caused by refactoring accident.
224
d2ae7be0
AM
2252009-02-16 Alan Modra <amodra@bigpond.net.au>
226
227 * ldlang.c (process_insert_statements): ASSERT that output section
228 statements are in order.
229
bde18da4
AM
2302009-02-16 Alan Modra <amodra@bigpond.net.au>
231
232 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
233 (stat_save, stat_save_ptr): New variables.
234 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
235 (load_symbols): Likewise. Delete dead "bad_load" code.
236 (open_input_bfds): Warn on script containing output sections.
237 (lang_enter_output_section_statement): Use push_stat_ptr.
238 (lang_enter_group): Likewise.
239 (lang_leave_output_section_statement): Use pop_stat_ptr.
240 (lang_leave_group): Likewise.
241 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
242 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
243 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
244 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
245 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
246 * emultempl/spuelf.em (spu_place_special_section): Likewise.
247 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
248
662ef24b
NS
2492009-02-09 Nathan Sidwell <nathan@codesourcery.com>
250
251 Missing piece of 2009-01-26 commit
252 * ldlang.c (lang_process): Don't consider relocatable flag when
253 checking for overlap.
254
268e4015
JM
2552009-02-05 Joseph Myers <joseph@codesourcery.com>
256
257 * emulparams/m68kelf.sh: Add newline at end of file.
258
903249d7
NC
2592009-02-04 Nick Clifton <nickc@redhat.com>
260
261 PR 9805
262 * ld.texinfo (--allow-shlib-undefined): Correct description of
263 default settings and tidy up the rest of the entry.
264
df636c05
AM
2652009-02-04 Alan Modra <amodra@bigpond.net.au>
266
267 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
268 during relocatable link.
269
8a308ae8
NC
2702009-02-03 Nick Clifton <nickc@redhat.com>
271
272 PR 9797
273 * ld.texinfo (Constants): Document the base-encoding suffixes
274 supported in linker scripts.
275
28024d9d
L
2762009-02-03 Alan Modra <amodra@bigpond.net.au>
277
278 * NEWS: Mention --as-needed change.
279
31dd3154
JM
2802009-02-03 Carlos O'Donell <carlos@codesourcery.com>
281
282 * configure.in: AC_SUBST pdfdir.
283 * Makefile.am: Add install-pdf, install-pdf-am,
284 and install-pdf-recursive targets. Define pdf__strip_dir.
285 * po/Make-in: Add install-pdf target.
286 * configure: Regenerate.
287 * Makefile.in: Regenerate.
288
010e5ae2
AM
2892009-01-31 Alan Modra <amodra@bigpond.net.au>
290
291 * ld.texinfo (--as-needed): Update.
292
893dcb0e
JM
2932009-01-29 Andrew Jenner <andrew@codesourcery.com>
294
295 * emultempl/armelf.em: Correct formatting of help text for
296 --no-enum-size-warning option.
297
02b0b1aa
NS
2982009-01-26 Nathan Sidwell <nathan@codesourcery.com>
299
300 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
301 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
302 * ldmain.c (main): Default check_section_addresses to -1. Check it
303 for relocatable links.
304 * ld.texinfo (--check-sections): Update documentation.
305
9382254d
KT
3062009-01-26 Kai Tietz <kai.tietz@onevision.com>
307
308 * pe-dll.c (tmp_seq2): New static variable.
309 (make_singleton_name_imp): New.
310 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
311 avoid duplicate import table generation for same symbol.
312 (pe_create_runtime_relocator_reference): Make reference for
313 64-bit 8 bytes.
314
fb266b8b
AM
3152009-01-21 Alan Modra <amodra@bigpond.net.au>
316
317 * emultempl/spuelf.em (params): Init new field.
318 (OPTION_SPU_NON_IA_TEXT): Define.
319 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
320 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
321
258795f5
L
3222009-01-16 H.J. Lu <hongjiu.lu@intel.com>
323
324 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
325 (ld_options): Add -Ttext-segment.
326 (parse_args): Handle OPTION_TTEXT_SEGMENT.
327
328 * ld.texinfo: Document -Ttext-segment.
329
330 * NEWS: Mention -Ttext-segment.
331
332 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
333 (SHLIB_TEXT_START_ADDR): Likewise.
334
8d8047c4
AM
3352009-01-13 Alan Modra <amodra@bigpond.net.au>
336
337 * emultempl/spu_icache.o_c: Regenerate.
338
cd4a7468
AM
3392009-01-12 Alan Modra <amodra@bigpond.net.au>
340
341 * emultempl/spuelf.em (params): Init new fields.
342 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
343 (spu_place_special_section): Adjust placement for soft-icache. Pad
344 soft-icache section to a fixed size. Clear addr_tree.
345 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
346 sections a little more intelligently.
347 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
348 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
349 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
350 (OPTION_SPU_LRLIVE): Define.
351 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
352 (PARSE_AND_LIST_OPTIONS): Likewise.
353 (PARSE_AND_LIST_ARGS_CASES): Handle them.
354 * emultempl/spu_icache.S: Dummy file.
355 * emultempl/spu_icache.o_c: Regenerate.
356 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
357 (spu_icache.o_c): Add rule to build.
358 (CLEANFILES): Zap temp files.
359 (EXTRA_DIST): Add spu_icache.o_c.
360 * Makefile.in: Regenerate.
361
ce11ba6c
KT
3622009-01-08 Kai Tietz <kai.tietz@onevision.com>
363
364 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
365 (gld..._add_options): Add new option
366 --use-nul-prefixed-import-tables.
367 (gld..._handle_option): Likewise.
368 * pep.em: Same as for pe.em.
369 * ld.texinfo: Add new option documentation for
370 --use-nul-prefixed-import-tables.
371 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
372 (make_head): Make prefix leading zero prefix element for
373 idata$4 and idata$5 dependent to new flag.
374 (make_import_fixup_entry): Remove idata4/5 prefix.
375 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
376 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
377 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
378 * NEWS: Add new option.
379
d34c1c51
KT
3802009-01-05 Kai Tietz <kai.tietz@onevision.com>
381
382 * emultempl/pe.em: Prefix dollar characters to be outputed in
383 generated C file.
384 * emultempl/pep.em: Likewise.
385
e1c37eb5
DK
3862009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
387
388 * NEWS: Mention new feature --exclude-modules-for-implib.
389 * ld.texinfo: Document new --exclude-modules-for-implib option.
390 * pe-dll.c (exclude_list_struct): Change type member from int to
391 new enumeration exclude_type.
392 (pe_dll_add_excludes): Accept exclude_type instead of int param.
393 (auto_export): Replace magic constants by exclude_type values and
394 handle new choice EXCLUDEFORIMPLIB.
395 (pe_dll_generate_implib): Accept a pointer to the link_info and
396 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
397 fresh BFDs for any found and link into import lib archive chain.
398 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
399 constants previously used for exclude_list_struct type member.
400 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
401 * pep-dll.h (exclude_type, pe_dll_add_excludes,
402 pe_dll_generate_implib): Likewise to all the above.
403 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
404 getopts long option code for new --exclude-modules-for-implib option.
405 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
406 (gld_${EMULATION_NAME}_list_options): List usage for it.
407 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
408 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
409 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
410 calling pe_dll_generate_implib.
411 * emultempl/pep.em (options): Define new enumerated value for getopts
412 long option code for new --exclude-modules-for-implib option.
413 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
414 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
415 Again, likewise to all the above.
416
81b07b16 4172009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 418
81b07b16
DK
419 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
420 (libnamencmp): New function.
421 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 422
81b07b16 423For older changes see ChangeLog-2008
252b5132
RH
424\f
425Local Variables:
426mode: change-log
427left-margin: 8
428fill-column: 74
429version-control: never
430End:
This page took 0.475558 seconds and 4 git commands to generate.