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