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