2009-03-14 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d11fd249
NC
12009-03-06 Nick Clifton <nickc@redhat.com>
2
3 * po/es.po: Updated Spanish translation.
4
3efd345c
DK
52009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
6
7 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
8 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
9 of all input BFDs, looking for debug info. Enable long section names
10 if any found.
11 * emultempl/pe.em (debug_section_p): Likewise.
12 (gld_${EMULATION_NAME}_after_open): Likewise.
13 * NEWS: Retrospectively adjust news announcement.
14 * ld.texinfo: Update documentation to mention new behaviour.
15
a1f7ca36
AM
162009-03-03 Alan Modra <amodra@bigpond.net.au>
17
18 * Makefile.am: Run "make dep-am".
19 * Makefile.in: Regenerate.
20
4a93e180
NC
212009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
22
23 * ldgram.y: Add support for REGION_ALIAS operator.
24 * ldlang.c: Likewise.
25 * ldlang.h: Likewise.
26 * ldlex.l: Likewise.
27 * NEWS: Mention the new feature.
28 * ld.texinfo: Document the new feature.
29
c3b7224a
NC
302009-03-02 Qinwei <qinwei@sunnorth.com.cn>
31
32 * Makefile.am: Replace score elf emulation with score3 and score7
33 emulations.
34 * Makefile.in: Regenerate,
35 * NEWS: Mention support for Score7 architecture.
36 * configure.tgt: Add score7 emulation to score-elf target.
37 * emulparams/scoreelf.sh: Add score7 support.
38 * emultempl/scoreelf.em: Likewise.
39
d1bbb13a
DA
402009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
41
42 * configure.tgt: Only use elf64hppa target emulation for hpux.
43 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
44 (SCRIPT_NAME): Use new script elf64hppa.
45 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
46 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
47 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
48 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
49 TEXT_DYNAMIC): Define.
50 * emulparams/hppa64linux.sh: Adjust comments.
51 * scripttempl/elf64hppa.sc: New file.
52
58e24671
RW
532009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54
55 * configure: Regenerate.
56
5b9c6027
DK
572009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
58
59 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
60 default state of auto-import flag based on $target.
61
07d72278
DJ
622009-02-24 Joseph Myers <joseph@codesourcery.com>
63
64 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
65 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
66 (elf32_arm_add_stub_section): Update comment.
67 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
68
2509a395
SL
692009-02-24 Sandra Loosemore <sandra@codesourcery.com>
70
71 * ld.texinfo (Options): Correct typos in example. Recommend
72 using joined forms of syntax for passing options with arguments
73 from a driver.
74 (-a): Use consistent syntax for documenting option arguments.
75 Clean up indexing and markup.
76 (-A/--architecture): Likewise.
77 (-f/--auxiliary): Likewise.
78 (-F/--filter): Likewise.
79 (-fini): Likewise.
80 (-G/--gpsize): Likewise.
81 (-h/-soname):Likewise.
82 (-init): Likewise.
83 (-l/--library): Likewise.
84 (-L/--library-path): Likewise.
85 (-m): Likewise.
86 (--defsym): Likewise.
87 (-I/--dynamic-linker): Likewise.
88 (-Map): Likewise.
89 (--oformat): Likewise.
90 (--retain-symbols-file): Likewise.
91 (-rpath): Likewise.
92 (-rpath-link): Likewise.
93 (--sort-common): Likewise.
94 (--sort-section): Likewise.
95 (--split-by-file): Likewise.
96 (--split-by-reloc): Likewise.
97 (--sysroot): Likewise.
98 (--section-start): Likewise.
99 (-Tbss, -Tdata, -Ttext): Likewise.
100 (-Ttext-segment): Likewise.
101 (--version-script): Likewise.
102 (--wrap): Likewise.
103
44cf6883 1042009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
105
106 * ld.texinfo: Update to mention long section name options.
107 * NEWS: Mention new behaviour and command-line options.
108 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
109 (pe_output_file_set_long_section_names): New function.
110 (pe_dll_build_sections): Call it on output BFDs.
111 (pe_exe_build_sections): Likewise.
112 (pe_dll_fill_sections): Likewise.
113 (pe_exe_fill_sections): Likewise.
114 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
115 (pe_output_file_set_long_section_names): Add prototype.
116 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
117 (pe_output_file_set_long_section_names): Likewise.
118 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
119 (pep_output_file_set_long_section_names): Add prototype.
120 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
121 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
122 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
123 (gld_${EMULATION_NAME}_list_options): Describe them.
124 (gld${EMULATION_NAME}_handle_option): Set or clear global
125 pe_use_coff_long_section_names flag when options recognised.
126 (gld_${EMULATION_NAME}_after_open): En/disable long section names
127 for main output bfd by calling pe_output_file_set_long_section_names.
128 * pep.em (enum options): Extend enum with new getopt option values.
129 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
130 (gld_${EMULATION_NAME}_list_options): Describe them.
131 (gld${EMULATION_NAME}_handle_option): Set or clear global
132 pe_use_coff_long_section_names flag when options recognised.
133 (gld_${EMULATION_NAME}_after_open): En/disable long section names
134 for main output bfd by calling pep_output_file_set_long_section_names.
135
1491f1f0
DK
1362009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
137
138 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
139 inadvertent .reloc sections caused by refactoring accident.
140
d2ae7be0
AM
1412009-02-16 Alan Modra <amodra@bigpond.net.au>
142
143 * ldlang.c (process_insert_statements): ASSERT that output section
144 statements are in order.
145
bde18da4
AM
1462009-02-16 Alan Modra <amodra@bigpond.net.au>
147
148 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
149 (stat_save, stat_save_ptr): New variables.
150 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
151 (load_symbols): Likewise. Delete dead "bad_load" code.
152 (open_input_bfds): Warn on script containing output sections.
153 (lang_enter_output_section_statement): Use push_stat_ptr.
154 (lang_enter_group): Likewise.
155 (lang_leave_output_section_statement): Use pop_stat_ptr.
156 (lang_leave_group): Likewise.
157 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
158 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
159 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
160 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
161 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
162 * emultempl/spuelf.em (spu_place_special_section): Likewise.
163 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
164
662ef24b
NS
1652009-02-09 Nathan Sidwell <nathan@codesourcery.com>
166
167 Missing piece of 2009-01-26 commit
168 * ldlang.c (lang_process): Don't consider relocatable flag when
169 checking for overlap.
170
268e4015
JM
1712009-02-05 Joseph Myers <joseph@codesourcery.com>
172
173 * emulparams/m68kelf.sh: Add newline at end of file.
174
903249d7
NC
1752009-02-04 Nick Clifton <nickc@redhat.com>
176
177 PR 9805
178 * ld.texinfo (--allow-shlib-undefined): Correct description of
179 default settings and tidy up the rest of the entry.
180
df636c05
AM
1812009-02-04 Alan Modra <amodra@bigpond.net.au>
182
183 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
184 during relocatable link.
185
8a308ae8
NC
1862009-02-03 Nick Clifton <nickc@redhat.com>
187
188 PR 9797
189 * ld.texinfo (Constants): Document the base-encoding suffixes
190 supported in linker scripts.
191
28024d9d
L
1922009-02-03 Alan Modra <amodra@bigpond.net.au>
193
194 * NEWS: Mention --as-needed change.
195
31dd3154
JM
1962009-02-03 Carlos O'Donell <carlos@codesourcery.com>
197
198 * configure.in: AC_SUBST pdfdir.
199 * Makefile.am: Add install-pdf, install-pdf-am,
200 and install-pdf-recursive targets. Define pdf__strip_dir.
201 * po/Make-in: Add install-pdf target.
202 * configure: Regenerate.
203 * Makefile.in: Regenerate.
204
010e5ae2
AM
2052009-01-31 Alan Modra <amodra@bigpond.net.au>
206
207 * ld.texinfo (--as-needed): Update.
208
893dcb0e
JM
2092009-01-29 Andrew Jenner <andrew@codesourcery.com>
210
211 * emultempl/armelf.em: Correct formatting of help text for
212 --no-enum-size-warning option.
213
02b0b1aa
NS
2142009-01-26 Nathan Sidwell <nathan@codesourcery.com>
215
216 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
217 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
218 * ldmain.c (main): Default check_section_addresses to -1. Check it
219 for relocatable links.
220 * ld.texinfo (--check-sections): Update documentation.
221
9382254d
KT
2222009-01-26 Kai Tietz <kai.tietz@onevision.com>
223
224 * pe-dll.c (tmp_seq2): New static variable.
225 (make_singleton_name_imp): New.
226 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
227 avoid duplicate import table generation for same symbol.
228 (pe_create_runtime_relocator_reference): Make reference for
229 64-bit 8 bytes.
230
fb266b8b
AM
2312009-01-21 Alan Modra <amodra@bigpond.net.au>
232
233 * emultempl/spuelf.em (params): Init new field.
234 (OPTION_SPU_NON_IA_TEXT): Define.
235 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
236 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
237
258795f5
L
2382009-01-16 H.J. Lu <hongjiu.lu@intel.com>
239
240 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
241 (ld_options): Add -Ttext-segment.
242 (parse_args): Handle OPTION_TTEXT_SEGMENT.
243
244 * ld.texinfo: Document -Ttext-segment.
245
246 * NEWS: Mention -Ttext-segment.
247
248 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
249 (SHLIB_TEXT_START_ADDR): Likewise.
250
8d8047c4
AM
2512009-01-13 Alan Modra <amodra@bigpond.net.au>
252
253 * emultempl/spu_icache.o_c: Regenerate.
254
cd4a7468
AM
2552009-01-12 Alan Modra <amodra@bigpond.net.au>
256
257 * emultempl/spuelf.em (params): Init new fields.
258 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
259 (spu_place_special_section): Adjust placement for soft-icache. Pad
260 soft-icache section to a fixed size. Clear addr_tree.
261 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
262 sections a little more intelligently.
263 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
264 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
265 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
266 (OPTION_SPU_LRLIVE): Define.
267 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
268 (PARSE_AND_LIST_OPTIONS): Likewise.
269 (PARSE_AND_LIST_ARGS_CASES): Handle them.
270 * emultempl/spu_icache.S: Dummy file.
271 * emultempl/spu_icache.o_c: Regenerate.
272 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
273 (spu_icache.o_c): Add rule to build.
274 (CLEANFILES): Zap temp files.
275 (EXTRA_DIST): Add spu_icache.o_c.
276 * Makefile.in: Regenerate.
277
ce11ba6c
KT
2782009-01-08 Kai Tietz <kai.tietz@onevision.com>
279
280 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
281 (gld..._add_options): Add new option
282 --use-nul-prefixed-import-tables.
283 (gld..._handle_option): Likewise.
284 * pep.em: Same as for pe.em.
285 * ld.texinfo: Add new option documentation for
286 --use-nul-prefixed-import-tables.
287 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
288 (make_head): Make prefix leading zero prefix element for
289 idata$4 and idata$5 dependent to new flag.
290 (make_import_fixup_entry): Remove idata4/5 prefix.
291 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
292 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
293 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
294 * NEWS: Add new option.
295
d34c1c51
KT
2962009-01-05 Kai Tietz <kai.tietz@onevision.com>
297
298 * emultempl/pe.em: Prefix dollar characters to be outputed in
299 generated C file.
300 * emultempl/pep.em: Likewise.
301
e1c37eb5
DK
3022009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
303
304 * NEWS: Mention new feature --exclude-modules-for-implib.
305 * ld.texinfo: Document new --exclude-modules-for-implib option.
306 * pe-dll.c (exclude_list_struct): Change type member from int to
307 new enumeration exclude_type.
308 (pe_dll_add_excludes): Accept exclude_type instead of int param.
309 (auto_export): Replace magic constants by exclude_type values and
310 handle new choice EXCLUDEFORIMPLIB.
311 (pe_dll_generate_implib): Accept a pointer to the link_info and
312 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
313 fresh BFDs for any found and link into import lib archive chain.
314 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
315 constants previously used for exclude_list_struct type member.
316 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
317 * pep-dll.h (exclude_type, pe_dll_add_excludes,
318 pe_dll_generate_implib): Likewise to all the above.
319 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
320 getopts long option code for new --exclude-modules-for-implib option.
321 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
322 (gld_${EMULATION_NAME}_list_options): List usage for it.
323 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
324 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
325 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
326 calling pe_dll_generate_implib.
327 * emultempl/pep.em (options): Define new enumerated value for getopts
328 long option code for new --exclude-modules-for-implib option.
329 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
330 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
331 Again, likewise to all the above.
332
81b07b16 3332009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 334
81b07b16
DK
335 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
336 (libnamencmp): New function.
337 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 338
81b07b16 339For older changes see ChangeLog-2008
252b5132
RH
340\f
341Local Variables:
342mode: change-log
343left-margin: 8
344fill-column: 74
345version-control: never
346End:
This page took 0.473329 seconds and 4 git commands to generate.