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