Commit | Line | Data |
---|---|---|
81e1b023 L |
1 | 2005-03-22 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New | |
4 | (gld${EMULATION_NAME}_finish): Call | |
5 | gld${EMULATION_NAME}_provide_bound_symbols to provide | |
6 | __preinit_array_start, __preinit_array_end, __init_array_start, | |
7 | __init_array_end, __fini_array_start and __fini_array_end. | |
8 | ||
9 | * scripttempl/elf.sc: Don't provide __preinit_array_start, | |
10 | __preinit_array_end, __init_array_start, __init_array_end, | |
11 | __fini_array_start nor __fini_array_end. | |
12 | ||
11d2f718 AM |
13 | 2005-03-23 Alan Modra <amodra@bigpond.net.au> |
14 | ||
15 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set | |
16 | SEC_EXCLUDE on .gnu.warning sections. | |
17 | ||
644285ef AM |
18 | 2005-03-22 Alan Modra <amodra@bigpond.net.au> |
19 | ||
20 | * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. | |
21 | ||
c9a2f333 AM |
22 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
23 | ||
24 | * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New | |
25 | function. | |
26 | (LDEMUL_AFTER_ALLOCATION): Define. | |
27 | ||
b1ab9777 AM |
28 | 2005-03-21 Alan Modra <amodra@bigpond.net.au> |
29 | ||
30 | * emultempl/ppc64elf.em (ppc_finish): Rename from | |
31 | gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. | |
32 | (LDEMUL_FINISH): Update. | |
33 | * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. | |
34 | * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. | |
35 | ||
2a2a7c94 JB |
36 | 2005-03-18 Julian Brown <julian@codesourcery.com> |
37 | ||
38 | * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, | |
39 | .rel.fini_array. | |
40 | (.rela.dyn): Add .rela.init_array, .rela.fini_array. | |
41 | (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. | |
42 | ||
98720c64 L |
43 | 2005-03-18 H.J. Lu <hongjiu.lu@intel.com> |
44 | ||
45 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set | |
46 | bfd_section when removing unused empty output sections for | |
47 | non-relocatable link. | |
48 | ||
41c7ba7c AM |
49 | 2005-03-19 Alan Modra <amodra@bigpond.net.au> |
50 | ||
51 | * ldlang.c (lang_insert_orphan): Use old section_tail rather than | |
52 | traversing the bfd section list to find pointer to new section. | |
53 | ||
0fb53118 AM |
54 | 2005-03-18 Alan Modra <amodra@bigpond.net.au> |
55 | ||
56 | * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 | |
57 | input sections into .sdata and .sbss output respectively. | |
58 | ||
de7f8cc8 BW |
59 | 2005-03-16 David Heine <dlheine@tensilica.com> |
60 | Bob Wilson <bob.wilson@acm.org> | |
61 | ||
62 | * ldlang.c (IGNORE_SECTION): Remove check for zero size. | |
63 | (lang_check_section_addresses): Ignore zero size sections here. | |
64 | ||
57316bff L |
65 | 2005-03-16 H.J. Lu <hongjiu.lu@intel.com> |
66 | ||
67 | * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove | |
68 | unused empty output sections for non-relocatable link. | |
69 | ||
70 | * ld.h (args_type): Remove gc_sections. | |
71 | ||
72 | * ldlang.c (lang_mark_used_section): New. | |
73 | (lang_gc_sections): Use link_info.gc_sections instead of | |
74 | command_line.gc_sections. | |
75 | * ldmain.c (main): Likewise. | |
76 | * lexsup.c (parse_args): Likewise. | |
77 | * ldlang.c (lang_process): Call lang_mark_used_section. | |
78 | ||
79 | * ldmain.c (main): Initialize link_info.gc_sections to FALSE. | |
80 | ||
1ad12f97 NC |
81 | 2005-03-16 Nick Clifton <nickc@redhat.com> |
82 | Ben Elliston <bje@au.ibm.com> | |
83 | ||
569acd2c | 84 | * configure.in (werror): New switch: Add -Werror to the |
1ad12f97 | 85 | compiler command line. Enabled by default. Disable via |
569acd2c | 86 | --disable-werror. |
1ad12f97 NC |
87 | * configure: Regenerate. |
88 | ||
cb2d1ef2 AM |
89 | 2005-03-16 Alan Modra <amodra@bigpond.net.au> |
90 | ||
91 | * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. | |
92 | (OTHER_RELRO_SECTIONS): Set this instead. | |
93 | ||
957d91c1 NC |
94 | 2005-03-15 Nick Clifton <nickc@redhat.com> |
95 | ||
96 | * NEWS: Add cutoff for changes in 2.16 release. | |
97 | ||
34723071 NC |
98 | 2005-03-15 Mikkel Krautz <krautz@gmail.com> |
99 | ||
100 | * configure.tgt (x86_64-elf): Add target. | |
101 | ||
729ae8d2 AM |
102 | 2005-03-15 Alan Modra <amodra@bigpond.net.au> |
103 | ||
104 | * po/es.po: Commit new Spanish translation. | |
105 | ||
8b3d8fa8 AM |
106 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
107 | ||
108 | * ldexp.c (exp_fold_tree): Ensure return value is initialized. | |
109 | Tidy etree_assert case. | |
110 | ||
882cb63e AM |
111 | 2005-03-14 Alan Modra <amodra@bigpond.net.au> |
112 | ||
113 | * po/tr.po: Commit new Turkish translation. | |
114 | ||
61c84b48 DJ |
115 | 2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> |
116 | ||
117 | * Makefile.am: Remove references to em68klynx.o and esparclynx.o. | |
118 | * Makefile.in: Regenerated. | |
119 | * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. | |
120 | ||
41c9e29d NC |
121 | 2005-03-07 Nick Clifton <nickc@redhat.com> |
122 | ||
123 | * po/fr.po: Updated translation. | |
124 | ||
06647dfd AM |
125 | 2005-03-05 Alan Modra <amodra@bigpond.net.au> |
126 | ||
127 | * po/ld.pot: Regenerate. | |
128 | ||
bb14f524 JB |
129 | 2005-03-02 Jan Beulich <jbeulich@novell.com> |
130 | ||
131 | * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. | |
132 | * pe-dll.c (pe_dll_generate_implib): Likewise. | |
133 | ||
0ef622cb BE |
134 | 2005-02-24 Ben Elliston <bje@au.ibm.com> |
135 | ||
136 | * ldfile.c: Remove GNU960 conditional code. | |
137 | * emultempl/gld960.em: Likewise. | |
138 | * emultempl/gld960c.em: Likewise. | |
139 | * emultempl/lnk960.em: Likewise. | |
140 | ||
f3f4bcca NC |
141 | 2005-02-24 Nick Clifton <nickc@redhat.com> |
142 | ||
143 | * emultempl/lnk960.em (lnk960_before_parse): Remove redundant | |
144 | empty string from calls to concat. | |
145 | ||
146 | 2005-02-23 Nick Clifton <nickc@redhat.com> | |
147 | ||
148 | * emultempl/lnk960.em (lnk960_before_parse): Terminate list of | |
149 | arguments passed to concat() with a NULL. | |
150 | ||
151 | * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they | |
152 | define types needed by ldfile.h | |
153 | ||
47639182 AM |
154 | 2005-02-23 Alan Modra <amodra@bigpond.net.au> |
155 | ||
156 | * pe-dll.c: Warning fixes. | |
157 | * emultempl/sunos.em: Likewise. | |
158 | ||
ace66bb2 DJ |
159 | 2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
160 | ||
161 | * ldlang.c (section_already_linked): Don't call | |
162 | bfd_section_already_linked for dynamic objects. | |
163 | ||
5718918d AM |
164 | 2005-02-22 Alan Modra <amodra@bigpond.net.au> |
165 | ||
166 | * ldexp.c: Warning fixes. | |
167 | * ldwrite.c: Likewise. | |
168 | * emultempl/elf32.em: Likewise. | |
169 | ||
ebe372c1 L |
170 | 2005-02-21 H.J. Lu <hongjiu.lu@intel.com> |
171 | ||
172 | * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI | |
173 | tic54x input only. | |
174 | (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF | |
175 | and ECOFF output only. | |
176 | ||
0ca2f5d5 AM |
177 | 2005-02-21 Alan Modra <amodra@bigpond.net.au> |
178 | ||
179 | * config.in: Regenerate. | |
180 | * configure: Regenerate. | |
181 | ||
fbbb9ac5 ZW |
182 | 2005-02-17 Zack Weinberg <zack@codesourcery.com> |
183 | ||
184 | * ldexp.c (assigning_to_dot): New global flag. | |
185 | (fold_name): If assigning_to_dot is true, object immediately to | |
186 | an undefined symbol. | |
187 | (exp_fold_tree): Set and clear assigning_to_dot around the | |
188 | recursive call to exp_fold_tree to process the right-hand side | |
189 | of an assignment to the location counter. | |
190 | ||
c68dac40 PB |
191 | 2005-02-17 Paul Brook <paul@codesourcery.com> |
192 | ||
193 | * scripttempl/armbpabi.sc: Add dummy name to version block. | |
194 | ||
20c2cbe3 AM |
195 | 2005-02-17 Alan Modra <amodra@bigpond.net.au> |
196 | ||
197 | * ldexp.c (new_abs): Init new.str. | |
198 | ||
0b48acfe MM |
199 | 2005-02-15 Mark Mitchell <mark@codesourcery.com> |
200 | ||
201 | * configure.in (AC_CHECK_FUNCS): Add glob. | |
202 | * configure: Regenerated. | |
203 | * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is | |
204 | not defined. | |
205 | (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob | |
206 | if HAVE_GLOB is not defined. | |
fbbb9ac5 | 207 | |
ff925e69 KK |
208 | 2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
209 | ||
210 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define | |
211 | lib_path if NATIVE is yes. | |
212 | ||
92b7a70f AM |
213 | 2005-02-16 Alan Modra <amodra@bigpond.net.au> |
214 | ||
215 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make | |
216 | an error creating fake bfd fatal. | |
217 | (ppc_before_allocation): Continue on after errors. | |
218 | (gld${EMULATION_NAME}_finish): Likewise. | |
219 | ||
297ba367 NC |
220 | 2005-02-15 Nick Clifton <nickc@redhat.com> |
221 | ||
222 | * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is | |
223 | not declared. It is not used and its presence causes a compile | |
224 | time warning. | |
fbbb9ac5 | 225 | |
9eabd475 ZW |
226 | 2005-02-11 Zack Weinberg <zack@codesourcery.com> |
227 | ||
228 | * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): | |
229 | If st.st_ino is zero, do not treat the library as a duplicate. | |
230 | ||
d457dcf6 JJ |
231 | 2005-02-10 Jakub Jelinek <jakub@redhat.com> |
232 | ||
233 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
234 | Set BFD_LINKER_CREATED on the stubs bfd. | |
235 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
236 | Likewise. | |
237 | ||
4e5db43b MM |
238 | 2005-02-08 Mark Mitchell <mark@codesourcery.com> |
239 | ||
240 | * scripttempl/armbpabi.sc (VERSION): Make special section symbols | |
9eabd475 | 241 | local. |
4e5db43b MM |
242 | (Image$$ER_RO$$Base): Define whenever RELOCATING. |
243 | (Image$$ER_RO$$Limit): Likewise. | |
244 | (SHT$$INIT_ARRAY$$Base): Likewise. | |
245 | (SHT$$INIT_ARRAY$$Limit): Likeise. | |
246 | ||
4297f9f1 BE |
247 | 2005-02-10 Ben Elliston <bje@au.ibm.com> |
248 | ||
249 | * emultempl/beos.em: Remove #if 0 and #if 1 blocks. | |
250 | ||
1c7c5e5b RS |
251 | 2005-02-08 Richard Sandiford <rsandifo@redhat.com> |
252 | ||
253 | * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath | |
254 | to include o32 and n64 emulations. | |
255 | (mips64*-*-linux-gnu*): Likewise. | |
256 | ||
300475fe HPN |
257 | 2005-02-08 Hans-Peter Nilsson <hp@axis.com> |
258 | ||
259 | * ldmain.c (warning_callback, warning_find_reloc): Prepend | |
260 | "warning: " to warning messages. | |
261 | ||
4ea42fb7 AM |
262 | 2005-02-04 Alan Modra <amodra@bigpond.net.au> |
263 | ||
264 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't | |
265 | look up symbol for etree_provide here. | |
266 | ||
161f49a3 DJ |
267 | 2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> |
268 | ||
269 | * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. | |
270 | ||
73ae6183 NC |
271 | 2005-02-01 Edward Welbourne <eddy@opera.com> |
272 | Nick Clifton <nickc@redhat.com> | |
273 | ||
274 | * ld.texinfo (Source Code Reference): New node describing how to | |
275 | access linker script defined variables from source code. | |
276 | ||
77cfaee6 AM |
277 | 2005-02-01 Alan Modra <amodra@bigpond.net.au> |
278 | ||
279 | * ld.texinfo: Clarify --as-needed operation. | |
280 | ||
c46f8c51 AC |
281 | 2005-01-31 Andrew Cagney <cagney@gnu.org> |
282 | ||
283 | * configure: Regenerate to track ../gettext.m4. | |
284 | ||
d342277e NC |
285 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
286 | ||
287 | * ldver.c (ldversion): Bump reported copyright date to 2005. | |
288 | ||
d6486796 NC |
289 | 2005-01-31 Nick Clifton <nickc@redhat.com> |
290 | ||
291 | * configure.tgt: Remove obsolete targets m68k-lynxos and | |
292 | sparc-lynxos. | |
293 | ||
319850b4 JB |
294 | 2005-01-28 Julian Brown <julian@codesourcery.com> |
295 | ||
296 | * emultempl/armelf.em (fix_v4bx): New variable. | |
297 | (arm_elf_create_output_section_statements): Communicate fix_v4bx flag | |
298 | value to bfd. | |
299 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. | |
300 | (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. | |
301 | (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. | |
9eabd475 | 302 | (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. |
319850b4 JB |
303 | * NEWS: Mention --fix-v4bx. |
304 | * ld.texinfo: Document --fix-v4bx. | |
305 | ||
dc4c9c19 MM |
306 | 2005-01-25 Mark Mitchell <mark@codesourcery.com> |
307 | ||
308 | * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so | |
309 | as to include .ARM.exidx$${Base,Limit}. | |
310 | * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. | |
311 | Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. | |
312 | Put .init_array, .fini_array, etc. into the read-only data | |
9eabd475 ZW |
313 | segment. |
314 | ||
7e9f0867 AM |
315 | 2005-01-25 Alan Modra <amodra@bigpond.net.au> |
316 | ||
317 | * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. | |
318 | (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were | |
319 | only needed by an as-needed lib that didn't get linked. | |
320 | ||
7e69709c AM |
321 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
322 | ||
323 | * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct | |
324 | __DTOR_LIST__ description. | |
325 | ||
b5666f2f AM |
326 | 2005-01-23 Alan Modra <amodra@bigpond.net.au> |
327 | ||
328 | * ld.texinfo (Location Counter <dot outside sections>): Document | |
329 | effects of orphan section placement, and ". = ." workaround. | |
330 | * Makefile.in: Regenerate. | |
331 | ||
4e25343c RS |
332 | 2005-01-22 Richard Sandiford <rsandifo@redhat.com> |
333 | ||
334 | * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". | |
335 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. | |
336 | ||
b717d30e JJ |
337 | 2005-01-21 Jakub Jelinek <jakub@redhat.com> |
338 | ||
339 | * ldgram.y (AS_NEEDED): New token. | |
340 | (input_list): Handle AS_NEEDED ( input_list ). | |
341 | * ldlex.l (AS_NEEDED): Add. | |
342 | * ld.texinfo: Document AS_NEEDED (). | |
343 | * NEWS: Mention AS_NEEDED (). | |
344 | ||
7a64f7b8 BE |
345 | 2005-01-21 Ben Elliston <bje@au.ibm.com> |
346 | ||
347 | * ldlang.c (lang_reasonable_defaults): Remove. | |
348 | (lang_process): Don't call lang_reasonable_defaults. | |
349 | ||
350 | * ldexp.c (exp_assop): Remove #if 0'd code. | |
351 | (exp_print_tree): Likewise. | |
352 | * ldlang.c (lang_memory_region_lookup): Likewise. | |
353 | (open_output): Likewise. | |
354 | (lang_do_assignments_1): Likewise. | |
355 | (lang_place_orphans): Likewise. | |
356 | (lang_enter_output_section_statement): Likewise. | |
357 | (lang_reasonable_defaults): Likewise. | |
358 | * ldlang.h (struct lang_input_statement_struct): Likewise. | |
359 | * mri.c (mri_draw_tree): Likewise. | |
360 | (mri_load): Likewise. | |
361 | * pe-dll.c (generate_reloc): Likewise. | |
362 | (make_import_fixup_entry): Likewise. | |
363 | (pe_as16): Likewise. | |
364 | * emultempl/beos.em (set_pe_subsystem): Likewise. | |
365 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. | |
366 | * emultempl/pe.em: Likewise. | |
367 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. | |
368 | ||
a154a8ad MM |
369 | 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
370 | ||
371 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. | |
372 | (earmelfb_linux_eabi.c): New target. | |
373 | * Makefile.in: Regenerated. | |
374 | * configure.tgt (arm*b-*-linux-gnueabi): New target. | |
375 | * emulparams/armelfb_linux_eabi.sh: New file. | |
376 | ||
9c183183 AM |
377 | 2005-01-20 Nick Hudson <skrll@netbsd.org> |
378 | ||
379 | PR ld/676 | |
380 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
381 | Handle bfd_elf32_hppa_nbsd_vec. | |
382 | ||
e2243057 RS |
383 | 2005-01-19 Richard Sandiford <rsandifo@redhat.com> |
384 | ||
385 | * ldmain.h (ld_sysroot): Change type to a constant string. | |
386 | * ldmain.c (ld_sysroot): Likewise. | |
387 | (get_relative_sysroot, get_sysroot): New functions, adding command-line | |
388 | support for changing the sysroot. | |
389 | (main): Call the new functions. | |
390 | * lexsup.c (OPTION_SYSROOT): New. | |
391 | (ld_options): Add --sysroot. | |
392 | (parse_args): Add a dummy handler for it. | |
393 | * ld.texinfo (--sysroot): Document. | |
394 | * NEWS: Mention the new --sysroot option. | |
395 | ||
1449d79b AM |
396 | 2005-01-18 Alan Modra <amodra@bigpond.net.au> |
397 | ||
398 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. | |
399 | (lang_place_orphans): Don't abort on just_syms_flag, instead call | |
400 | bfd_link_just_syms. | |
401 | ||
a880c748 DS |
402 | 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
403 | ||
404 | * defilep.y (def_name, def_library): Combine into... | |
405 | (def_image_name): New function. Strip name to basename, | |
406 | with warning. | |
407 | ||
07baa8ee MK |
408 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
409 | ||
410 | * configure.in: Be sure to invoke config.sub using the shell. | |
411 | * configure: Regenerate. | |
412 | ||
e9b181b8 AM |
413 | 2005-01-11 Alan Modra <amodra@bigpond.net.au> |
414 | ||
415 | * configure.host: Correct sed patterns for last change. | |
416 | ||
59ef2528 NC |
417 | 2005-01-10 Nick Clifton <nickc@redhat.com> |
418 | ||
419 | PR binutils/609 | |
420 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this | |
421 | to determine whether config.make_executable should be set to FALSE in | |
422 | conjunction with config.fatal_warnings. | |
423 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. | |
424 | (einfo): Pass TRUE as the extra argument. | |
425 | ||
71a2d53a NC |
426 | 2005-01-10 Greg Schaffer <gschafer@zip.com.au> |
427 | ||
428 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead | |
429 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. | |
430 | (ia64-*-aix): Delete - this target is obsolete, and would be | |
431 | broken by this patch. | |
432 | ||
d6d0b336 EB |
433 | 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
434 | ||
435 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. | |
436 | (sparc64-sun-solaris2*): New host. | |
437 | ||
4e7fd91e PB |
438 | 2005-01-06 Paul Brook <paul@codesourcery.com> |
439 | ||
440 | * Makefie.am: Add earmelf_vxworks. | |
441 | * Makefile.in: Regenerate. | |
442 | * configure.tgt: Make arm-*-vxworks a separate case. | |
443 | * emulparams/armelf_vxworks.sh: New function. | |
444 | ||
4c52953f AM |
445 | 2005-01-06 Alan Modra <amodra@bigpond.net.au> |
446 | ||
447 | * emultempl/ppc64elf.em (no_multi_toc): New var. | |
448 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. | |
449 | (OPTION_NO_MULTI_TOC): Define. | |
450 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. | |
451 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. | |
452 | ||
98d87ee7 NC |
453 | 2005-01-05 Nick Clifton <nickc@redhat.com> |
454 | ||
455 | PR binutils/614 | |
456 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding | |
4c52953f | 457 | Standard's specification for parsable error messages. |
98d87ee7 | 458 | |
5f81b918 PB |
459 | 2005-01-04 Paul Brook <paul@codesourcery.com> |
460 | ||
461 | * Makefile.am: Correct dependency for earmsymbian.c. | |
462 | * Makefile.in: Regenerate. | |
463 | ||
2af59bab DS |
464 | 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> |
465 | ||
466 | * emultempl/pe.em (set_pe_subsystem): Change second arg to | |
467 | lang_add_entry to FALSE. | |
468 | ||
c38f024c NC |
469 | 2004-12-23 Nick Clifton <nickc@redhat.com> |
470 | ||
471 | PR 600 | |
472 | * emulparams/shelf.sh (.stack): Increase stack start address to | |
473 | 0x300000. | |
474 | ||
550bdea6 NC |
475 | 2004-12-20 Nick Clifton <nickc@redhat.com> |
476 | ||
477 | * ldmain.c (main): Issue an error message if -static and -shared | |
478 | are used together. | |
479 | ||
e3070fef JJ |
480 | 2004-12-17 Jakub Jelinek <jakub@redhat.com> |
481 | ||
482 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. | |
483 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. | |
484 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual | |
485 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected | |
486 | PT_GNU_RELRO segment end. | |
487 | ||
2fbd2a87 NC |
488 | 2004-12-14 P.J. Darcy <darcypj@us.ibm.com> |
489 | ||
490 | * configure.tgt: Add s390x-ibm-tpf support. | |
491 | ||
f2763b01 NC |
492 | 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> |
493 | ||
494 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL | |
495 | BFD. | |
496 | ||
cb9faf63 BE |
497 | 2004-12-07 Ben Elliston <bje@gnu.org> |
498 | ||
499 | * ldemul.h: Forward declare struct option. | |
500 | ||
02f80eef DS |
501 | 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> |
502 | ||
503 | * scripttempl/pe.sc (.data): Add .jcr subsection. | |
504 | ||
dea514f5 PB |
505 | 2004-11-30 Paul Brook <paul@codesourcery.com> |
506 | ||
507 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. | |
508 | ||
32118081 NC |
509 | 2004-11-30 Tero Niemela <tero_niemela@yahoo.com> |
510 | ||
511 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. | |
512 | * Makefile.in: Regenerate. | |
513 | ||
33f362e1 NC |
514 | 2004-11-26 Melissa Mears <asterisk@graces.dricas.com> |
515 | ||
516 | * emultempl/pe.em: Add --subsystem:xbox as well as | |
517 | --subsystem:%d. | |
518 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox | |
519 | and numeric subsystems. | |
520 | ||
3eda52aa AM |
521 | 2004-11-24 Alan Modra <amodra@bigpond.net.au> |
522 | ||
523 | * ldexp.c (fold_name): Correct PR 338 fix. | |
524 | ||
6b3221b4 MM |
525 | 2004-11-19 Mark Mitchell <mark@codesourcery.com> |
526 | ||
527 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. | |
528 | (earmelf_linux_eabi.c): New target. | |
529 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. | |
530 | * emulparams/armelf_linux_eabi.sh: New file. | |
531 | * Makefile.in: Regenerated. | |
532 | ||
9cd6d51a NC |
533 | 2004-11-19 Nick Clifton <nickc@redhat.com> |
534 | ||
535 | PR 518 | |
536 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and | |
537 | LENGTH fields in the MEMORY command, to explicitly state that | |
538 | symbols cannot be used in their expressions. | |
539 | ||
3ec57632 NC |
540 | 2004-11-19 Jon Beniston <jon@beniston.com> |
541 | ||
542 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. | |
543 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. | |
4c52953f | 544 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
3ec57632 NC |
545 | which return the length and origin of a memory. |
546 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. | |
547 | * NEWS: Mention support for ORIGIN and LENGTH operators. | |
548 | ||
b7693d02 DJ |
549 | 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> |
550 | ||
551 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use | |
552 | a dynamic object for stubs. | |
553 | ||
fc0e6df6 PB |
554 | 2004-11-04 Paul Brook <paul@codesourcery.com> |
555 | ||
556 | * ld.texinfo: Document --default-imported-symver. | |
557 | * ldmain.c (main): Set link_info.default_imported_symver. | |
558 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. | |
559 | (ld_options): Add --default-imported-symver. | |
560 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. | |
561 | ||
7499d566 NC |
562 | 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> |
563 | Vineet Sharma <vineets@noida.hcltech.com> | |
564 | ||
565 | * Makefile.am: Add entries for new maxq-coff target. | |
566 | * Makefile.in: Regenerate. | |
567 | * configure.tgt: Add support for maxq. | |
568 | * emulparams/maxqcoff.sh: New File. | |
569 | * scripttempl/maxqcoff.sc: New linker script for target maxq. | |
570 | * NEWS: Mention the new target. | |
571 | ||
977cdf5a NC |
572 | 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
573 | ||
574 | * testsuite/ld-scripts/weak.exp: Enable test on PE, | |
575 | XFAIL non-i386 PE. | |
576 | * testsuite/ld-undefined/weak-undef.exp: Enable test on PE, | |
577 | XFAIL non-i386 PE. | |
578 | * testsuite/lib/ld-lib.exp (is_pecoff_format): New. | |
579 | ||
7f266840 DJ |
580 | 2004-11-04 Daniel Jacobowitz <dan@debian.org> |
581 | ||
582 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. | |
583 | (earmelf_oabi.c): Remove rule. | |
584 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. | |
585 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. | |
586 | * Makefile.in: Regenerated. | |
587 | ||
a0055007 HPN |
588 | 2004-11-04 Hans-Peter Nilsson <hp@axis.com> |
589 | ||
590 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. | |
591 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". | |
592 | (FINI_START): Ditto. | |
593 | (INIT_END): Remove emitted "jump [sp+]". | |
594 | (FINI_END): Ditto. | |
595 | ||
c5614fa4 AM |
596 | 2004-11-04 Alan Modra <amodra@bigpond.net.au> |
597 | ||
598 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. | |
599 | (no_opd_opt, no_toc_opt): New static vars. | |
600 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call | |
601 | ppc64_elf_edit_toc. | |
602 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. | |
603 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. | |
604 | (PARSE_AND_LIST_OPTIONS): Describe new options. | |
605 | (PARSE_AND_LIST_ARGS_CASES): Handle them. | |
606 | ||
7a5df8d0 NC |
607 | 2004-10-27 Nick Clifton <nickc@redhat.com> |
608 | ||
609 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, | |
610 | parameter to invocation of lang_section_start. | |
611 | * emultempl/aix.em (_handle_option): Likewise. | |
c5614fa4 | 612 | |
7a5df8d0 NC |
613 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
614 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. | |
615 | * Makefile.in: Regenerate. | |
616 | ||
6f372e19 MM |
617 | 2004-10-26 Mark Mitchell <mark@codesourcery.com> |
618 | ||
619 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit | |
620 | __exidx_{start,end} when not relocating. | |
621 | ||
ba916c8a MM |
622 | 2004-10-25 Mark Mitchell <mark@codesourcery.com> |
623 | ||
624 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. | |
625 | * ldexp.h (segment_type): New type. | |
626 | (segments): New variable. | |
627 | * ldexp.c (segments): New variable. | |
628 | (exp_print_token): Handle SEGMENT_START. | |
629 | (fold_binary): Likewise. | |
630 | * ldgram.y (SEGMENT_START): Declare it as a token. | |
631 | (exp): Handle SEGMENT_START. | |
632 | * ldlang.h (lang_address_statement_type): Add segment field. | |
633 | (lang_section_start): Change prototype. | |
634 | * ldlang.c (map_input_to_output_sections): Do not process section | |
635 | assignments if a corresponding SEGMENT_START has already been | |
636 | seen. | |
637 | (lang_section_start): Add segment parameter. | |
638 | * ldlex.l (SEGMENT_START): Add it. | |
639 | * lexsup.c (seg_segment_start): New function. | |
640 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. | |
641 | * ld.texinfo (SEGMENT_START): Document it. | |
642 | * emulparams/armsymbian.sh (EMBEDDED): Set it. | |
643 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment | |
644 | base addresses. Do not map relocations. | |
645 | * NEWS: Mention SEGMENT_START. | |
646 | ||
3e3b46e5 PB |
647 | 2004-10-26 Paul Brook <paul@codesourcery.com> |
648 | ||
649 | * ld.texinfo: Document --default-symver. | |
650 | * ldmain.c (main): Set link_info.create_default_symver. | |
651 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. | |
652 | (ld_options): Add default-symver. | |
653 | (parse_args): Handle OPTION_DEFAULT_SYMVER. | |
654 | ||
7b0eaa22 DS |
655 | 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> |
656 | ||
657 | * pe-dll.c (process_def_file): Don't export all symbols by default if | |
658 | building a position-independent executable. | |
659 | ||
dfeffb9f L |
660 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
661 | ||
662 | PR 463 | |
663 | * ldmain.c (reloc_overflow): Accept a pointer to struct | |
664 | bfd_link_hash_entry. Report symbol location for relocation | |
665 | overflow. | |
666 | ||
dc4f76f8 L |
667 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
668 | ||
669 | * genscripts.sh (libpath.exp): Really generate for first | |
670 | emulation only. | |
671 | ||
2a08daf3 DS |
672 | 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> |
673 | ||
674 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify | |
675 | comparison and replacement of filenames. | |
676 | ||
532345f2 L |
677 | 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> |
678 | ||
679 | PR 459 | |
680 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic | |
681 | option on linker script as the one for linker script. | |
682 | ||
b58f81ae DJ |
683 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
684 | ||
685 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) | |
686 | (check_excluded_libs): New. | |
687 | (load_symbols): Call check_excluded_libs. | |
688 | * ldlang.h (add_excluded_libs): New prototype. | |
689 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. | |
690 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. | |
691 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. | |
692 | * ld.texinfo (Command Line Variables): Document --exclude-libs. | |
693 | (Options Specific to i386 PE Targets): Remove --exclude-libs. | |
694 | ||
95c148b4 AM |
695 | 2004-10-15 Alan Modra <amodra@bigpond.net.au> |
696 | ||
c468c8bc AM |
697 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
698 | failing link script assert. | |
699 | ||
95c148b4 AM |
700 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
701 | ||
951e9133 L |
702 | 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> |
703 | ||
704 | PR 445 | |
705 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. | |
706 | (SMALL_DATA_DTOR): Set. | |
707 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. | |
708 | (SMALL_DATA_DTOR): Unset. | |
709 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors | |
710 | after .data. If SMALL_DATA_DTOR is set, move .dtors after | |
711 | .data. | |
712 | ||
afd7a018 AM |
713 | 2004-10-14 Alan Modra <amodra@bigpond.net.au> |
714 | ||
715 | PR 63 | |
716 | * ldlang.h (lang_output_section_statement_type): Make "next" a | |
717 | struct lang_output_section_statement_struct *. | |
718 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". | |
719 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. | |
720 | * ldlang.c (lang_output_section_find_1): Adjust for changed | |
721 | output_section_statement "next". | |
722 | (strip_excluded_output_sections): Likewise. | |
723 | (lang_record_phdrs): Likewise. | |
724 | (lang_output_section_find_by_flags): New function. | |
725 | (output_prev_sec_find): Move from pe.em. Adjust iterator. | |
726 | (lang_insert_orphan): New function. Tail end of elf32.em's | |
727 | place_orphan merged with that from pe.em. Allow bfd_section to | |
728 | be placed first. New heuristic for placing new output section | |
729 | statement in existing script, and accompanying split of __start | |
730 | symbol alignment into a separate assignment to dot. | |
731 | (lang_add_section): Consistently use output->bfd_section rather than | |
732 | an alias, section->output_section. | |
733 | (map_input_to_output_sections): Rename overly long arg. Move | |
734 | initialization of data_statement output section to here.. | |
735 | (lang_check_section_addresses): ..from here. | |
736 | (print_assignment): Correct printing of etree_assert. | |
737 | (print_all_symbols): Don't bomb if userdata is NULL. | |
738 | (IGNORE_SECTION): Rearrange. | |
739 | * emultempl/elf32.em (output_rel_find): Adjust interator. | |
740 | (output_prev_sec_find): Delete. | |
741 | (struct orphan_save): Delete. | |
742 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section | |
743 | flags without creating a duplicate output section statement. | |
744 | Revise code holding history of various orphan section placements. | |
745 | Allow orphan sections to place before script specified output | |
746 | sections. Call lang_output_section_find_by_flags when placement | |
747 | by name fails. Use lang_insert_orphan. | |
748 | * emultempl/mmo.em (output_prev_sec_find): Delete. | |
749 | (struct orphan_save): Delete. | |
750 | (mmo_place_orphan): Revise code holding history of orphan placement. | |
751 | Allow orphans to place before existing output sections. Use | |
752 | lang_insert_orphan. | |
753 | * emultempl/pe.em (output_prev_sec_find): Delete. | |
754 | (struct orphan_save): Delete. | |
755 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of | |
756 | lang_insert_orphan. | |
757 | ||
c0042f5d MM |
758 | 2004-10-13 Mark Mitchell <mark@codesourcery.com> |
759 | ||
760 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a | |
761 | loadable segment. | |
762 | ||
1af699f4 AM |
763 | 2004-10-13 Alan Modra <amodra@bigpond.net.au> |
764 | ||
765 | PR 44 | |
09c112da AM |
766 | * ldcref.c (check_section_sym_xref): Delete. |
767 | (check_local_sym_xref): New function. | |
768 | (check_nocrossrefs): Adjust call. | |
1af699f4 AM |
769 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
770 | (place_orphan): Backport assorted fixes from elf32.em. | |
771 | ||
7fa3d080 BW |
772 | 2004-10-12 Bob Wilson <bob.wilson@acm.org> |
773 | ||
774 | * emultempl/xtensaelf.em: Use ISO C90 formatting. | |
775 | ||
d3989512 JJ |
776 | 2004-10-11 Jakub Jelinek <jakub@redhat.com> |
777 | ||
563f4125 JJ |
778 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
779 | getline for portability. | |
780 | ||
d3989512 JJ |
781 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
782 | (gld${EMULATION_NAME}_parse_ld_so_conf, | |
783 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. | |
784 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. | |
785 | ||
6c0c5b1e AM |
786 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
787 | ||
788 | PR 423 | |
789 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are | |
790 | rejected when linking statically. | |
791 | ||
d2b2c203 DJ |
792 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
793 | ||
794 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. | |
795 | ||
43cd72b9 BW |
796 | 2004-10-07 Bob Wilson <bob.wilson@acm.org> |
797 | ||
798 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize | |
799 | assembler-generated longcall sequences. Describe new --size-opt | |
800 | option. | |
801 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. | |
802 | * emultempl/xtensaelf.em (remove_section, | |
803 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, | |
804 | elf_xtensa_after_open): New. | |
805 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, | |
806 | OPTION_NO_LITERAL_MOVEMENT): Define. | |
807 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. | |
808 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. | |
809 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. | |
810 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, | |
811 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. | |
812 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. | |
813 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. | |
814 | * Makefile.am (eelf32xtensa.c): Update dependencies. | |
815 | * Makefile.in: Regenerate. | |
816 | ||
8fdd7217 | 817 | 2004-10-07 Jeff Baker <jbaker@qnx.com> |
6c0c5b1e | 818 | |
8fdd7217 NC |
819 | * lexsup.c: Handle --warn-shared-textrel option. |
820 | (ld_options): Restore alpha sorting of options. | |
821 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. | |
822 | * ld.texinfo: Add documentation for --warn-shared-textrel. | |
823 | * NEWS: Added mention of --warn-shared-textrel option. | |
824 | ||
339207f8 | 825 | 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> |
6c0c5b1e | 826 | |
339207f8 | 827 | * emultempl/crxelf.em (disable_relaxation): Add. |
6c0c5b1e | 828 | (crxelf_before_allocation): Enable --relax option by default. |
339207f8 TL |
829 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
830 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. | |
831 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. | |
832 | ||
bcaa7b3e L |
833 | 2004-10-04 H.J. Lu <hongjiu.lu@intel.com> |
834 | ||
835 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
836 | --sort-section name|alignment. | |
837 | ||
838 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and | |
839 | --sort-section name|alignment. | |
840 | ||
841 | * ld.h (sort_type): New enum. | |
842 | (wildcard_spec): Change the type of `sorted' to sort_type. | |
843 | ||
844 | * ldgram.y (SORT): Removed. | |
845 | (SORT_BY_NAME): Added. | |
846 | (SORT_BY_ALIGNMENT): Added. | |
847 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and | |
848 | SORT_BY_ALIGNMENT. | |
849 | (input_section_spec_no_keep): Updated `sorted'. | |
850 | (statement): Replace SORT with SORT_BY_NAME. | |
851 | ||
852 | * ldlang.c (compare_section): New function to compare 2 | |
853 | sections with different sorting schemes. | |
854 | (wild_sort): Updated. Use compare_section. | |
855 | (update_wild_statements): New function. | |
856 | (lang_process): Call update_wild_statements before | |
857 | map_input_to_output_sections. | |
858 | ||
859 | * ldlex.l (SORT_BY_NAME): New. | |
860 | (SORT_BY_ALIGNMENT): New. | |
861 | (SORT): Return SORT_BY_NAME. | |
862 | ||
863 | * ldmain.c (sort_section): New. Defined. | |
864 | (main): Initialize it to none. | |
865 | ||
866 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. | |
867 | (ld_options): Add an entry for OPTION_SORT_SECTION. | |
868 | (parse_args): Handle OPTION_SORT_SECTION. | |
869 | ||
870 | * mri.c (mri_draw_tree): Updated `sorted'. | |
871 | ||
a4f5ad88 JJ |
872 | 2004-10-04 Jakub Jelinek <jakub@redhat.com> |
873 | ||
874 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. | |
875 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first | |
876 | argument. | |
877 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first | |
878 | and . as second argument. | |
879 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. | |
880 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. | |
881 | (fold_binary): Add it here. Insert padding to make relro_end | |
882 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in | |
883 | exp_dataseg_relro_adjust phase just use previously computed | |
884 | exp_data_seg.base. | |
885 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for | |
886 | relro_adjust here. Call lang_size_sections_1 once more if there | |
887 | was too big padding at DATA_SEGMENT_RELRO_END. | |
888 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. | |
889 | ||
40a18ebd NC |
890 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
891 | ||
892 | * emulparams/armelf.sh: Add unwinding table sections. | |
893 | ||
db8acf26 NC |
894 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
895 | ||
896 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
897 | correct base address for position independant executables. | |
898 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
899 | executables as DLLs. | |
900 | ||
eeac373a PB |
901 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
902 | ||
903 | * ld.texinfo: Document --target2=abs. | |
904 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
905 | ||
1ee7cf4c NC |
906 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
907 | ||
908 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
909 | ROM region when not performing a relocatable link. The ROM region | |
910 | does not start at address 0, but the sections will. | |
911 | * Makefile.am: Fix linker script dependency for the generation of | |
912 | eelf32xstormy16.c. | |
913 | * Makefile.in: Regenerate. | |
914 | ||
03098a9a CF |
915 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
916 | ||
917 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
918 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
919 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
920 | TARGET_PAGE_SIZE. | |
921 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
922 | the alignment is lower than the target page size. | |
923 | ||
f2d3750d CF |
924 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
925 | ||
926 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
927 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
928 | invalid .def files. | |
929 | ||
a23d8409 AM |
930 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
931 | ||
932 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
933 | --emit-stub-syms automatically when --emit-relocs. | |
934 | ||
7b89fa29 PB |
935 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
936 | ||
937 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
938 | .fini_array sections. | |
939 | ||
e2a68bcc AS |
940 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
941 | ||
942 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
943 | base so that relro end is suitably aligned. | |
944 | ||
3674e28a PB |
945 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
946 | ||
947 | * ld.texinfo: Rename arm-specific section. Document --target* | |
948 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
949 | * emulparams/armelf_linux.sh: Ditto. | |
950 | * emulparams/armelf_nbsd.sh: Ditto. | |
951 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
952 | (target2_type): New variable. | |
953 | (arm_elf_before_allocation): Don't pass target1_type. | |
954 | (arm_elf_create_output_section_statements): New function. | |
955 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
956 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
957 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
958 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
959 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
960 | argument to bfd_elf32_arm_process_before_allocation. | |
961 | ||
f6e332e6 AM |
962 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
963 | ||
964 | * ldexp.c (fold_name): Update u.undef.next refs. | |
965 | * emultempl/pe.em: Likewise. | |
966 | * emultempl/sunos.em: Likewise. | |
967 | ||
9c933e04 AM |
968 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
969 | ||
970 | * Makefile.am: Run "make dep-am". | |
971 | * Makefile.in: Regenerate. | |
972 | * config.in: Regenerate. | |
973 | * configure: Regenerate. | |
974 | * aclocal.m4: Regenerate. | |
975 | * po/ld.pot: Regenerate. | |
976 | ||
1fa32646 TL |
977 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
978 | ||
9c933e04 AM |
979 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
980 | (.fini): Likewise. | |
981 | (.jcr): Likewise. | |
1fa32646 | 982 | |
b6ee372a AM |
983 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
984 | ||
985 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
986 | to bfd_elf32_arm_process_before_allocation call. | |
987 | ||
9c504268 PB |
988 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
989 | ||
990 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
991 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
992 | ||
d15b04bd L |
993 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
994 | ||
995 | * configure: Regenerated with autconfig 2.13. | |
996 | ||
875c4330 AS |
997 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
998 | ||
999 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
1000 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
1001 | ||
229fcec5 MM |
1002 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
1003 | ||
1004 | * emulparams/armsymbian.sh: Use armbpabi script. | |
1005 | * scripttempl/armbpabi.sc: New script. | |
1006 | ||
e5a52504 MM |
1007 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
1008 | ||
1009 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
1010 | (earmsymbian.c): New target. | |
1011 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
1012 | * Makefile.in: Regenerated. | |
1013 | * aclocal.m4: Likewise. | |
1014 | * configure: Likewise. | |
1015 | * emulparams/armsymbian.sh: New file. | |
1016 | ||
42851540 NC |
1017 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
1018 | ||
1019 | * scripttempl/elf32crx.sc: Edit file with comments. | |
1020 | (.init): Add new section. | |
1021 | (.fini): Likewise. | |
1022 | (.ctor): Control the linkage order. | |
1023 | (.dtor): Likewise. | |
1024 | ||
c034e3e0 NC |
1025 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
1026 | ||
1027 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 1028 | an archive. |
c034e3e0 | 1029 | |
688c58f3 AM |
1030 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
1031 | ||
1032 | * ldlang.c (lang_init): Don't compare with TRUE. | |
1033 | ||
b18c562e NC |
1034 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
1035 | ||
1036 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
1037 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
1038 | ||
61f5d054 L |
1039 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
1040 | ||
1041 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
1042 | ||
e77d3d77 MM |
1043 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
1044 | ||
1045 | * configure.tgt (arm*-*-symbianelf*): New target. | |
1046 | (arm*-*-eabi*): Likewise. | |
1047 | ||
3f764659 JJ |
1048 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
1049 | ||
1050 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
1051 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
1052 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
1053 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
1054 | --non-overlapping-opd option. | |
1055 | ||
a010d60f AM |
1056 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
1057 | ||
1058 | PR 338 | |
1059 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
1060 | was already on the undefs list. | |
1061 | ||
c4e33880 AM |
1062 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
1063 | ||
1064 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
1065 | prefix the symbol field too. | |
1066 | ||
d003868e AM |
1067 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
1068 | ||
1069 | * ldmain.c (link_callbacks): Remove "error_handler". | |
1070 | * ldmisc.c: Include elf-bfd.h. | |
1071 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
1072 | bfd_get_section_indent. | |
1073 | (error_handler): Delete. | |
1074 | * ldmisc.h (error_handler): Delete declaration. | |
1075 | ||
99877b66 AM |
1076 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
1077 | ||
1078 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
1079 | ppc64_elf_restore_symbols. | |
1080 | ||
40e45c8b AM |
1081 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
1082 | ||
1083 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
1084 | .toc is too large on relocatable linking. | |
1085 | ||
ccfa59ea AM |
1086 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
1087 | ||
1088 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
1089 | (LDEMUL_AFTER_OPEN): Don't define. | |
1090 | ||
93fd0973 SC |
1091 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
1092 | ||
1093 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
1094 | ||
f1b123db SC |
1095 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
1096 | ||
1097 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
1098 | on power of 2. | |
1099 | ||
e7fbc2bf JT |
1100 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
1101 | ||
1102 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
1103 | ||
c05e9f04 NC |
1104 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
1105 | ||
1106 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
1107 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
1108 | msp430xG439. | |
1109 | * configure.tgt: Likewise. | |
1110 | * emulparams/msp430all.sh: Likewise. | |
1111 | * Makefile.in: Regenerate. | |
1112 | ||
9f61903d NC |
1113 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
1114 | ||
1115 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
1116 | section name if that section does not have any flags set. | |
1117 | ||
082b7297 L |
1118 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
1119 | ||
1120 | * ldlang.c (already_linked_hash_entry): Removed. | |
1121 | (already_linked): Likewise. | |
1122 | (already_linked_table): Likewise. | |
1123 | (section_already_linked): Call bfd_section_already_linked. | |
1124 | (lang_process): Replace already_linked_table_init with | |
1125 | bfd_section_already_linked_table_init and check return. Replace | |
1126 | already_linked_table_free with bfd_section_already_linked_table_free. | |
1127 | ||
76d7af2d NC |
1128 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
1129 | ||
1130 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
1131 | structure is zeroed out. | |
1132 | ||
14b3c463 L |
1133 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
1134 | ||
1135 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
1136 | --as-needed/--no-as-needed options. | |
1137 | ||
e56f61be L |
1138 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
1139 | ||
1140 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
1141 | check the add_needed field. | |
1142 | (dt_needed): New struct. | |
1143 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
1144 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
1145 | bit in the file where the DT_NEEDED entry comes from. | |
1146 | (gld${EMULATION_NAME}_search_needed): Change the second | |
1147 | argument to a pointer to struct dt_needed. | |
1148 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
1149 | (gld${EMULATION_NAME}_after_open): Likewise. | |
1150 | ||
1151 | * ld.texinfo: Add --add-needed document. | |
1152 | * ldlang.c (new_afile): Set p->add_needed. | |
1153 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
1154 | * ldmain.h (add_needed): Declare. | |
1155 | * ldmain.c (add_needed): New global var. | |
1156 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
1157 | OPTION_NO_ADD_NEEDED. | |
1158 | (ld_options): Likewise. | |
1159 | (parse_args): Handle them. | |
1160 | ||
c99b8138 NC |
1161 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
1162 | ||
1163 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
1164 | for endian-ness of extracted addend. | |
1165 | ||
13ed4151 NC |
1166 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
1167 | ||
1168 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
1169 | "_imp_", not "_imp__". | |
1170 | ||
1a320fbb NC |
1171 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
1172 | ||
1173 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
1174 | ||
1fe1f39c NC |
1175 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
1176 | ||
1177 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
1178 | (eelf32crx.c): New target. | |
1179 | * Makefile.in: Regenerate. | |
1180 | * configure.tgt: Handle crx-*-elf*. | |
1181 | * emulparams/elf32crx.sh: New file. | |
1182 | * emultempl/crxelf.em: New file. | |
1183 | * scripttempl/elf32crx.sc: New file. | |
1184 | * NEWS: Mention new target. | |
1185 | ||
85fbca6a NC |
1186 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
1187 | ||
1188 | * Makefile.am: Add eshlsymbian.c. | |
1189 | * Makefile.in: Regenerate. | |
1190 | * configure.tgt: Add sh*-symbian-elf target. | |
1191 | * emulparams/shlsymbian.sh: New file. Configure the | |
1192 | sh-symbian-elf linker scripts. | |
1193 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
1194 | template for the sh-symbian-elf target. | |
1195 | ||
b71a5181 DA |
1196 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1197 | ||
1198 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
1199 | * emulparams/hppalinux.sh: Likewise. | |
1200 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
1201 | data segment and PLT_BEFORE_GOT is defined. | |
1202 | ||
c87db184 CF |
1203 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
1204 | ||
1205 | * ld.texinfo (WIN32): Document PE weak symbols. | |
1206 | ||
f6a8ae81 KK |
1207 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1208 | ||
1209 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
1210 | ||
b602c853 L |
1211 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
1212 | ||
1213 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
1214 | the section. | |
1215 | ||
1a23a9e6 AM |
1216 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
1217 | ||
1218 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
1219 | size in rawsize. | |
1220 | ||
eea6121a AM |
1221 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
1222 | ||
1223 | * ldlang.c (print_output_section_statement): Don't print size before | |
1224 | relaxation. | |
1225 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
1226 | ||
1227 | * ldexp.c (fold_name): .. See below. | |
1228 | * ldlang.c (section_already_linked, print_output_section_statement, | |
1229 | print_input_section, insert_pad, size_input_section, | |
1230 | lang_check_section_addresses, lang_size_sections_1, | |
1231 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
1232 | lang_one_common, lang_reset_memory_regions, lang_process, | |
1233 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
1234 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
1235 | * pe-dll.c (process_def_file, generate_reloc): .. | |
1236 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
1237 | gld${EMULATION_NAME}_before_allocation): .. | |
1238 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
1239 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
1240 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
1241 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
1242 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
1243 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
1244 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
1245 | bfd_section_size macro invocations. | |
1246 | ||
552f8272 CF |
1247 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
1248 | ||
1249 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
1250 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
1251 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
1252 | ___crt_xt_end__. | |
1253 | (.tls): Define ___tls_start__ and ___tls_end__. | |
1254 | ||
aee6f5b4 AO |
1255 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
1256 | ||
1257 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
1258 | ||
eea6121a | 1259 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
f234d5fe | 1260 | |
eea6121a AM |
1261 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
1262 | * configure: Regenerate. | |
f234d5fe | 1263 | |
dfff4fbe JJ |
1264 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
1265 | ||
1266 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
1267 | .gcc_except_table output sections lost accidentally with | |
1268 | -z relro patch. | |
1269 | ||
a9e0c0c6 AM |
1270 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
1271 | ||
1272 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
1273 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
1274 | * pe-dll.c (process_def_file): Likewise. | |
1275 | ||
7115639b AM |
1276 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
1277 | ||
1278 | From Richard Wirth <r.wirth@wirthware.de> | |
1279 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
1280 | ||
9ca57817 AM |
1281 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
1282 | ||
1283 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
1284 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
1285 | ||
f6f9408f JR |
1286 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
1287 | ||
1288 | * testsuite/ld-sh/arch/arch.exp: New test script. | |
1289 | * testsuite/ld-sh/arch/arch_expected.txt: New file. | |
1290 | * testsuite/ld-sh/arch/sh.s: New file. | |
1291 | * testsuite/ld-sh/arch/sh2.s: New file. | |
1292 | * testsuite/ld-sh/arch/sh-dsp.s: New file. | |
1293 | * testsuite/ld-sh/arch/sh2e.s: New file. | |
1294 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. | |
1295 | * testsuite/ld-sh/arch/sh3.s: New file. | |
1296 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. | |
1297 | * testsuite/ld-sh/arch/sh3e.s: New file. | |
1298 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. | |
1299 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. | |
1300 | * testsuite/ld-sh/arch/sh4.s: New file. | |
1301 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. | |
1302 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. | |
1303 | * testsuite/ld-sh/arch/sh4a.s: New file. | |
1304 | ||
164e712d AM |
1305 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
1306 | ||
6feb9908 AM |
1307 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
1308 | throughout file. | |
1309 | * lexsup.c: Formatting. Wrap long lines. | |
1310 | * ldwrite.c: Update copyright date. | |
1311 | ||
164e712d AM |
1312 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
1313 | (output_section_callback): Nor SEC_KEEP here. | |
1314 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
1315 | (lang_gc_wild): Delete. Fold into.. | |
1316 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
1317 | collecting. | |
1318 | (lang_process): Always call lang_gc_sections. | |
1319 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
1320 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
1321 | SEC_EXCLUDE code. | |
1322 | ||
b3096250 L |
1323 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
1324 | ||
1325 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
1326 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
1327 | * ldlang.c (lang_add_section): Likewise. | |
1328 | ||
e49f5022 AM |
1329 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
1330 | ||
1331 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
1332 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
1333 | a relocable link, except for SEC_DEBUGGING sections. | |
1334 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
1335 | same condition here to drop SEC_EXCLUDE orphan sections. | |
1336 | ||
57ceae94 AM |
1337 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
1338 | ||
1339 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
1340 | only when not a relocatable link. | |
1341 | (print_input_section): Handle SEC_EXCLUDE sections. | |
1342 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
1343 | (lang_do_assignments_1): Likewise. | |
1344 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
1345 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
1346 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
1347 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
1348 | (build_section_lists): Likewise. | |
1349 | ||
a85785bc AS |
1350 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
1351 | ||
1352 | * ld.texinfo (Options): Fix typo in last change. | |
1353 | ||
2d643429 NC |
1354 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
1355 | ||
1356 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
1357 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
1358 | after parsing the linker's command line call | |
1359 | bfd_hash_set_default_size. | |
1360 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
1361 | (ld_options): Add hash-size. | |
1362 | (parse_args): Parse --hash-size option. Allow | |
1363 | --reduce-memory-overheads to set the default hash table size as | |
1364 | well. | |
1365 | * ld.texinfo: Document the new switch. Also mention that | |
1366 | --reduce-memory-overheads can affect the hash table size. | |
1367 | * NEWS: Mention the new feature. | |
1368 | ||
35835446 JR |
1369 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
1370 | ||
1371 | * NEWS: Mention new linker map file generation and the | |
1372 | --reduce-memory-overheads option. | |
1373 | * ld.texinfo: Document --reduce-memory-overheads option. | |
1374 | * ld.h (map_symbol_def): New struct. | |
1375 | (struct user_section_struct, section_userdata_type): Rename to: | |
1376 | (struct lean_user_section_struct, lean_section_userdata_type). | |
1377 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
1378 | (SECTION_USERDATA_SIZE): Define. | |
1379 | (args_type): New member reduce_memory_overheads. | |
1380 | * ldlang.c (map_obstack): New static variable. | |
1381 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
1382 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
1383 | initialize lists of defined symbols for each section. | |
1384 | (print_input_section): Unless command_line.reduce_memory_overheads | |
1385 | is set, use print_all_symbols. | |
1386 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
1387 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
1388 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
1389 | (ld_options): Add entry for --reduce-memory-overheads. | |
1390 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
1391 | ||
0841712e JJ |
1392 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
1393 | ||
1394 | * ldgram.y (sect_constraint): New. | |
1395 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1396 | (section): Add sect_constraint. Pass additional argument | |
1397 | to lang_enter_output_section_statement. | |
1398 | * mri.c (mri_draw_tree): Pass additional argument to | |
1399 | lang_enter_output_section_statement. | |
1400 | * emultempl/pe.em (place_orphan): Likewise. | |
1401 | (output_prev_sec_find): Disregard output section statements with | |
1402 | constraint == -1. | |
1403 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
1404 | (mmo_place_orphan): Pass additional argument to | |
1405 | lang_enter_output_section_statement. | |
1406 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
1407 | statements with constraint == -1. | |
1408 | (place_orphan): Pass additional argument to | |
1409 | lang_enter_output_section_statement. | |
1410 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
1411 | (lang_output_section_find_1): New. | |
1412 | (lang_output_section_find): Use it. | |
1413 | (lang_output_section_statement_lookup_1): New. | |
1414 | (lang_output_section_statement_lookup): Use it. | |
1415 | (check_section_callback, check_input_sections): New. | |
1416 | (map_input_to_output_sections): Check if all input sections | |
1417 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
1418 | (strip_excluded_output_sections): Disregard output section statements | |
1419 | with constraint == -1. | |
1420 | (lang_record_phdrs): Likewise. | |
1421 | (lang_enter_output_section_statement): Add constraint argument. | |
1422 | Use lang_output_section_statement_lookup_1. | |
1423 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
1424 | and all_input_readonly fields. | |
1425 | (lang_enter_output_section_statement): Adjust prototype. | |
1426 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
1427 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
1428 | segment if all input sections are readonly. | |
1429 | ||
eea6121a | 1430 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
f2c50328 NC |
1431 | |
1432 | * scripttempl/i386lynx.sc: Remove file. | |
1433 | ||
2a16d82a BW |
1434 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
1435 | ||
1436 | * ld.texinfo (Output Section Address): Correct subsection name. | |
1437 | ||
eea6121a | 1438 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
b2d65c0b NC |
1439 | |
1440 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
1441 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
1442 | * emulparams/ppclynx.sh: New file. | |
1443 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
1444 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
1445 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
1446 | (eppclynx.c): New rule. | |
1447 | * Makefile.in: Regenerate. | |
1448 | ||
4b363073 NC |
1449 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
1450 | ||
1451 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
1452 | support versioned targets. | |
1453 | ||
9598fbe5 NC |
1454 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
1455 | ||
1456 | * po/fr.po: Updated French translation. | |
1457 | ||
8c37241b JJ |
1458 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
1459 | ||
1460 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
1461 | for binaries, -shared and -pie. | |
1462 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
1463 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
1464 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
1465 | (OTHER_RELRO_SECTIONS): ... this. | |
1466 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
1467 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
1468 | -z relro and -z norelro. | |
1469 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
1470 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
1471 | -z relro scripts when appropriate. | |
1472 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
1473 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
1474 | Move sections which are only written during relocation handling | |
1475 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
1476 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
1477 | Include OTHER_RELRO_SECTIONS. | |
1478 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
1479 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
1480 | (fold_unary): Likewise. | |
1481 | (fold_binary): Handle -z relro. | |
1482 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
1483 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
1484 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
1485 | * ldlang.c (lang_size_sections): Handle -z relro. | |
1486 | ||
e21059f2 MM |
1487 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
1488 | ||
1489 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
1490 | ||
5f9b8920 JR |
1491 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
1492 | ||
1493 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
1494 | before printing it with %W. | |
1495 | ||
26d2d8a2 | 1496 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
eea6121a | 1497 | DJ Delorie <dj@redhat.com> |
26d2d8a2 BF |
1498 | |
1499 | * emultempl/pe.em (real_flags): New static. | |
1500 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
1501 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
1502 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
1503 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
1504 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
1505 | * ld.texinfo: Document it. | |
1506 | * NEWS: Mention it. | |
1507 | ||
1b169501 BF |
1508 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
1509 | ||
1510 | * NEWS: Mention DWARF 2 support for i386pe. | |
1511 | ||
41cf0c62 AO |
1512 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
1513 | ||
1514 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
1515 | elf32-frvfdpic. | |
1516 | ||
d0d6a25b AM |
1517 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
1518 | ||
1519 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
1520 | group sections. | |
1521 | (output_section_callback): Adjust. | |
1522 | * ldlang.h (unique_section_p): Update prototype. | |
1523 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
1524 | ||
755306be EB |
1525 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
1526 | ||
eea6121a | 1527 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
1528 | dynamic linking. |
1529 | ||
8a7140c3 NC |
1530 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
1531 | ||
1532 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
1533 | for DWARF 2/3. Update stab section's syntax. | |
1534 | ||
2f9636ba AM |
1535 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
1536 | ||
1537 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
1538 | (fill_edata): Correct pointer arithmetic. | |
1539 | ||
23867d67 CD |
1540 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
1541 | ||
1542 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
1543 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
1544 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
1545 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1546 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
1547 | (EXTRA_EM_FILE): Use mipsecoff.em | |
1548 | * emultempl/mipsecoff.em: Restructure to be included as an | |
1549 | extra emulation file. | |
1550 | (check_sections, gld${EMULATION_NAME}_after_open) | |
1551 | (gld${EMULATION_NAME}_after_allocation) | |
1552 | (gld${EMULATION_NAME}_get_script) | |
1553 | (ld_${EMULATION_NAME}_emulation): Remove | |
1554 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
1555 | (mipsecoff_before_parse): This. | |
1556 | (LDEMUL_BEFORE_PARSE): Define. | |
1557 | * emultempl/mipself.em: Remove file. | |
1558 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
1559 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
1560 | these symbols. | |
1561 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
1562 | * Makefile.in: Regenerate. | |
1563 | ||
1502569c NC |
1564 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
1565 | ||
1566 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
1567 | relaxation support for bit manipulation instructions and system | |
1568 | control instructions is added. | |
1569 | ||
c894ddfb HPN |
1570 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
1571 | ||
1572 | * NEWS: Mention change in DEFINED semantics. | |
1573 | ||
a85bf78e EB |
1574 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
1575 | ||
1576 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
1577 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
1578 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
1579 | ||
58434bc1 BE |
1580 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
1581 | ||
1582 | * ld.texinfo (Simple Example): Add missing punctuation. | |
1583 | ||
7a7f4e42 CD |
1584 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
1585 | ||
1586 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
1587 | ||
3737f867 JJ |
1588 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
1589 | ||
1590 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
1591 | specially. | |
1592 | ||
3c17e4f7 DS |
1593 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
1594 | ||
1595 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
1596 | with default priority. Likewise for dtors. | |
1597 | ||
279500de TS |
1598 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
1599 | ||
1600 | * configure.host: Remove mips*-dec-bsd* target. | |
1601 | * configure.tgt: Likewise. | |
1602 | ||
52f89c0a RS |
1603 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
1604 | ||
1605 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
1606 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
1607 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
1608 | * emultempl/irix.em: New file. | |
1609 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
1610 | dependencies. | |
1611 | * Makefile.in: Regenerate. | |
1612 | ||
e489d0ae PB |
1613 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
1614 | ||
1615 | * emultempl/armelf.em (byteswap_code): Add. | |
1616 | (arm_elf_before_allocation): Pass extra parameter. | |
1617 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
1618 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
1619 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
1620 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
1621 | * ld.texinfo: Document --be8. | |
1622 | ||
7cc8057a SS |
1623 | 2004-03-30 Stan Shebs <shebs@apple.com> |
1624 | ||
1625 | Remove long-obsolete MPW support. | |
1626 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
1627 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
1628 | * Makefile.in: Likewise. | |
1629 | * ldfile.c (slash): Remove MPW case. | |
1630 | * ldlex.l [MPW]: Remove unused definition. | |
1631 | ||
0949843d NC |
1632 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
1633 | ||
1634 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
1635 | (eelf32cr16c.c): New target. | |
1636 | * Makefile.in: Regenerate. | |
1637 | * configure.tgt: Handle cr16c-*-elf*. | |
1638 | * emulparams/elf32cr16c.sh: New file. | |
1639 | * scripttempl/elfcr16c.sc: Likewise | |
1640 | * NEWS: Mention support for new target. | |
1641 | ||
0a159ef8 NC |
1642 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
1643 | ||
1644 | * po/sv.po: Updated Swedish translation. | |
1645 | ||
7a945db6 AM |
1646 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
1647 | ||
1648 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
1649 | * emultempl/hppaelf.em: Likewise. | |
1650 | * emultempl/ppc64elf.em: Likewise. | |
1651 | * emultempl/sh64elf.em: Likewise. | |
1652 | ||
5a580b3a AM |
1653 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
1654 | ||
1655 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
1656 | size_dynamic_sections call. | |
1657 | ||
b9cf773d AM |
1658 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
1659 | ||
1660 | PR 51. | |
1661 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
1662 | link_info.wrap_char. | |
1663 | ||
59c2e50f L |
1664 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
1665 | ||
1666 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
1667 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
1668 | ||
44349745 AO |
1669 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
1670 | ||
1671 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
1672 | ||
81359a70 AM |
1673 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
1674 | ||
1675 | * config.in: Regenerate. | |
1676 | * po/ld.pot: Regenerate. | |
1677 | ||
4a43e768 AM |
1678 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
1679 | ||
1680 | * ld.texinfo: Add --as-needed doco. | |
1681 | * ldmain.c (as_needed): New global var. | |
1682 | * ldmain.h (as_needed): Declare. | |
1683 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
1684 | OPTION_NO_AS_NEEDED. | |
1685 | (ld_options): Likewise. | |
1686 | (parse_args): Handle them. | |
1687 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
1688 | * ldlang.c (new_afile): Set p->as_needed. | |
1689 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
1690 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
1691 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
1692 | ||
1693 | * ldlang.c (open_input_bfds): Remove useless cast. | |
1694 | (lang_do_assignments_1): Likewise. | |
1695 | (lang_for_each_input_section): Delete. | |
1696 | ||
9183ed4b AM |
1697 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
1698 | ||
1699 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
1700 | ||
ee31fbd0 NC |
1701 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
1702 | ||
1703 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
1704 | private when building implib. | |
1705 | ||
e5caec89 NS |
1706 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
1707 | ||
1708 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
1709 | SEC_THREAD_LOCAL. | |
1710 | (IGNORE_SECTION): Ignore .tbss sections too. | |
1711 | (lang_size_sections_1): .tbss sections do not advance dot. | |
1712 | ||
cc2f008e AS |
1713 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
1714 | ||
1715 | * ld.texinfo (Options): Fix example for --wrap. | |
1716 | ||
f5a95868 DS |
1717 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
1718 | ||
1719 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
1720 | not NULL. | |
1721 | ||
177b729b ILT |
1722 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
1723 | ||
1724 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
1725 | ||
1b493742 NS |
1726 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
1727 | ||
1728 | * ldlang.h (struct lang_output_section_state): Change processed | |
1729 | field's type. | |
1730 | * ldexp.c (check, invalid): Remove. | |
1731 | (fold_name): Move valid_p assignments. Create undefined symbol | |
1732 | when needed. Directly exampine section's processd flag. | |
1733 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
1734 | processed field init. | |
1735 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
1736 | VMA. Adjust error message. Fold data statement's expr. | |
1737 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
1738 | ||
1739 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
1740 | ||
1741 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 1742 | |
876f4090 NS |
1743 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
1744 | ||
1745 | * ldgram.y (exp): Add two operand ALIGN. | |
1746 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
1747 | * ld.texinfo (ALIGN): Document two operand version. | |
1748 | ||
384d938f NS |
1749 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
1750 | ||
1751 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
1752 | mentioned in a data statement expression. | |
1753 | (lang_do_assignments_1): Add data statement's expression's | |
1754 | section's vma. | |
1755 | ||
b6ca8815 NS |
1756 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
1757 | ||
1758 | * ldgram.y (statement_anywhere): Add assert rule. | |
1759 | * ldlang.c (exp_init_os): Add assert case. | |
1760 | ||
c92c35e7 AC |
1761 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
1762 | ||
1763 | * ldmain.c (remove_output): Call bfd_cache_close. | |
1764 | ||
9bf78c99 RS |
1765 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
1766 | ||
1767 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
1768 | .MIPS.content* and .MIPS.events* sections. | |
1769 | ||
f3806916 DJ |
1770 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
1771 | ||
1772 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
1773 | .note.gnu.arm.ident to after allocated sections. Mark its | |
1774 | address as 0. | |
1775 | ||
4c8e70d7 DJ |
1776 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
1777 | ||
1778 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
1779 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
1780 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
1781 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
1782 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
1783 | ||
ff71f4f7 NC |
1784 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
1785 | ||
1786 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
1787 | ||
07a68a80 NC |
1788 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
1789 | ||
1790 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
1791 | ||
1dd3bf68 AM |
1792 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
1793 | ||
586196d5 AM |
1794 | * genscripts.sh: Fix typo. |
1795 | ||
1dd3bf68 AM |
1796 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
1797 | ||
13d9421f JJ |
1798 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
1799 | ||
1800 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
1801 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
1802 | ||
4d8907ac DS |
1803 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
1804 | ||
1805 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
1806 | * ld.texinfo (--omagic): Note that writable text section | |
1807 | does not conform to published PE-COFF specs. | |
1808 | (--enable-auto-import): Likewise. | |
1809 | ||
e5c60db5 AM |
1810 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
1811 | ||
1812 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
1813 | ||
6bdafbeb NC |
1814 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
1815 | ||
1816 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
1817 | which if true will prevent the LMA region being used as a | |
1818 | replacement for a default VMA region. | |
586196d5 AM |
1819 | (lang_leave_output_section_statement): Pass extra parameter. |
1820 | (lang_leave_overlay): Likewise. | |
1821 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
1822 | region can be set to the VMA region if no VMA has been set. |
1823 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
1824 | typedef for this type. Minor formatting fixes. | |
586196d5 | 1825 | |
9dfc8ab2 NC |
1826 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
1827 | ||
1828 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
1829 | assume that the section should be allocated. | |
1830 | ||
8325c4dd AM |
1831 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
1832 | ||
1833 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
1834 | sections. Do ignore SEC_NEVER_LOAD sections. | |
1835 | (lang_size_sections_1): Remove test made redundant with the above. | |
1836 | ||
83490352 AM |
1837 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
1838 | ||
1839 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
1840 | program_header_size. | |
1841 | ||
005e1118 AO |
1842 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
1843 | ||
1844 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
1845 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
1846 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
1847 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
1848 | (MAXPAGESIZE): Set to 64Kb. | |
1849 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
1850 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
1851 | * emulparams/elf32frv.sh (NOP): Set. | |
1852 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
1853 | * configure.tgt: Add frv-*-*linux*. | |
1854 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
1855 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
1856 | (eelf32frvfd.c): New. | |
1857 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
1858 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
1859 | * emulparams/elf32frvfd.sh: New. | |
1860 | * Makefile.in: Rebuilt. | |
1861 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
1862 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
1863 | .rofixup.got to .rofixup. | |
1864 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
1865 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
1866 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
1867 | ||
060feee5 JJ |
1868 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
1869 | ||
1870 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
1871 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
1872 | ||
5e2f1575 AM |
1873 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
1874 | ||
e5caa5e0 AM |
1875 | * ldexp.c (align_n): Make static. |
1876 | * ldexp.h (align_n): Delete declaration. | |
1877 | * ldlang.h (lang_enter_output_section_statement): Remove | |
1878 | block_value param. | |
1879 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
1880 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 1881 | (opb_shift): New var. |
e5caa5e0 AM |
1882 | (init_opb): New function. |
1883 | (print_input_section): Call init_opb and use TO_ADDR. | |
1884 | (print_data_statement, print_reloc_statement): Likewise. | |
1885 | (print_padding_statement): Likewise. | |
c2df3ea5 | 1886 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
1887 | (lang_check_section_addresses): Likewise. |
1888 | (lang_size_sections_1): Likewise. | |
1889 | (lang_do_assignments_1): Likewise. | |
1890 | (lang_set_startof): Likewise. | |
c2df3ea5 | 1891 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 1892 | (lang_process): Call init_opb. |
c2df3ea5 | 1893 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
1894 | (lang_enter_overlay_section): Adjust |
1895 | lang_enter_output_section_statement call. | |
1896 | * ldgram.y: Likewise. | |
1897 | * mri.c (mri_draw_tree): Likewise. | |
1898 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1899 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1900 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1901 | ||
5e2f1575 AM |
1902 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
1903 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
1904 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
1905 | ldfile_set_output_arch. | |
1906 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1907 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1908 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1909 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1910 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1911 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1912 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
1913 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1914 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1915 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1916 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1917 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
1918 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1919 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1920 | ||
b50c15dc NC |
1921 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
1922 | ||
1923 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 1924 | |
c9e214e5 | 1925 | For older changes see ChangeLog-0203 |
252b5132 RH |
1926 | \f |
1927 | Local Variables: | |
1928 | mode: change-log | |
1929 | left-margin: 8 | |
1930 | fill-column: 74 | |
1931 | version-control: never | |
1932 | End: |