Commit | Line | Data |
---|---|---|
c7927a3c NC |
1 | 2009-09-29 DJ Delorie <dj@redhat.com> |
2 | ||
3 | * Makefile.am: Add rules to build RX emulation. | |
4 | * configure.tgt: Likewise. | |
5 | * NEWS: Mention support for RX architecture. | |
6 | * Makefile.in: Regenerate. | |
7 | * emulparams/elf32rx.sh: New file. | |
8 | * emultempl/rxelf.em: New file. | |
9 | ||
cafed8af AM |
10 | 2009-09-29 Alan Modra <amodra@bigpond.net.au> |
11 | ||
12 | * ldlang.c (lang_size_sections_1): Allow scripts to specify a | |
13 | non-zero vma even when relocatable. | |
14 | ||
df381c72 AM |
15 | 2009-09-28 Alan Modra <amodra@bigpond.net.au> |
16 | ||
17 | * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur. | |
18 | * scripttempl/elf32cr16c.sc: Likewise. | |
19 | * scripttempl/elf32crx.sc: Likewise. | |
5ccff776 | 20 | * scripttempl/tic54xcoff.sc: Likewise. |
df381c72 AM |
21 | * scripttempl/aix.sc: Delete ${RELOCATING-0}. |
22 | * scripttempl/avr.sc: Likewise. | |
23 | * scripttempl/elf32msp430.sc: Likewise. | |
24 | * scripttempl/elf32msp430_3.sc: Likewise. | |
25 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
26 | * scripttempl/elf_chaos.sc: Likewise. | |
27 | * scripttempl/elfi370.sc: Likewise. | |
28 | * scripttempl/nw.sc: Likewise. | |
29 | * scripttempl/psos.sc: Likewise. | |
30 | * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. | |
31 | * scripttempl/elf.sc: Likewise. | |
32 | * scripttempl/elf64hppa.sc: Likewise. | |
33 | * scripttempl/elfd10v.sc: Likewise. | |
34 | * scripttempl/elfd30v.sc: Likewise. | |
35 | * scripttempl/elfm68hc11.sc: Likewise. | |
36 | * scripttempl/elfm68hc12.sc: Likewise. | |
37 | * scripttempl/elfmicroblaze.sc: Likewise. | |
38 | * scripttempl/elfxtensa.sc: Likewise. | |
39 | * scripttempl/iq2000.sc: Likewise. | |
40 | * scripttempl/mep.sc: Likewise. | |
41 | * scripttempl/xstormy16.sc: Likewise. | |
42 | ||
eceda120 CF |
43 | 2009-09-27 Christopher Faylor <me+cygwin@cgf.cx> |
44 | ||
45 | * ldlang.c (lang_size_sections_1): Always force output vma to zero for | |
46 | relocatable sections. | |
47 | (lang_size_sections_1): Revert previous COFF-only accommodation for | |
48 | relocatable sections. | |
49 | ||
21d799b5 NC |
50 | 2009-09-25 Martin Thuresson <martint@google.com> |
51 | ||
52 | Update soruces to make arm targets compile cleanly with | |
53 | -Wc++-compat: | |
54 | * emultempl/armelf.em: Add casts. | |
55 | ||
7ee314fa AM |
56 | 2009-09-23 Matt Rice <ratmice@gmail.com> |
57 | ||
58 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, | |
59 | --depaudit, and -P options. | |
60 | (gld${EULATION_NAME}_handle_options): Ditto. | |
61 | (gld${EULATION_NAME}_list_options): Ditto. | |
62 | (gld${EMULATION_NAME}_append_to_separated_string): New function for | |
63 | handling rpath-like colon separated strings. | |
64 | (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit | |
65 | libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. | |
66 | * ld.texinfo: Document new options. | |
67 | ||
8a00d392 NC |
68 | 2009-09-23 Nick Clifton <nickc@redhat.com> |
69 | ||
70 | * po/vi.po: Updated Vietnamese translation. | |
71 | ||
7807ee0c AM |
72 | 2009-09-22 Alan Modra <amodra@bigpond.net.au> |
73 | ||
74 | * scripttempl/a29k.sc: Delete. | |
75 | * scripttempl/ebmon29k.sc: Delete. | |
76 | * scripttempl/m68klynx.sc: Delete. | |
77 | * scripttempl/sa29200.sc: Delete. | |
78 | * scripttempl/sparclynx.sc: Delete. | |
79 | ||
a7f2871e AM |
80 | 2009-09-21 Alan Modra <amodra@bigpond.net.au> |
81 | ||
82 | * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. | |
83 | (ppc_before_allocation): Pass to ppc_elf_tls_setup. | |
84 | (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in | |
85 | terms of previous option. | |
86 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add | |
87 | --no-tls-get-addr-optimize. | |
88 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
89 | * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. | |
90 | (ppc_before_allocation): Pass to ppc64_elf_tls_setup. | |
91 | (OPTION_NO_TLS_GET_ADDR_OPT): Define. | |
92 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add | |
93 | --no-tls-get-addr-optimize. | |
94 | (PARSE_AND_LIST_ARGS_CASES): Handle it. | |
95 | ||
ca58b19f NC |
96 | 2009-09-18 Nick Clifton <nickc@redhat.com> |
97 | ||
98 | * po/es.po: Updated Spanish translation. | |
99 | ||
97b11f40 AM |
100 | 2009-09-13 Alan Modra <amodra@bigpond.net.au> |
101 | ||
cafed8af | 102 | PR ld/6766 |
97b11f40 AM |
103 | * lexsup.c (parse_args <-e>): Revert 2009-03-18 change. |
104 | * ldemul.c (after_parse_default): Add entry symbol as undef. | |
105 | * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default. | |
106 | * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. | |
107 | * emultempl/crxelf.em (crxelf_after_parse): Likewise. | |
108 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
109 | * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. | |
110 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call | |
111 | after_parse_default and delete now duplicate code. | |
112 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. | |
113 | * scripttempl/elf32cr16.sc: No need to make entry extern. | |
114 | * scripttempl/elf32cr16c.sc: Likewise. | |
115 | * scripttempl/elf32crx.sc: Likewise. | |
116 | * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link. | |
117 | ||
1e9cc1c2 NC |
118 | 2009-09-11 Nick Clifton <nickc@redhat.com> |
119 | ||
120 | * po/ld.pot: Updated by the Translation project. | |
121 | * po/fi.po: Updated Finnish translation. | |
122 | ||
123 | 2009-09-11 Martin Thuresson <martint@google.com> | |
124 | ||
125 | Updated sources to compile cleanly with -Wc++-compat: | |
126 | * ld.h (enum endian_enum,enum symbolic_enum,enum | |
127 | dynamic_list_enum): Move to top level. | |
128 | * ldcref.c: Add casts. | |
129 | * ldctor.c: Add casts. | |
130 | * ldexp.c | |
131 | * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. | |
132 | * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead | |
133 | of integer. | |
134 | * ldlang.h (enum statement_enum): Move to top level. | |
135 | * ldmain.c: Add casts. | |
136 | * ldwrite.c: Add casts. | |
137 | * lexsup.c: Add casts. (enum control_enum): Move to top level. | |
138 | * mri.c: Add casts. (mri_draw_tree): Use enum name instead of | |
139 | integer. | |
140 | ||
596d6d91 AM |
141 | 2009-09-09 Alan Modra <amodra@bigpond.net.au> |
142 | ||
143 | * scripttempl/aix.sc: Only provide ENTRY on final link. | |
144 | * scripttempl/alpha.sc: Likewise. | |
145 | * scripttempl/armcoff.sc: Likewise. | |
146 | * scripttempl/crisaout.sc: Likewise. | |
147 | * scripttempl/delta68.sc: Likewise. | |
148 | * scripttempl/ebmon29k.sc: Likewise. | |
149 | * scripttempl/elf32xc16x.sc: Likewise. | |
150 | * scripttempl/elf32xc16xl.sc: Likewise. | |
151 | * scripttempl/elfmicroblaze.sc: Likewise. | |
152 | * scripttempl/epocpe.sc: Likewise. | |
153 | * scripttempl/h8300.sc: Likewise. | |
154 | * scripttempl/h8300h.sc: Likewise. | |
155 | * scripttempl/h8300hn.sc: Likewise. | |
156 | * scripttempl/h8300s.sc: Likewise. | |
157 | * scripttempl/h8300sn.sc: Likewise. | |
158 | * scripttempl/h8300sx.sc: Likewise. | |
159 | * scripttempl/h8300sxn.sc: Likewise. | |
160 | * scripttempl/hppaelf.sc: Likewise. | |
161 | * scripttempl/i386beos.sc: Likewise. | |
162 | * scripttempl/i386coff.sc: Likewise. | |
163 | * scripttempl/i386go32.sc: Likewise. | |
164 | * scripttempl/m68kaux.sc: Likewise. | |
165 | * scripttempl/m68klynx.sc: Likewise. | |
166 | * scripttempl/m88kbcs.sc: Likewise. | |
167 | * scripttempl/maxqcoff.sc: Likewise. | |
168 | * scripttempl/mcorepe.sc: Likewise. | |
169 | * scripttempl/mips.sc: Likewise. | |
170 | * scripttempl/ppcpe.sc: Likewise. | |
171 | * scripttempl/sa29200.sc: Likewise. | |
172 | * scripttempl/sparccoff.sc: Likewise. | |
173 | * scripttempl/sparclynx.sc: Likewise. | |
174 | * scripttempl/tic4xcoff.sc: Likewise. | |
175 | * scripttempl/tic54xcoff.sc: Likewise. | |
176 | * scripttempl/tic80coff.sc: Likewise. | |
177 | * scripttempl/z8000.sc: Likewise. | |
178 | ||
23f938f1 TG |
179 | 2009-09-07 Tristan Gingold <gingold@adacore.com> |
180 | ||
181 | * po/ld.pot: Regenerate. | |
182 | ||
96d56e9f NC |
183 | 2009-09-05 Martin Thuresson <martin@mtme.org> |
184 | ||
185 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols, | |
186 | gld${EMULATION_NAME}_try_needed): Rename variable class to | |
187 | link_class. | |
188 | ||
81c23f82 TG |
189 | 2009-09-04 Tristan Gingold <gingold@adacore.com> |
190 | ||
191 | * NEWS: Add marker for 2.20. | |
192 | ||
4c4fb5da AM |
193 | 2009-09-04 Alan Modra <amodra@bigpond.net.au> |
194 | ||
195 | * scripttempl/elf.sc (.text): Add cold text sections. | |
196 | ||
7dd8f318 JZ |
197 | 2009-09-04 Jie Zhang <jie.zhang@analog.com> |
198 | ||
199 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text | |
200 | and .l2.data. | |
201 | ||
032f3e01 DK |
202 | 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com> |
203 | ||
204 | * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch | |
205 | new GCC hot/cold/unlikely partitions. | |
206 | * scripttempl/pep.sc: Likewise. | |
207 | * scripttempl/epocpe.sc: Likewise. | |
208 | * scripttempl/mcorepe.sc: Likewise. | |
209 | * scripttempl/ppcpe.sc: Likewise. | |
210 | ||
7bb7d81f RW |
211 | 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
212 | ||
213 | * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct | |
214 | source file name for generated files which may be in $(srcdir). | |
215 | * Makefile.in: Regenerate. | |
216 | ||
43123e98 L |
217 | 2009-09-01 H.J. Lu <hongjiu.lu@intel.com> |
218 | ||
219 | * ldver.c (ldversion): Change to "Copyright 2009". | |
220 | ||
8d17e044 JZ |
221 | 2009-09-01 Jie Zhang <jie.zhang@analog.com> |
222 | ||
223 | * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, | |
224 | _stack and __bss_start. | |
225 | * emulparams/bfin.sh (ENTRY): Remove. | |
226 | ||
8be573a7 AM |
227 | 2009-08-30 Alan Modra <amodra@bigpond.net.au> |
228 | ||
229 | PR ld/10569 | |
230 | * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. | |
231 | (fold_name <COMMONPAGESIZE>): Similarly. | |
232 | * ldlang.c (output_target): Make global. | |
233 | * ldlang.h (output_target): Declare. | |
234 | * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. | |
235 | Similarly for config.commonpagesize. | |
236 | * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize | |
237 | and bfd_emul_set_commonpagesize. | |
238 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call | |
239 | bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here. | |
240 | ||
d3ce72d0 NC |
241 | 2009-08-29 Martin Thuresson <martin@mtme.org> |
242 | ||
243 | * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) | |
244 | (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new | |
245 | to new_e. | |
246 | * ldfile.c (ldfile_add_library_path): Rename variable new to | |
247 | new_dirs. (ldfile_add_arch): Rename variable new to new_arch. | |
248 | * ldlang.c (new_statement, lang_final, lang_add_wild) | |
249 | (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) | |
250 | (lang_add_insert): Rename variable new to new_stmt. (new_afile): | |
251 | Added missing cast. (lang_memory_region_lookup): Rename variable | |
252 | new to new_region. (init_os): Rename variable new to | |
253 | new_userdata. (lang_add_section): Rename variable new to | |
254 | new_section. (ldlang_add_undef): Rename variable new to | |
255 | new_undef. (realsymbol): Rename variable new to new_name. | |
256 | ||
e9e0a58e NC |
257 | 2009-08-26 Nick Clifton <nickc@redhat.com> |
258 | ||
259 | PR ld/10555 | |
260 | * emultempl/elf32.em (_after_open): Do not create a | |
261 | .note.gnu-build-id section if there are no input files. | |
262 | ||
43e56c34 NC |
263 | 2009-08-24 Nick Clifton <nickc@redhat.com> |
264 | ||
265 | * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with | |
266 | .gnu.lto_ prefix. | |
267 | * scripttempl/armbpabi.sc: Likewise. | |
268 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
269 | * scripttempl/elf64hppa.sc: Likewise. | |
270 | * scripttempl/mep.sc: Likewise. | |
271 | ||
a15af8e2 RW |
272 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
273 | ||
8a0e2760 RW |
274 | * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep |
275 | rules. | |
276 | (eelf32_spu.o): Add dependency tracking. | |
277 | * Makefile.in: Regenerate. | |
278 | ||
a15af8e2 RW |
279 | * Makefile.am (am__skiplex, am__skipyacc): New. |
280 | * Makefile.in: Regenerate. | |
281 | ||
81ecdfbb RW |
282 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
283 | ||
14ec8efd RW |
284 | * Makefile.am (bin_PROGRAMS): Renamed from ... |
285 | (noinst_PROGRAMS): ... this. | |
286 | (transform): Override, including the renaming of ld-new to ld. | |
287 | (install-exec-local): Installation of ld in $(bindir) not needed | |
288 | here any more. | |
289 | (AM_CPPFLAGS): Renamed from ... | |
290 | (INCLUDES): ... this. | |
291 | (MAINTAINERCLEANFILES): Add ld.1. | |
292 | * Makefile.in: Regenerate. | |
293 | ||
64ac50ac RW |
294 | * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add |
295 | no-texinfo.tex, no-dist, foreign. | |
296 | (TEXINFO_TEX): New variable. | |
297 | (install-data-local): Removed, not needed any more. | |
298 | (all): Dependencies upon info and ld.1 not needed any more. | |
299 | (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed. | |
300 | (mkdep generated section): Removed. | |
301 | (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to | |
302 | use automake dependency tracking mechanism. | |
303 | (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and | |
304 | $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their | |
305 | dependencies are tracked too. | |
306 | (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they | |
307 | are built early. | |
308 | * configure.in: Use AM_MAINTAINER_MODE. | |
309 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
310 | ||
af542c2e RW |
311 | * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am) |
312 | (install-pdf-recursive, html__strip_dir, install-html) | |
313 | (install-html-am, install-html-recursive): Remove. | |
314 | * Makefile.in: Regenerate. | |
315 | ||
81ecdfbb RW |
316 | * Makefile.in: Regenerate. |
317 | * aclocal.m4: Likewise. | |
318 | * config.in: Likewise. | |
319 | * configure: Likewise. | |
320 | ||
032b94c5 NC |
321 | 2009-08-21 Richard Guenther <rguenther@suse.de> |
322 | ||
323 | * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. | |
324 | ||
02688209 TG |
325 | 2009-08-12 Tristan Gingold <gingold@adacore.com> |
326 | ||
327 | * ld.h (fat_user_section_struct): Add map_symbol_def_count field. | |
328 | * ldlang.c (hash_entry_addr_cmp): New function. | |
329 | (print_all_symbols): Sort the symbols by address before printing them. | |
330 | ||
eaeb0a9d AM |
331 | 2009-08-10 Alan Modra <amodra@bigpond.net.au> |
332 | ||
333 | PR 10474 | |
334 | * ldemul.c (after_allocation_default): Run lang_relax_sections. | |
335 | * ldlang.h (lang_relax_sections): Declare. | |
336 | * ldlang.c (relax_sections): Delete. | |
337 | (lang_relax_sections): New function. | |
338 | (lang_process): Don't relax directly from here. | |
339 | * emultempl/alphaelf.em (alpha_finish): Call finish_default. | |
340 | * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body.. | |
341 | (gld${EMULATION_NAME}_finish): ..to here. Move existing code.. | |
342 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
343 | (LDEMUL_AFTER_ALLOCATION): Update. | |
344 | * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete. | |
345 | (avr_elf_after_allocation): New function. | |
346 | (LDEMUL_AFTER_ALLOCATION): Define. | |
347 | * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call | |
348 | lang_relax_sections. | |
349 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
350 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
351 | (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update. | |
352 | * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
353 | (gld${EMULATION_NAME}_after_allocation): ..code to here. New function. | |
354 | (LDEMUL_FINISH): Delete. | |
355 | (LDEMUL_AFTER_ALLOCATION): Define. | |
356 | * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move.. | |
357 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
358 | (LDEMUL_FINISH): Delete. | |
359 | (LDEMUL_AFTER_ALLOCATION): Define. | |
360 | * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move.. | |
361 | (m68hc11elf_after_allocation): ..to here. New function. | |
362 | (LDEMUL_FINISH): Delete. | |
363 | (LDEMUL_AFTER_ALLOCATION): Define. | |
364 | * emultempl/m68kelf.em (m68k_elf_after_allocation): Call | |
365 | gld${EMULATION_NAME}_after_allocation. | |
366 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call | |
367 | gld${EMULATION_NAME}_after_allocation. | |
368 | * emultempl/mmo.em (mmo_finish): Delete. Move body.. | |
369 | (gld${EMULATION_NAME}_after_allocation): ..to here. New function. | |
370 | (LDEMUL_FINISH): Define. | |
371 | * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp. | |
372 | (gld${EMULATION_NAME}_finish): Move code sizing sections.. | |
373 | (gld${EMULATION_NAME}_after_allocation): ..to here. | |
374 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): | |
375 | Call gld${EMULATION_NAME}_after_allocation. | |
376 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete | |
377 | bfd_elf_discard_info and map_segments call. | |
378 | ||
7ba29e2a NC |
379 | 2009-08-06 Michael Eager <eager@eagercon.com> |
380 | ||
7ee314fa | 381 | * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to |
7ba29e2a NC |
382 | ALL_EMULATIONS, targets. |
383 | * Makefile.in: Regenerate. | |
384 | * configure.tgt: Add microblaze*-linux*, microblaze* targets. | |
385 | * emulparams/elf32mb_linux.sh: New. | |
386 | * emulparams/elf32microblaze.sh. New. | |
7ee314fa | 387 | * scripttempl/elfmicroblaze.sc: New. |
7ba29e2a | 388 | |
9cc305ec TS |
389 | 2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> |
390 | ||
391 | * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup | |
392 | section and __fixup_start symbol. | |
393 | * emultempl/spuelf.em (params): Initialize emit_fixups member. | |
394 | (spu_before_allocation): Call spu_elf_size_sections. | |
395 | (OPTION_SPU_EMIT_FIXUPS): Define. | |
396 | (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups. | |
397 | (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups. | |
398 | * ld.texinfo (--emit-fixups): Document. | |
399 | ||
07088e95 AM |
400 | 2009-08-04 Alan Modra <amodra@bigpond.net.au> |
401 | ||
cafed8af | 402 | PR 10474 |
07088e95 AM |
403 | * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, |
404 | not size, after lang_reset_memory_regions. | |
405 | ||
8dfab6dd AM |
406 | 2009-07-30 Alan Modra <amodra@bigpond.net.au> |
407 | ||
408 | * emulparams/elf32ppc.sh (PLT): Don't include ".iplt". | |
409 | * emulparams/elf_i386.sh (IREL_IN_PLT): Define. | |
410 | * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. | |
411 | * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections | |
412 | when !IREL_IN_PLT. | |
413 | ||
18c32df5 HPN |
414 | 2009-07-29 Hans-Peter Nilsson <hp@bitrange.com> |
415 | ||
416 | * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to | |
417 | the new $RELOCATEABLE_OUTPUT_FORMAT, if set. | |
418 | (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT. | |
419 | (ENTRY): Don't emit for relocateable links. | |
420 | (/DISCARD/): Don't discard .gnu.warning.* for relocateable links. | |
421 | * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to | |
422 | elf64-mmix. | |
423 | * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't | |
424 | provide "Main" or set "_start.", for relocateable links. | |
425 | ||
c38fbd5c NC |
426 | 2009-07-27 Nick Clifton <nickc@redhat.com> |
427 | ||
428 | * (po/fi.po): Updated Finnish translation. | |
429 | ||
8a9036a4 L |
430 | 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> |
431 | ||
432 | * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 | |
433 | is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. | |
434 | (targ_extra_emuls): Likewise. | |
435 | ||
436 | * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and | |
437 | eelf_l1om_fbsd.o | |
438 | (eelf_l1om.c): New. | |
439 | (eelf_l1om_fbsd.c): Likewise. | |
440 | * Makefile.in: Regenerated. | |
441 | ||
442 | * emulparams/elf_l1om.sh: New. | |
443 | * emulparams/elf_l1om_fbsd.sh: Likewise. | |
444 | ||
3e7a7d11 NC |
445 | 2009-07-23 Ulrich Drepper <drepper@redhat.com> |
446 | ||
447 | * NEWS: Mention the linker's support for symbols with a binding of | |
448 | STB_GNU_UNIQUE. | |
449 | ||
249b2a84 L |
450 | 2009-07-22 H.J. Lu <hongjiu.lu@intel.com> |
451 | ||
452 | PR ld/10429 | |
453 | * ldlang.c (insert_os_after): Tie assignments to non-alloc | |
454 | output sections if there is no-input section. | |
455 | ||
0fa4d7cf AM |
456 | 2009-07-11 Alan Modra <amodra@bigpond.net.au> |
457 | ||
458 | * ldlang.c (insert_os_after): Don't tie assignments to non-alloc | |
459 | output sections. | |
460 | ||
4135c73b AM |
461 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
462 | ||
463 | * emultempl/ppc32elf.em (ppc_before_allocation): Turn on | |
464 | linker relaxation if it might be necessary. | |
465 | ||
e054468f AM |
466 | 2009-07-10 Alan Modra <amodra@bigpond.net.au> |
467 | ||
468 | * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. | |
469 | ||
07d8eb55 NC |
470 | 2009-07-06 Matthias Klose <doko@ubuntu.com> |
471 | ||
249b2a84 | 472 | * ld.texinfo: Fix typo. |
07d8eb55 | 473 | |
27505b5d TG |
474 | 2009-07-03 Tristan Gingold <gingold@adacore.com> |
475 | ||
476 | * scripttempl/pep.sc: Put .eh_frame in its own section. | |
477 | * scripttempl/pe.sc: Ditto. | |
7ee314fa | 478 | |
a626fe20 KT |
479 | 2009-06-26 Kai Tietz <kai.tietz@onevision.com> |
480 | ||
481 | * scripttempl/pe.sc (.debug_pubtypes): Added section rule. | |
482 | * scripttempl/pep.sc: Likewise. | |
483 | ||
d64703c6 TG |
484 | 2009-06-25 Tristan Gingold <gingold@adacore.com> |
485 | ||
486 | * ldlang.c (print_input_section): Add is_discarded parameter. Adjust | |
487 | prototype. | |
488 | (lang_map): Print the size of discarded sections. | |
489 | (print_statement): Adjust call to print_input_section. | |
490 | ||
361dff73 DK |
491 | 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
492 | ||
32425da9 | 493 | Merge cegcc and mingw32ce target name changes from CeGCC project: |
361dff73 | 494 | |
32425da9 | 495 | 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net> |
361dff73 DK |
496 | |
497 | * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to | |
498 | ${tooldir}/lib/w32api. | |
499 | ||
32425da9 | 500 | 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
501 | |
502 | * configure.tgt: Add arm*-*-cegcc* target. | |
503 | ||
32425da9 | 504 | 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt> |
361dff73 DK |
505 | |
506 | * configure.tgt: Add arm-*-mingw32ce* target. | |
507 | ||
f3711133 PB |
508 | 2009-06-10 Philip Blundell <philb@gnu.org> |
509 | ||
510 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash | |
511 | if section has no ELF data. | |
512 | ||
2a81c24a L |
513 | 2009-06-06 H.J. Lu <hongjiu.lu@intel.com> |
514 | ||
515 | * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. | |
516 | ||
fc1e8789 L |
517 | 2009-06-05 H.J. Lu <hongjiu.lu@intel.com> |
518 | ||
519 | * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. | |
520 | ||
67a648f1 AM |
521 | 2009-06-04 Alan Modra <amodra@bigpond.net.au> |
522 | ||
523 | * dep-in.sed: Don't use \n in replacement part of s command. | |
524 | * Makefile.am (DEP1): LC_ALL for uniq. | |
525 | * Makefile.in: Regenerate. | |
526 | ||
3aa14d16 L |
527 | 2009-06-01 H.J. Lu <hongjiu.lu@intel.com> |
528 | ||
529 | * scripttempl/elf.sc (PLT): Add "*(.iplt)". | |
530 | (GOT): Add "*(.igot.plt)a" and "*(.igot)". | |
531 | (GOTPLT): Add "*(.igot)". | |
532 | (__rel_iplt_start): New. | |
533 | (__rel_iplt_end): Likewise. | |
534 | (__rela_iplt_start): Likewise. | |
535 | (__rela_iplt_end): Likewise. | |
536 | ||
05056a8d DK |
537 | 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com> |
538 | ||
539 | * deffilep.y (%union): Add new string-type semantic value 'digits'. | |
540 | (%token): Remove NUMBER as token, add DIGITS. | |
541 | (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. | |
542 | (ALIGNCOMM): Parse an anylang_id instead of a plain ID. | |
543 | (anylang_id): New production. | |
544 | (opt_digits): Likewise. | |
545 | (opt_id): Likewise. | |
546 | (NUMBER): Likewise. | |
547 | (def_lex): Return strings of digits in raw string form as DIGITS | |
548 | token, instead of converting to numeric integer type. | |
549 | ||
c8a1f254 NS |
550 | 2009-05-26 Nathan Sidwell <nathan@codesourcery.com> |
551 | ||
552 | * ldmain.c (main): Don't reject --relax -r. | |
553 | * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing | |
554 | partial links. | |
555 | ||
f12e7348 NC |
556 | 2009-05-26 Nick Clifton <nickc@redhat.com> |
557 | ||
558 | * po/id.po: Updated Indonesian translation. | |
559 | * po/ld.pot: Updated template file. | |
560 | ||
00f3247a AM |
561 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
562 | ||
563 | * dep-in.sed: Output one filename per line with all lines having | |
564 | continuation backslash. Prefix first line with "A", following | |
565 | lines with "B". | |
566 | * Makefile.am (DEP): Don't use dep.sed here. | |
567 | (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies, | |
568 | sort and uniq. | |
569 | * Makefile.in: Regenerate. | |
570 | ||
e50d6125 AM |
571 | 2009-05-26 Alan Modra <amodra@bigpond.net.au> |
572 | ||
573 | * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections. | |
574 | ||
48229727 JB |
575 | 2009-05-22 Julian Brown <julian@codesourcery.com> |
576 | ||
577 | * emultempl/armelf.em (fix_cortex_a8): New. | |
578 | (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix. | |
579 | (arm_elf_create_output_section_statements): Add fix_cortex_a8 to | |
580 | bfd_elf32_arm_set_target_relocs. | |
581 | (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New. | |
582 | (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options. | |
583 | (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options. | |
584 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8. | |
585 | * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options. | |
586 | ||
ec6d26be NS |
587 | 2009-05-22 Nathan Sidwell <nathan@codesourcery.com> |
588 | ||
589 | * ldlang.c (lang_check_section_addresses): Ignore non-loadable | |
590 | sections when checking for overlap. Clarify error message | |
591 | concerns load address. | |
592 | ||
2b3decb5 AM |
593 | 2009-05-22 Alan Modra <amodra@bigpond.net.au> |
594 | ||
595 | * Makefile.am: Run "make dep-am". | |
596 | * Makefile.in: Regenerate. | |
597 | ||
c1711530 DK |
598 | 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com> |
599 | ||
600 | * NEWS: Mention new feature. | |
601 | * deffile.h (def_file_aligncomm): Add new struct definition. | |
602 | (def_file): Add new def_file_aligncomm member. | |
603 | * deffilep.y (%token): Add new ALIGNCOMM token. | |
604 | (command): Add production rule for ALIGNCOMM. | |
605 | (def_file_free): Free any chained def_file_aligncomm structs. | |
606 | (diropts[]): Add entry for '-aligncomm' .drectve command. | |
607 | (def_aligncomm): New grammar function. | |
608 | * ld.texinfo: Document new feature. | |
609 | * pe-dll.c (process_def_file): Rename from this ... | |
610 | (process_def_file_and_drectve): ... to this, updating all callers, | |
611 | and process any aligncomms chained to the def file after scanning | |
612 | all .drectve sections. | |
613 | (generate_edata): Updated to match. | |
614 | (pe_dll_build_sections): Likewise. | |
615 | ||
b982bd05 | 616 | 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
177b81d6 DK |
617 | |
618 | * pe-dll.c (process_def_file): Do not create empty export table. | |
619 | ||
d127ecce AM |
620 | 2009-05-15 Alan Modra <amodra@bigpond.net.au> |
621 | ||
622 | * ldlang.c (lang_output_section_statement_lookup): Add function | |
623 | comment. Make "name" non-const. Ensure duplicate entries use | |
624 | the same string, allowing simple comparison in hash bucket loop. | |
625 | Tweak constraint check. | |
626 | (next_matching_output_section_statement): New function. | |
627 | * ldlang.h (lang_output_section_statement_lookup): Update. | |
628 | (next_matching_output_section_statement): Declare. | |
629 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
630 | combine orphan sections when input sections flags differ in | |
631 | alloc or load. | |
632 | * emultempl/pe.em: Formatting throughout. | |
633 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
634 | * emultempl/pep.em: Formatting throughout. | |
635 | (gld${EMULATION_NAME}_place_orphan): As for elf32.em. | |
636 | ||
cdc83fba UW |
637 | 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
638 | ||
639 | * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use | |
640 | compact stubs with software i-cache. | |
641 | ||
bbb0fc04 AM |
642 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
643 | ||
644 | * emultempl/spuelf.em (spu_before_allocation): Call | |
645 | spu_elf_place_overlay_data. | |
646 | ||
011aa75f AM |
647 | 2009-05-14 Alan Modra <amodra@bigpond.net.au> |
648 | ||
649 | * ldlang.c (lang_insert_orphan): Add __start_<section> symbol | |
650 | assignment inside output section statement. Ensure only one | |
651 | set of symbols per output section. | |
652 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non- | |
653 | dollar sections before dollar sections. Correct add_child | |
654 | list insertion. | |
655 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
656 | ||
2468f9c9 PB |
657 | 2009-05-05 Paul Brook <paul@codesourcery.com> |
658 | ||
659 | * emultempl/armelf.em (compare_output_sec_vma): New function. | |
660 | (gld${EMULATION_NAME}_finish): Add exidx munging code. | |
661 | ||
84f1b567 NC |
662 | 2009-05-05 Anatoly Sokolov <aesok@post.ru> |
663 | ||
664 | * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN. | |
665 | * emulparams/avr1.sh (DATA_ORIGIN): Add. | |
666 | * emulparams/avr2.sh (DATA_ORIGIN): Add. | |
667 | * emulparams/avr25.sh (DATA_ORIGIN): Add. | |
668 | * emulparams/avr3.sh (DATA_ORIGIN): Add. | |
669 | * emulparams/avr31.sh (DATA_ORIGIN): Add. | |
670 | * emulparams/avr35.sh (DATA_ORIGIN): Add. | |
671 | * emulparams/avr4.sh (DATA_ORIGIN): Add. | |
672 | * emulparams/avr5.sh (DATA_ORIGIN): Add. | |
673 | * emulparams/avr51.sh (DATA_ORIGIN): Add. | |
674 | (DATA_LENGTH): Update. | |
675 | * emulparams/avr6.sh (DATA_ORIGIN): Add. | |
676 | (DATA_LENGTH): Update. | |
677 | ||
09e2aba4 DK |
678 | 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com> |
679 | ||
680 | * NEWS: Mention new feature. | |
681 | * ld.texinfo (--version-script): Document extent of PE support. | |
682 | (WIN32): Mention --version-script. Extend auto-export description. | |
683 | * pe-dll.c (process_def_file): Use version script info to filter | |
684 | symbols from auto-export. | |
685 | * testsuite/ld-pe/vers-script-1.d: New file. | |
686 | * testsuite/ld-pe/vers-script-2.d: New file. | |
687 | * testsuite/ld-pe/vers-script-3.d: New file. | |
688 | * testsuite/ld-pe/vers-script-4.d: New file. | |
689 | * testsuite/ld-pe/vers-script-1.ver: New file. | |
690 | * testsuite/ld-pe/vers-script-2.ver: New file. | |
691 | * testsuite/ld-pe/vers-script-3.ver: New file. | |
692 | * testsuite/ld-pe/vers-script-4.ver: New file. | |
693 | * testsuite/ld-pe/vers-script-dll.c: New file. | |
694 | * testsuite/ld-pe/vers-script.exp: New test script. | |
695 | ||
1f7f5cbe NS |
696 | 2009-05-01 Nathan Sidwell <nathan@codesourcery.com> |
697 | ||
698 | * emulparams/vxworks.sh (TEXT_START_ADDR): Override. | |
699 | ||
d8045f23 NC |
700 | 2009-04-30 Nick Clifton <nickc@redhat.com> |
701 | ||
702 | * NEWS: Mention support for IFUNC symbols. | |
703 | ||
efaf18f3 AG |
704 | 2009-04-29 Anthony Green <green@moxielogic.com> |
705 | ||
706 | * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack | |
707 | position out to accommodate larger programs. | |
708 | ||
267e2722 CD |
709 | 2009-04-29 Chris Demetriou <cgd@google.com> |
710 | ||
711 | * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC. | |
712 | (ld_options): Likewise. | |
713 | (parse_args): Likewise. | |
714 | * ld.texinfo: Document --no-export-dynamic. | |
715 | * NEWS: Mention --no-export-dynamic. | |
716 | ||
8e58566f AM |
717 | 2009-04-29 Alan Modra <amodra@bigpond.net.au> |
718 | ||
719 | * deffilep.y (STACKSIZE_K): Rename from STACKSIZE. | |
720 | ||
f50230ae AM |
721 | 2009-04-25 Alan Modra <amodra@bigpond.net.au> |
722 | ||
cafed8af | 723 | PR 10061 |
f50230ae AM |
724 | * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT |
725 | param. | |
726 | ||
3e6b1042 DJ |
727 | 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com> |
728 | ||
729 | * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open) | |
730 | (arm_elf_set_bfd_for_interworking): Delete. | |
731 | (arm_elf_before_allocation): Do not set the interworking BFD. | |
732 | Move allocation inside not-dynamic block. | |
733 | (arm_elf_create_output_section_statements): Create glue sections | |
734 | and set the interworking BFD here. | |
735 | (LDEMUL_AFTER_OPEN): Delete. | |
736 | ||
3023e3f6 RS |
737 | 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
738 | ||
739 | * ldlang.c (lang_one_common): Use bfd_define_common_symbol. | |
740 | ||
20135e4c NC |
741 | 2009-04-15 Anthony Green <green@moxielogic.com> |
742 | ||
743 | * configure.tgt: Add moxie support. | |
744 | * Makefile.am: Add moxie files. | |
745 | * Makefile.in: Rebuilt. | |
746 | * emulparams/elf32moxie.sh: New file. | |
747 | * scripttempl/moxie.sc: New file. | |
748 | ||
39e65143 KH |
749 | 2009-04-15 Kazu Hirata <kazu@codesourcery.com> |
750 | ||
751 | * ldlang.c: Do not include limits.h. | |
752 | ||
c38b10fa AM |
753 | 2009-04-14 Alan Modra <amodra@bigpond.net.au> |
754 | ||
755 | PR ld/10047 | |
756 | * ldfile.c (find_scripts_dir): Use make_relative_prefix to find | |
757 | ldscripts in build tree. Don't repeat search for ../lib/ldscripts. | |
758 | ||
8c3e16f4 L |
759 | 2009-04-13 H.J. Lu <hongjiu.lu@intel.com> |
760 | ||
761 | * ldfile.c (ldfile_find_command_file): Revert the last change. | |
762 | ||
6dc6e834 L |
763 | 2009-04-11 H.J. Lu <hongjiu.lu@intel.com> |
764 | ||
765 | PR ld/10047 | |
766 | * ldfile.c (ldfile_find_command_file): First try raw name. | |
767 | ||
0c71d759 NC |
768 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
769 | ||
770 | PR 9824 | |
771 | * ld.texinfo (Output Section Constraint): New node. Documents the | |
772 | ONLY_IF_RO and ONLY_IF_RW constraints. | |
773 | (Symbolic Constants): New node. Documents the CONSTANT operator. | |
774 | ||
fc15a272 AM |
775 | 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de> |
776 | ||
777 | * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place | |
778 | of fork/execvp. | |
779 | ||
a0c402a5 L |
780 | 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> |
781 | ||
782 | * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. | |
783 | (ld_options): Likewise. | |
784 | (parse_args): Likewise. | |
785 | ||
786 | * ld.texinfo: Document --warn-alternate-em. | |
787 | ||
788 | * NEWS: Mention --warn-alternate-em. | |
789 | ||
4d28413b DD |
790 | 2009-04-07 DJ Delorie <dj@redhat.com> |
791 | ||
792 | * emulparams/elf32mep.sh: Change default endian to little. | |
793 | ||
6ce340f1 NC |
794 | 2009-04-07 Nick Clifton <nickc@redhat.com> |
795 | ||
796 | * ld.texinfo (Output Section Address): Note that specifying an | |
797 | address for an output section will only change the location | |
798 | counter if the output section is used. | |
799 | ||
32252ac1 KH |
800 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
801 | ||
802 | * ldfile.c (ldfile_find_command_file): Initialize result. | |
803 | ||
7d24f02c KH |
804 | 2009-04-06 Kazu Hirata <kazu@codesourcery.com> |
805 | ||
806 | * ld.texinfo (-L): Mention that -L options do not affect how ld | |
807 | searches for a linker script unless -T option is specified. | |
808 | * ldfile.c (ldfile_find_command_file): Append the path obtained | |
809 | from the program name to the search path instead of | |
810 | prepending. Add a new parameter "default_only". Restrict the | |
811 | search to the default script location if the new parameter is | |
812 | true. | |
813 | (ldfile_open_command_file_1): New. | |
814 | (ldfile_open_command_file): Call ldfile_open_command_file_1. | |
815 | (ldfile_open_default_command_file): New. | |
816 | ||
113e6845 NS |
817 | 2009-04-03 Nathan Sidwell <nathan@codesourcery.com> |
818 | ||
819 | * ldlang.c (lang_leave_output_section_statement): Set lma_region | |
820 | if it is not overridden and section is for the same vma region as | |
821 | the previous section. | |
822 | ||
8b747e1a DK |
823 | 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com> |
824 | ||
825 | PR ld/6744 | |
826 | * ld.texinfo (--export-dynamic): Mention --export-all-symbols. | |
827 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue | |
828 | warning if --export-dynamic was passed on command-line. | |
829 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. | |
830 | ||
24c611d1 RS |
831 | 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com> |
832 | ||
833 | * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New | |
834 | function. | |
835 | (ld_${EMULATION_NAME}_emulation): Use it. | |
836 | ||
4bf27aa9 L |
837 | 2009-03-20 H.J. Lu <hongjiu.lu@intel.com> |
838 | ||
839 | PR ld/9970 | |
840 | * ldlang.c (lang_end): Warn missing entry symbol for -pie. | |
841 | ||
ad2adbc8 AM |
842 | 2009-03-19 Alan Modra <amodra@bigpond.net.au> |
843 | ||
844 | * emultempl/spuelf.em (spu_before_allocation): Report errors from | |
845 | spu_elf_find_overlays. | |
846 | ||
e9dfee34 L |
847 | 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> |
848 | ||
849 | PR ld/6766 | |
850 | * lexsup.c (parse_args): Call ldlang_add_undef for -e. | |
851 | ||
8d25cc3d AM |
852 | 2009-03-18 Alan Modra <amodra@bigpond.net.au> |
853 | ||
854 | * ld.h: Remove alloca handling. | |
855 | ||
a7e11ee1 AM |
856 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
857 | ||
858 | * emultempl/spu_icache.S: Add new entry to dummy handler. | |
859 | * emultempl/spu_icache.o_c: Regenerate. | |
860 | * emultempl/spuelf.em (params): Init new field. | |
861 | (no_overlays): New static var. | |
862 | (spu_before_allocation): Use it. | |
863 | (OPTION_SPU_COMPACT_STUBS): Define. | |
864 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs. | |
865 | (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays | |
866 | handling. | |
867 | ||
bba21f15 AM |
868 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
869 | ||
870 | * configure.host (HOSTING_LIBS): Two dollars on shell variable | |
871 | expansion to suit make. | |
872 | ||
eccbf555 AM |
873 | 2009-03-17 Alan Modra <amodra@bigpond.net.au> |
874 | ||
875 | * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. | |
876 | * Makefile.am (check-DEJAGNU): Set DO_COMPARE. | |
877 | * aclocal.m4: Regenerate. | |
878 | * configure: Regenerate. | |
879 | * Makefile.in: Regenerate. | |
880 | ||
b64232cc RS |
881 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
882 | ||
883 | * emultempl/aix.em (auto_export_flags): New variable. | |
884 | (explicit_auto_export_flags): Likewise. | |
885 | (OPTION_EXPALL, OPTION_EXPFULL): New enum values. | |
886 | (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. | |
887 | (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, | |
888 | -bnoexpall and -bnoexpfull. | |
889 | (gld${EMULATION_NAME}_handle_option): Handle them. | |
890 | (gld${EMULATION_NAME}_before_allocation): Update the call to | |
891 | bfd_size_dynamic_sections. | |
892 | ||
858ef0ce RS |
893 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
894 | ||
895 | * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make | |
896 | -berok and -bernotok control link_info.unresolved_syms_in_objects | |
897 | and link_info.unresolved_syms_in_shared_libs instead of | |
898 | force_make_executable. | |
899 | ||
62008a16 RS |
900 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
901 | ||
902 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set | |
903 | config.dynamic_link to TRUE. | |
904 | ||
9ec59d51 RS |
905 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
906 | ||
907 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark | |
908 | .text, .data and .bss output sections as SEC_KEEP. | |
909 | ||
e5231592 RS |
910 | 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
911 | ||
912 | * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. | |
913 | ||
2f563b51 | 914 | 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com> |
249b2a84 | 915 | Danny Smith <dannysmith@users.sourceforge.net> |
2f563b51 DK |
916 | |
917 | * emultmpl/pe.em (pe_dll_characteristics): New variable. | |
918 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
919 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
920 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
921 | New macros for options to set DllCharacteristics flag bits. | |
922 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
923 | nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
924 | (init): Add DllCharacteristics field. | |
925 | (gld_${EMULATION_NAME}_list_options): List new options. | |
926 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
927 | * emultmpl/pep.em (pe_dll_characteristics): New variable. | |
928 | (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT, | |
929 | OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND, | |
930 | OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE): | |
931 | New macros for options to set DllCharacteristics flags. | |
932 | (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg, | |
933 | nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
934 | (init): Add DllCharacteristics field. | |
935 | (gld_${EMULATION_NAME}_list_options): List new options. | |
936 | (gld${EMULATION_NAME}_handle_option): Handle new options. | |
937 | * ldtexinfo : Document dynamicbase, forceinteg, nxcompat, | |
938 | no-isolation, no-seh, no-bind, wdmdriver, tsaware options. | |
939 | ||
d11fd249 NC |
940 | 2009-03-06 Nick Clifton <nickc@redhat.com> |
941 | ||
942 | * po/es.po: Updated Spanish translation. | |
943 | ||
3efd345c DK |
944 | 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com> |
945 | ||
946 | * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook. | |
947 | (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections | |
948 | of all input BFDs, looking for debug info. Enable long section names | |
949 | if any found. | |
950 | * emultempl/pe.em (debug_section_p): Likewise. | |
951 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
952 | * NEWS: Retrospectively adjust news announcement. | |
953 | * ld.texinfo: Update documentation to mention new behaviour. | |
954 | ||
a1f7ca36 AM |
955 | 2009-03-03 Alan Modra <amodra@bigpond.net.au> |
956 | ||
957 | * Makefile.am: Run "make dep-am". | |
958 | * Makefile.in: Regenerate. | |
959 | ||
4a93e180 NC |
960 | 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
961 | ||
962 | * ldgram.y: Add support for REGION_ALIAS operator. | |
963 | * ldlang.c: Likewise. | |
964 | * ldlang.h: Likewise. | |
965 | * ldlex.l: Likewise. | |
966 | * NEWS: Mention the new feature. | |
967 | * ld.texinfo: Document the new feature. | |
968 | ||
c3b7224a NC |
969 | 2009-03-02 Qinwei <qinwei@sunnorth.com.cn> |
970 | ||
971 | * Makefile.am: Replace score elf emulation with score3 and score7 | |
972 | emulations. | |
973 | * Makefile.in: Regenerate, | |
974 | * NEWS: Mention support for Score7 architecture. | |
975 | * configure.tgt: Add score7 emulation to score-elf target. | |
976 | * emulparams/scoreelf.sh: Add score7 support. | |
977 | * emultempl/scoreelf.em: Likewise. | |
978 | ||
d1bbb13a DA |
979 | 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
980 | ||
981 | * configure.tgt: Only use elf64hppa target emulation for hpux. | |
982 | * emulparams/elf64hppa.sh: Don't include hppa64linux.sh. | |
983 | (SCRIPT_NAME): Use new script elf64hppa. | |
984 | (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY, | |
985 | TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS, | |
986 | OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS, | |
987 | DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT, | |
988 | TEXT_DYNAMIC): Define. | |
989 | * emulparams/hppa64linux.sh: Adjust comments. | |
990 | * scripttempl/elf64hppa.sc: New file. | |
991 | ||
58e24671 RW |
992 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
993 | ||
994 | * configure: Regenerate. | |
995 | ||
5b9c6027 DK |
996 | 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com> |
997 | ||
998 | * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set | |
999 | default state of auto-import flag based on $target. | |
1000 | ||
07d72278 DJ |
1001 | 2009-02-24 Joseph Myers <joseph@codesourcery.com> |
1002 | ||
1003 | * ld.texinfo (ARM): Document changed meaning of --stub-group-size. | |
1004 | * emultempl/armelf.em (hook_in_stub): Insert after the input section. | |
1005 | (elf32_arm_add_stub_section): Update comment. | |
1006 | (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size. | |
1007 | ||
2509a395 SL |
1008 | 2009-02-24 Sandra Loosemore <sandra@codesourcery.com> |
1009 | ||
1010 | * ld.texinfo (Options): Correct typos in example. Recommend | |
7ee314fa | 1011 | using joined forms of syntax for passing options with arguments |
2509a395 SL |
1012 | from a driver. |
1013 | (-a): Use consistent syntax for documenting option arguments. | |
1014 | Clean up indexing and markup. | |
1015 | (-A/--architecture): Likewise. | |
1016 | (-f/--auxiliary): Likewise. | |
1017 | (-F/--filter): Likewise. | |
1018 | (-fini): Likewise. | |
1019 | (-G/--gpsize): Likewise. | |
1020 | (-h/-soname):Likewise. | |
1021 | (-init): Likewise. | |
1022 | (-l/--library): Likewise. | |
1023 | (-L/--library-path): Likewise. | |
1024 | (-m): Likewise. | |
1025 | (--defsym): Likewise. | |
1026 | (-I/--dynamic-linker): Likewise. | |
1027 | (-Map): Likewise. | |
1028 | (--oformat): Likewise. | |
1029 | (--retain-symbols-file): Likewise. | |
1030 | (-rpath): Likewise. | |
1031 | (-rpath-link): Likewise. | |
1032 | (--sort-common): Likewise. | |
1033 | (--sort-section): Likewise. | |
1034 | (--split-by-file): Likewise. | |
1035 | (--split-by-reloc): Likewise. | |
1036 | (--sysroot): Likewise. | |
1037 | (--section-start): Likewise. | |
1038 | (-Tbss, -Tdata, -Ttext): Likewise. | |
1039 | (-Ttext-segment): Likewise. | |
1040 | (--version-script): Likewise. | |
1041 | (--wrap): Likewise. | |
1042 | ||
44cf6883 | 1043 | 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com> |
88183869 DK |
1044 | |
1045 | * ld.texinfo: Update to mention long section name options. | |
1046 | * NEWS: Mention new behaviour and command-line options. | |
1047 | * pe-dll.c (pe_use_coff_long_section_names): New global variable. | |
1048 | (pe_output_file_set_long_section_names): New function. | |
1049 | (pe_dll_build_sections): Call it on output BFDs. | |
1050 | (pe_exe_build_sections): Likewise. | |
1051 | (pe_dll_fill_sections): Likewise. | |
1052 | (pe_exe_fill_sections): Likewise. | |
1053 | * pe-dll.h (pe_use_coff_long_section_names): Declare extern. | |
1054 | (pe_output_file_set_long_section_names): Add prototype. | |
1055 | * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias. | |
1056 | (pe_output_file_set_long_section_names): Likewise. | |
1057 | * pep-dll.h (pep_use_coff_long_section_names): Declare extern. | |
1058 | (pep_output_file_set_long_section_names): Add prototype. | |
1059 | * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro. | |
1060 | (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise. | |
1061 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
1062 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
1063 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
1064 | pe_use_coff_long_section_names flag when options recognised. | |
1065 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
1066 | for main output bfd by calling pe_output_file_set_long_section_names. | |
1067 | * pep.em (enum options): Extend enum with new getopt option values. | |
1068 | (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[]. | |
1069 | (gld_${EMULATION_NAME}_list_options): Describe them. | |
1070 | (gld${EMULATION_NAME}_handle_option): Set or clear global | |
1071 | pe_use_coff_long_section_names flag when options recognised. | |
1072 | (gld_${EMULATION_NAME}_after_open): En/disable long section names | |
1073 | for main output bfd by calling pep_output_file_set_long_section_names. | |
1074 | ||
1491f1f0 DK |
1075 | 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com> |
1076 | ||
1077 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit | |
1078 | inadvertent .reloc sections caused by refactoring accident. | |
1079 | ||
d2ae7be0 AM |
1080 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
1081 | ||
1082 | * ldlang.c (process_insert_statements): ASSERT that output section | |
1083 | statements are in order. | |
1084 | ||
bde18da4 AM |
1085 | 2009-02-16 Alan Modra <amodra@bigpond.net.au> |
1086 | ||
1087 | * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions. | |
1088 | (stat_save, stat_save_ptr): New variables. | |
1089 | (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr. | |
1090 | (load_symbols): Likewise. Delete dead "bad_load" code. | |
1091 | (open_input_bfds): Warn on script containing output sections. | |
1092 | (lang_enter_output_section_statement): Use push_stat_ptr. | |
1093 | (lang_enter_group): Likewise. | |
1094 | (lang_leave_output_section_statement): Use pop_stat_ptr. | |
1095 | (lang_leave_group): Likewise. | |
1096 | * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare. | |
1097 | * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr. | |
1098 | * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1099 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1100 | * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. | |
1101 | * emultempl/spuelf.em (spu_place_special_section): Likewise. | |
1102 | * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise. | |
1103 | ||
662ef24b NS |
1104 | 2009-02-09 Nathan Sidwell <nathan@codesourcery.com> |
1105 | ||
1106 | Missing piece of 2009-01-26 commit | |
1107 | * ldlang.c (lang_process): Don't consider relocatable flag when | |
1108 | checking for overlap. | |
1109 | ||
268e4015 JM |
1110 | 2009-02-05 Joseph Myers <joseph@codesourcery.com> |
1111 | ||
1112 | * emulparams/m68kelf.sh: Add newline at end of file. | |
1113 | ||
903249d7 NC |
1114 | 2009-02-04 Nick Clifton <nickc@redhat.com> |
1115 | ||
1116 | PR 9805 | |
1117 | * ld.texinfo (--allow-shlib-undefined): Correct description of | |
1118 | default settings and tidy up the rest of the entry. | |
1119 | ||
df636c05 AM |
1120 | 2009-02-04 Alan Modra <amodra@bigpond.net.au> |
1121 | ||
1122 | * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.* | |
1123 | during relocatable link. | |
1124 | ||
8a308ae8 NC |
1125 | 2009-02-03 Nick Clifton <nickc@redhat.com> |
1126 | ||
1127 | PR 9797 | |
1128 | * ld.texinfo (Constants): Document the base-encoding suffixes | |
1129 | supported in linker scripts. | |
1130 | ||
28024d9d L |
1131 | 2009-02-03 Alan Modra <amodra@bigpond.net.au> |
1132 | ||
1133 | * NEWS: Mention --as-needed change. | |
1134 | ||
31dd3154 JM |
1135 | 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> |
1136 | ||
1137 | * configure.in: AC_SUBST pdfdir. | |
1138 | * Makefile.am: Add install-pdf, install-pdf-am, | |
1139 | and install-pdf-recursive targets. Define pdf__strip_dir. | |
1140 | * po/Make-in: Add install-pdf target. | |
1141 | * configure: Regenerate. | |
1142 | * Makefile.in: Regenerate. | |
1143 | ||
010e5ae2 AM |
1144 | 2009-01-31 Alan Modra <amodra@bigpond.net.au> |
1145 | ||
1146 | * ld.texinfo (--as-needed): Update. | |
1147 | ||
893dcb0e JM |
1148 | 2009-01-29 Andrew Jenner <andrew@codesourcery.com> |
1149 | ||
1150 | * emultempl/armelf.em: Correct formatting of help text for | |
1151 | --no-enum-size-warning option. | |
1152 | ||
02b0b1aa NS |
1153 | 2009-01-26 Nathan Sidwell <nathan@codesourcery.com> |
1154 | ||
1155 | * lexsup.c (parse_args): Set check_section_addresses to 1 or 0. | |
1156 | * ld.h (args_type): Make check_section_addresses a char. | |
02b0b1aa NS |
1157 | * ldmain.c (main): Default check_section_addresses to -1. Check it |
1158 | for relocatable links. | |
1159 | * ld.texinfo (--check-sections): Update documentation. | |
1160 | ||
9382254d KT |
1161 | 2009-01-26 Kai Tietz <kai.tietz@onevision.com> |
1162 | ||
1163 | * pe-dll.c (tmp_seq2): New static variable. | |
1164 | (make_singleton_name_imp): New. | |
1165 | (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and | |
1166 | avoid duplicate import table generation for same symbol. | |
1167 | (pe_create_runtime_relocator_reference): Make reference for | |
1168 | 64-bit 8 bytes. | |
1169 | ||
fb266b8b AM |
1170 | 2009-01-21 Alan Modra <amodra@bigpond.net.au> |
1171 | ||
1172 | * emultempl/spuelf.em (params): Init new field. | |
1173 | (OPTION_SPU_NON_IA_TEXT): Define. | |
1174 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. | |
1175 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT. | |
1176 | ||
258795f5 L |
1177 | 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1178 | ||
1179 | * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. | |
1180 | (ld_options): Add -Ttext-segment. | |
1181 | (parse_args): Handle OPTION_TTEXT_SEGMENT. | |
1182 | ||
1183 | * ld.texinfo: Document -Ttext-segment. | |
1184 | ||
1185 | * NEWS: Mention -Ttext-segment. | |
1186 | ||
1187 | * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. | |
1188 | (SHLIB_TEXT_START_ADDR): Likewise. | |
1189 | ||
8d8047c4 AM |
1190 | 2009-01-13 Alan Modra <amodra@bigpond.net.au> |
1191 | ||
1192 | * emultempl/spu_icache.o_c: Regenerate. | |
1193 | ||
cd4a7468 AM |
1194 | 2009-01-12 Alan Modra <amodra@bigpond.net.au> |
1195 | ||
1196 | * emultempl/spuelf.em (params): Init new fields. | |
1197 | (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars. | |
1198 | (spu_place_special_section): Adjust placement for soft-icache. Pad | |
1199 | soft-icache section to a fixed size. Clear addr_tree. | |
1200 | (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager | |
1201 | sections a little more intelligently. | |
1202 | (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs. | |
1203 | (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS. | |
1204 | (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define. | |
1205 | (OPTION_SPU_LRLIVE): Define. | |
1206 | (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options. | |
1207 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
1208 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
1209 | * emultempl/spu_icache.S: Dummy file. | |
1210 | * emultempl/spu_icache.o_c: Regenerate. | |
1211 | * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c. | |
1212 | (spu_icache.o_c): Add rule to build. | |
1213 | (CLEANFILES): Zap temp files. | |
1214 | (EXTRA_DIST): Add spu_icache.o_c. | |
1215 | * Makefile.in: Regenerate. | |
1216 | ||
ce11ba6c KT |
1217 | 2009-01-08 Kai Tietz <kai.tietz@onevision.com> |
1218 | ||
1219 | * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New. | |
1220 | (gld..._add_options): Add new option | |
1221 | --use-nul-prefixed-import-tables. | |
1222 | (gld..._handle_option): Likewise. | |
1223 | * pep.em: Same as for pe.em. | |
1224 | * ld.texinfo: Add new option documentation for | |
1225 | --use-nul-prefixed-import-tables. | |
1226 | * pe-dll.c (pe_use_nul_prefixed_import_tables): New. | |
1227 | (make_head): Make prefix leading zero prefix element for | |
1228 | idata$4 and idata$5 dependent to new flag. | |
1229 | (make_import_fixup_entry): Remove idata4/5 prefix. | |
1230 | * pe-dll.h (pe_use_nul_prefixed_import_tables): New. | |
1231 | * pep-dll.c (pe_use_nul_prefixed_import_tables): New. | |
1232 | * pep-dll.h (pep_use_nul_prefixed_import_tables): New. | |
1233 | * NEWS: Add new option. | |
1234 | ||
d34c1c51 KT |
1235 | 2009-01-05 Kai Tietz <kai.tietz@onevision.com> |
1236 | ||
1237 | * emultempl/pe.em: Prefix dollar characters to be outputed in | |
1238 | generated C file. | |
1239 | * emultempl/pep.em: Likewise. | |
1240 | ||
e1c37eb5 DK |
1241 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
1242 | ||
1243 | * NEWS: Mention new feature --exclude-modules-for-implib. | |
1244 | * ld.texinfo: Document new --exclude-modules-for-implib option. | |
1245 | * pe-dll.c (exclude_list_struct): Change type member from int to | |
1246 | new enumeration exclude_type. | |
1247 | (pe_dll_add_excludes): Accept exclude_type instead of int param. | |
1248 | (auto_export): Replace magic constants by exclude_type values and | |
1249 | handle new choice EXCLUDEFORIMPLIB. | |
1250 | (pe_dll_generate_implib): Accept a pointer to the link_info and | |
1251 | iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open | |
1252 | fresh BFDs for any found and link into import lib archive chain. | |
1253 | * pe-dll.h (exclude_type): Add new enumerated type to replace magic | |
1254 | constants previously used for exclude_list_struct type member. | |
1255 | (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes. | |
1256 | * pep-dll.h (exclude_type, pe_dll_add_excludes, | |
1257 | pe_dll_generate_implib): Likewise to all the above. | |
1258 | * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new | |
1259 | getopts long option code for new --exclude-modules-for-implib option. | |
1260 | (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[]. | |
1261 | (gld_${EMULATION_NAME}_list_options): List usage for it. | |
1262 | (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated | |
1263 | values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB. | |
1264 | (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when | |
1265 | calling pe_dll_generate_implib. | |
1266 | * emultempl/pep.em (options): Define new enumerated value for getopts | |
1267 | long option code for new --exclude-modules-for-implib option. | |
1268 | (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options, | |
1269 | gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish): | |
1270 | Again, likewise to all the above. | |
1271 | ||
81b07b16 | 1272 | 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com> |
84e94c90 | 1273 | |
81b07b16 DK |
1274 | * pe-dll.c (autofilter_liblist): Add entry for shared libgcc. |
1275 | (libnamencmp): New function. | |
1276 | (auto_export): Use it in place of strncmp when filtering libraries. | |
84e94c90 | 1277 | |
81b07b16 | 1278 | For older changes see ChangeLog-2008 |
252b5132 RH |
1279 | \f |
1280 | Local Variables: | |
1281 | mode: change-log | |
1282 | left-margin: 8 | |
1283 | fill-column: 74 | |
1284 | version-control: never | |
1285 | End: |