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