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