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