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