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