Commit | Line | Data |
---|---|---|
db8acf26 NC |
1 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
2 | ||
3 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate | |
4 | correct base address for position independant executables. | |
5 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant | |
6 | executables as DLLs. | |
7 | ||
eeac373a PB |
8 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
9 | ||
10 | * ld.texinfo: Document --target2=abs. | |
11 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. | |
12 | ||
1ee7cf4c NC |
13 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
14 | ||
15 | * scripttempl/xstormy16.sc: Only perform the assignments to the | |
16 | ROM region when not performing a relocatable link. The ROM region | |
17 | does not start at address 0, but the sections will. | |
18 | * Makefile.am: Fix linker script dependency for the generation of | |
19 | eelf32xstormy16.c. | |
20 | * Makefile.in: Regenerate. | |
21 | ||
03098a9a CF |
22 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
23 | ||
24 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, | |
25 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, | |
26 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define | |
27 | TARGET_PAGE_SIZE. | |
28 | * scripttempl/pe.sc: Make the virtual address and file offset synced if | |
29 | the alignment is lower than the target page size. | |
30 | ||
f2d3750d CF |
31 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
32 | ||
33 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow | |
34 | def_file_parse to handle pe_def_file if NULL and prevent crash with | |
35 | invalid .def files. | |
36 | ||
a23d8409 AM |
37 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
38 | ||
39 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable | |
40 | --emit-stub-syms automatically when --emit-relocs. | |
41 | ||
7b89fa29 PB |
42 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
43 | ||
44 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and | |
45 | .fini_array sections. | |
46 | ||
e2a68bcc AS |
47 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
48 | ||
49 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment | |
50 | base so that relro end is suitably aligned. | |
51 | ||
3674e28a PB |
52 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
53 | ||
54 | * ld.texinfo: Rename arm-specific section. Document --target* | |
55 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. | |
56 | * emulparams/armelf_linux.sh: Ditto. | |
57 | * emulparams/armelf_nbsd.sh: Ditto. | |
58 | * emultempl/armelf.em: Set default for TARGET2_TYPE. | |
59 | (target2_type): New variable. | |
60 | (arm_elf_before_allocation): Don't pass target1_type. | |
61 | (arm_elf_create_output_section_statements): New function. | |
62 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. | |
63 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. | |
64 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. | |
65 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. | |
66 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra | |
67 | argument to bfd_elf32_arm_process_before_allocation. | |
68 | ||
f6e332e6 AM |
69 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
70 | ||
71 | * ldexp.c (fold_name): Update u.undef.next refs. | |
72 | * emultempl/pe.em: Likewise. | |
73 | * emultempl/sunos.em: Likewise. | |
74 | ||
9c933e04 AM |
75 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
76 | ||
77 | * Makefile.am: Run "make dep-am". | |
78 | * Makefile.in: Regenerate. | |
79 | * config.in: Regenerate. | |
80 | * configure: Regenerate. | |
81 | * aclocal.m4: Regenerate. | |
82 | * po/ld.pot: Regenerate. | |
83 | ||
1fa32646 TL |
84 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
85 | ||
9c933e04 AM |
86 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
87 | (.fini): Likewise. | |
88 | (.jcr): Likewise. | |
1fa32646 | 89 | |
b6ee372a AM |
90 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
91 | ||
92 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param | |
93 | to bfd_elf32_arm_process_before_allocation call. | |
94 | ||
9c504268 PB |
95 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
96 | ||
97 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. | |
98 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. | |
99 | ||
d15b04bd L |
100 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
101 | ||
102 | * configure: Regenerated with autconfig 2.13. | |
103 | ||
875c4330 AS |
104 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
105 | ||
106 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment | |
107 | alignment before adjusting DATA_SEGMENT_RELRO_END. | |
108 | ||
229fcec5 MM |
109 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
110 | ||
111 | * emulparams/armsymbian.sh: Use armbpabi script. | |
112 | * scripttempl/armbpabi.sc: New script. | |
113 | ||
e5a52504 MM |
114 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
115 | ||
116 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. | |
117 | (earmsymbian.c): New target. | |
118 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. | |
119 | * Makefile.in: Regenerated. | |
120 | * aclocal.m4: Likewise. | |
121 | * configure: Likewise. | |
122 | * emulparams/armsymbian.sh: New file. | |
123 | ||
42851540 NC |
124 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
125 | ||
126 | * scripttempl/elf32crx.sc: Edit file with comments. | |
127 | (.init): Add new section. | |
128 | (.fini): Likewise. | |
129 | (.ctor): Control the linkage order. | |
130 | (.dtor): Likewise. | |
131 | ||
c034e3e0 NC |
132 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
133 | ||
134 | * emultempl/pe.em (after_open): Do not assume that either bfd is | |
9c933e04 | 135 | an archive. |
c034e3e0 | 136 | |
688c58f3 AM |
137 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
138 | ||
139 | * ldlang.c (lang_init): Don't compare with TRUE. | |
140 | ||
b18c562e NC |
141 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
142 | ||
143 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. | |
144 | * scripttempl/elf32msp430.sc: Add .profiler section definition. | |
145 | ||
61f5d054 L |
146 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. | |
149 | ||
e77d3d77 MM |
150 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
151 | ||
152 | * configure.tgt (arm*-*-symbianelf*): New target. | |
153 | (arm*-*-eabi*): Likewise. | |
154 | ||
3f764659 JJ |
155 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
156 | ||
157 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. | |
158 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). | |
159 | (OPTION_NON_OVERLAPPING_OPD): Define. | |
160 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add | |
161 | --non-overlapping-opd option. | |
162 | ||
a010d60f AM |
163 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
164 | ||
165 | PR 338 | |
166 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol | |
167 | was already on the undefs list. | |
168 | ||
c4e33880 AM |
169 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
170 | ||
171 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot | |
172 | prefix the symbol field too. | |
173 | ||
d003868e AM |
174 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
175 | ||
176 | * ldmain.c (link_callbacks): Remove "error_handler". | |
177 | * ldmisc.c: Include elf-bfd.h. | |
178 | (vfinfo): Sort comment. Handle %A. Use %A instead of | |
179 | bfd_get_section_indent. | |
180 | (error_handler): Delete. | |
181 | * ldmisc.h (error_handler): Delete declaration. | |
182 | ||
99877b66 AM |
183 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
184 | ||
185 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call | |
186 | ppc64_elf_restore_symbols. | |
187 | ||
40e45c8b AM |
188 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
189 | ||
190 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if | |
191 | .toc is too large on relocatable linking. | |
192 | ||
ccfa59ea AM |
193 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
194 | ||
195 | * emultempl/ppc64elf.em (ppc_after_open): Delete. | |
196 | (LDEMUL_AFTER_OPEN): Don't define. | |
197 | ||
93fd0973 SC |
198 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
199 | ||
200 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. | |
201 | ||
f1b123db SC |
202 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
203 | ||
204 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section | |
205 | on power of 2. | |
206 | ||
e7fbc2bf JT |
207 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
208 | ||
209 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". | |
210 | ||
c05e9f04 NC |
211 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
212 | ||
213 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, | |
214 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, | |
215 | msp430xG439. | |
216 | * configure.tgt: Likewise. | |
217 | * emulparams/msp430all.sh: Likewise. | |
218 | * Makefile.in: Regenerate. | |
219 | ||
9f61903d NC |
220 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
221 | ||
222 | * emultempl/elf32.em (_place_orphan): Use an already existing | |
223 | section name if that section does not have any flags set. | |
224 | ||
082b7297 L |
225 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
226 | ||
227 | * ldlang.c (already_linked_hash_entry): Removed. | |
228 | (already_linked): Likewise. | |
229 | (already_linked_table): Likewise. | |
230 | (section_already_linked): Call bfd_section_already_linked. | |
231 | (lang_process): Replace already_linked_table_init with | |
232 | bfd_section_already_linked_table_init and check return. Replace | |
233 | already_linked_table_free with bfd_section_already_linked_table_free. | |
234 | ||
76d7af2d NC |
235 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
236 | ||
237 | * ldlang.c (init_os): Make sure that the newly allocated userdata | |
238 | structure is zeroed out. | |
239 | ||
14b3c463 L |
240 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
241 | ||
242 | * NEWS: Mention the new --add-needed/--no-add-needed and | |
243 | --as-needed/--no-as-needed options. | |
244 | ||
e56f61be L |
245 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
246 | ||
247 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also | |
248 | check the add_needed field. | |
249 | (dt_needed): New struct. | |
250 | (gld${EMULATION_NAME}_try_needed): Change the first argument | |
251 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED | |
252 | bit in the file where the DT_NEEDED entry comes from. | |
253 | (gld${EMULATION_NAME}_search_needed): Change the second | |
254 | argument to a pointer to struct dt_needed. | |
255 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. | |
256 | (gld${EMULATION_NAME}_after_open): Likewise. | |
257 | ||
258 | * ld.texinfo: Add --add-needed document. | |
259 | * ldlang.c (new_afile): Set p->add_needed. | |
260 | * ldlang.h (lang_input_statement_type): Add add_needed field. | |
261 | * ldmain.h (add_needed): Declare. | |
262 | * ldmain.c (add_needed): New global var. | |
263 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and | |
264 | OPTION_NO_ADD_NEEDED. | |
265 | (ld_options): Likewise. | |
266 | (parse_args): Handle them. | |
267 | ||
c99b8138 NC |
268 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
269 | ||
270 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct | |
271 | for endian-ness of extracted addend. | |
272 | ||
13ed4151 NC |
273 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
274 | ||
275 | * pe-dll.c (auto_export): Filter on just the import prefix, | |
276 | "_imp_", not "_imp__". | |
277 | ||
1a320fbb NC |
278 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
279 | ||
280 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. | |
281 | ||
1fe1f39c NC |
282 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
283 | ||
284 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. | |
285 | (eelf32crx.c): New target. | |
286 | * Makefile.in: Regenerate. | |
287 | * configure.tgt: Handle crx-*-elf*. | |
288 | * emulparams/elf32crx.sh: New file. | |
289 | * emultempl/crxelf.em: New file. | |
290 | * scripttempl/elf32crx.sc: New file. | |
291 | * NEWS: Mention new target. | |
292 | ||
85fbca6a NC |
293 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
294 | ||
295 | * Makefile.am: Add eshlsymbian.c. | |
296 | * Makefile.in: Regenerate. | |
297 | * configure.tgt: Add sh*-symbian-elf target. | |
298 | * emulparams/shlsymbian.sh: New file. Configure the | |
299 | sh-symbian-elf linker scripts. | |
300 | * scripttemp/elf32sh-symbian.sc: New file. Linker script | |
301 | template for the sh-symbian-elf target. | |
302 | ||
b71a5181 DA |
303 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
304 | ||
305 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. | |
306 | * emulparams/hppalinux.sh: Likewise. | |
307 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in | |
308 | data segment and PLT_BEFORE_GOT is defined. | |
309 | ||
c87db184 CF |
310 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
311 | ||
312 | * ld.texinfo (WIN32): Document PE weak symbols. | |
313 | ||
f6a8ae81 KK |
314 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
315 | ||
316 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
317 | ||
b602c853 L |
318 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
319 | ||
320 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify | |
321 | the section. | |
322 | ||
1a23a9e6 AM |
323 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
324 | ||
325 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section | |
326 | size in rawsize. | |
327 | ||
eea6121a AM |
328 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
329 | ||
330 | * ldlang.c (print_output_section_statement): Don't print size before | |
331 | relaxation. | |
332 | (IGNORE_SECTION): Remove bfd arg. Update all callers. | |
333 | ||
334 | * ldexp.c (fold_name): .. See below. | |
335 | * ldlang.c (section_already_linked, print_output_section_statement, | |
336 | print_input_section, insert_pad, size_input_section, | |
337 | lang_check_section_addresses, lang_size_sections_1, | |
338 | lang_size_sections, lang_do_assignments_1, lang_set_startof, | |
339 | lang_one_common, lang_reset_memory_regions, lang_process, | |
340 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. | |
341 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. | |
342 | * pe-dll.c (process_def_file, generate_reloc): .. | |
343 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, | |
344 | gld${EMULATION_NAME}_before_allocation): .. | |
345 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. | |
346 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, | |
347 | sh64_elf_${EMULATION_NAME}_after_allocation): .. | |
348 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. | |
349 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, | |
350 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use | |
351 | "size" instead of "_raw_size" and "_cooked_size". Expand | |
352 | bfd_section_size macro invocations. | |
353 | ||
552f8272 CF |
354 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
355 | ||
356 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, | |
357 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, | |
358 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and | |
359 | ___crt_xt_end__. | |
360 | (.tls): Define ___tls_start__ and ___tls_end__. | |
361 | ||
aee6f5b4 AO |
362 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
363 | ||
364 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. | |
365 | ||
eea6121a | 366 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
f234d5fe | 367 | |
eea6121a AM |
368 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
369 | * configure: Regenerate. | |
f234d5fe | 370 | |
dfff4fbe JJ |
371 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
372 | ||
373 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to | |
374 | .gcc_except_table output sections lost accidentally with | |
375 | -z relro patch. | |
376 | ||
a9e0c0c6 AM |
377 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
378 | ||
379 | * ldwrite.c (build_link_order): Use bfd_get_section_size | |
380 | instead of bfd_get_section_size_before_reloc or _raw_size. | |
381 | * pe-dll.c (process_def_file): Likewise. | |
382 | ||
7115639b AM |
383 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
384 | ||
385 | From Richard Wirth <r.wirth@wirthware.de> | |
386 | * ldlang.c (lang_finish): Don't free lang_definedness_table. | |
387 | ||
9ca57817 AM |
388 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
389 | ||
390 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. | |
391 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. | |
392 | ||
f6f9408f JR |
393 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
394 | ||
395 | * testsuite/ld-sh/arch/arch.exp: New test script. | |
396 | * testsuite/ld-sh/arch/arch_expected.txt: New file. | |
397 | * testsuite/ld-sh/arch/sh.s: New file. | |
398 | * testsuite/ld-sh/arch/sh2.s: New file. | |
399 | * testsuite/ld-sh/arch/sh-dsp.s: New file. | |
400 | * testsuite/ld-sh/arch/sh2e.s: New file. | |
401 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. | |
402 | * testsuite/ld-sh/arch/sh3.s: New file. | |
403 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. | |
404 | * testsuite/ld-sh/arch/sh3e.s: New file. | |
405 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. | |
406 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. | |
407 | * testsuite/ld-sh/arch/sh4.s: New file. | |
408 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. | |
409 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. | |
410 | * testsuite/ld-sh/arch/sh4a.s: New file. | |
411 | ||
164e712d AM |
412 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
413 | ||
6feb9908 AM |
414 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
415 | throughout file. | |
416 | * lexsup.c: Formatting. Wrap long lines. | |
417 | * ldwrite.c: Update copyright date. | |
418 | ||
164e712d AM |
419 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
420 | (output_section_callback): Nor SEC_KEEP here. | |
421 | (gc_section_callback): Twiddle SEC_EXCLUDE here. | |
422 | (lang_gc_wild): Delete. Fold into.. | |
423 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage | |
424 | collecting. | |
425 | (lang_process): Always call lang_gc_sections. | |
426 | (lang_place_orphans): Handle SEC_EXCLUDE sections. | |
427 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove | |
428 | SEC_EXCLUDE code. | |
429 | ||
b3096250 L |
430 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
431 | ||
432 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear | |
433 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. | |
434 | * ldlang.c (lang_add_section): Likewise. | |
435 | ||
e49f5022 AM |
436 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
437 | ||
438 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP | |
439 | sections when doing a final link. Clear SEC_EXCLUDE when doing | |
440 | a relocable link, except for SEC_DEBUGGING sections. | |
441 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the | |
442 | same condition here to drop SEC_EXCLUDE orphan sections. | |
443 | ||
57ceae94 AM |
444 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
445 | ||
446 | * ldlang.c (lang_process): Call bfd_merge_sections later, and | |
447 | only when not a relocatable link. | |
448 | (print_input_section): Handle SEC_EXCLUDE sections. | |
449 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. | |
450 | (lang_do_assignments_1): Likewise. | |
451 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. | |
452 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. | |
453 | * emultempl/hppaelf.em (build_section_lists): Likewise. | |
454 | * emultempl/ppc64elf.em (build_toc_list): Likewise. | |
455 | (build_section_lists): Likewise. | |
456 | ||
a85785bc AS |
457 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
458 | ||
459 | * ld.texinfo (Options): Fix typo in last change. | |
460 | ||
2d643429 NC |
461 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
462 | ||
463 | * ld.h (ld_config_type): Add new field: hash_table_size. | |
464 | * ldmain.c: Initialise the new field to zero. If it is non-zero | |
465 | after parsing the linker's command line call | |
466 | bfd_hash_set_default_size. | |
467 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. | |
468 | (ld_options): Add hash-size. | |
469 | (parse_args): Parse --hash-size option. Allow | |
470 | --reduce-memory-overheads to set the default hash table size as | |
471 | well. | |
472 | * ld.texinfo: Document the new switch. Also mention that | |
473 | --reduce-memory-overheads can affect the hash table size. | |
474 | * NEWS: Mention the new feature. | |
475 | ||
35835446 JR |
476 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
477 | ||
478 | * NEWS: Mention new linker map file generation and the | |
479 | --reduce-memory-overheads option. | |
480 | * ld.texinfo: Document --reduce-memory-overheads option. | |
481 | * ld.h (map_symbol_def): New struct. | |
482 | (struct user_section_struct, section_userdata_type): Rename to: | |
483 | (struct lean_user_section_struct, lean_section_userdata_type). | |
484 | (struct fat_user_section_struct, fat_section_userdata_type): New. | |
485 | (SECTION_USERDATA_SIZE): Define. | |
486 | (args_type): New member reduce_memory_overheads. | |
487 | * ldlang.c (map_obstack): New static variable. | |
488 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. | |
489 | (lang_map): Unless command_line.reduce_memory_overheads is set, | |
490 | initialize lists of defined symbols for each section. | |
491 | (print_input_section): Unless command_line.reduce_memory_overheads | |
492 | is set, use print_all_symbols. | |
493 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. | |
494 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. | |
495 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. | |
496 | (ld_options): Add entry for --reduce-memory-overheads. | |
497 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. | |
498 | ||
0841712e JJ |
499 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
500 | ||
501 | * ldgram.y (sect_constraint): New. | |
502 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
503 | (section): Add sect_constraint. Pass additional argument | |
504 | to lang_enter_output_section_statement. | |
505 | * mri.c (mri_draw_tree): Pass additional argument to | |
506 | lang_enter_output_section_statement. | |
507 | * emultempl/pe.em (place_orphan): Likewise. | |
508 | (output_prev_sec_find): Disregard output section statements with | |
509 | constraint == -1. | |
510 | * emultempl/mmo.em (output_prev_sec_find): Likewise. | |
511 | (mmo_place_orphan): Pass additional argument to | |
512 | lang_enter_output_section_statement. | |
513 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section | |
514 | statements with constraint == -1. | |
515 | (place_orphan): Pass additional argument to | |
516 | lang_enter_output_section_statement. | |
517 | * ldlang.c (lang_enter_overlay_section): Likewise. | |
518 | (lang_output_section_find_1): New. | |
519 | (lang_output_section_find): Use it. | |
520 | (lang_output_section_statement_lookup_1): New. | |
521 | (lang_output_section_statement_lookup): Use it. | |
522 | (check_section_callback, check_input_sections): New. | |
523 | (map_input_to_output_sections): Check if all input sections | |
524 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. | |
525 | (strip_excluded_output_sections): Disregard output section statements | |
526 | with constraint == -1. | |
527 | (lang_record_phdrs): Likewise. | |
528 | (lang_enter_output_section_statement): Add constraint argument. | |
529 | Use lang_output_section_statement_lookup_1. | |
530 | * ldlang.h (lang_output_section_statement_type): Add constraint | |
531 | and all_input_readonly fields. | |
532 | (lang_enter_output_section_statement): Adjust prototype. | |
533 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. | |
534 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text | |
535 | segment if all input sections are readonly. | |
536 | ||
eea6121a | 537 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
f2c50328 NC |
538 | |
539 | * scripttempl/i386lynx.sc: Remove file. | |
540 | ||
2a16d82a BW |
541 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
542 | ||
543 | * ld.texinfo (Output Section Address): Correct subsection name. | |
544 | ||
eea6121a | 545 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
b2d65c0b NC |
546 | |
547 | * configure.tgt (powerpc-*-lynxos* case): New case. | |
548 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. | |
549 | * emulparams/ppclynx.sh: New file. | |
550 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. | |
551 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o | |
552 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. | |
553 | (eppclynx.c): New rule. | |
554 | * Makefile.in: Regenerate. | |
555 | ||
4b363073 NC |
556 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
557 | ||
558 | * configure.tgt (or32-*-rtems*): Switch to elf and | |
559 | support versioned targets. | |
560 | ||
9598fbe5 NC |
561 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
562 | ||
563 | * po/fr.po: Updated French translation. | |
564 | ||
8c37241b JJ |
565 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
566 | ||
567 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts | |
568 | for binaries, -shared and -pie. | |
569 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. | |
570 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. | |
571 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... | |
572 | (OTHER_RELRO_SECTIONS): ... this. | |
573 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. | |
574 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle | |
575 | -z relro and -z norelro. | |
576 | (gld${EMULATION_NAME}_list_options): Add it to usage. | |
577 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now | |
578 | -z relro scripts when appropriate. | |
579 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. | |
580 | Create separate .got.plt section if SEPARATE_GOTPLT. | |
581 | Move sections which are only written during relocation handling | |
582 | to the beginning of RW segment. If NO_SMALL_DATA, move .got | |
583 | before .data. Add DATA_SEGMENT_RELRO_END directive. | |
584 | Include OTHER_RELRO_SECTIONS. | |
585 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. | |
586 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. | |
587 | (fold_unary): Likewise. | |
588 | (fold_binary): Handle -z relro. | |
589 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and | |
590 | exp_dataseg_relro_adjust phases. Add relro_end field. | |
591 | * ldmain.c (main): Initialize link_info.relro to FALSE. | |
592 | * ldlang.c (lang_size_sections): Handle -z relro. | |
593 | ||
e21059f2 MM |
594 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
595 | ||
596 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. | |
597 | ||
5f9b8920 JR |
598 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
599 | ||
600 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma | |
601 | before printing it with %W. | |
602 | ||
26d2d8a2 | 603 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
eea6121a | 604 | DJ Delorie <dj@redhat.com> |
26d2d8a2 BF |
605 | |
606 | * emultempl/pe.em (real_flags): New static. | |
607 | (OPTION_LARGE_ADDRESS_AWARE): New define. | |
608 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. | |
609 | (gld_${EMULATION_NAME}_list_options): Likewise. | |
610 | (gld${EMULATION_NAME}_handle_option): Likewise. | |
611 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. | |
612 | * ld.texinfo: Document it. | |
613 | * NEWS: Mention it. | |
614 | ||
1b169501 BF |
615 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
616 | ||
617 | * NEWS: Mention DWARF 2 support for i386pe. | |
618 | ||
41cf0c62 AO |
619 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
620 | ||
621 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new | |
622 | elf32-frvfdpic. | |
623 | ||
d0d6a25b AM |
624 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
625 | ||
626 | * ldlang.c (unique_section_p): Pass section parm, return true on | |
627 | group sections. | |
628 | (output_section_callback): Adjust. | |
629 | * ldlang.h (unique_section_p): Update prototype. | |
630 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. | |
631 | ||
755306be EB |
632 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
633 | ||
eea6121a | 634 | * ld.texinfo (--gc-sections): Remove restriction for |
755306be EB |
635 | dynamic linking. |
636 | ||
8a7140c3 NC |
637 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
638 | ||
639 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections | |
640 | for DWARF 2/3. Update stab section's syntax. | |
641 | ||
2f9636ba AM |
642 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
643 | ||
644 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. | |
645 | (fill_edata): Correct pointer arithmetic. | |
646 | ||
23867d67 CD |
647 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
648 | ||
649 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. | |
650 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. | |
651 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. | |
652 | (EXTRA_EM_FILE): Use mipsecoff.em | |
653 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. | |
654 | (EXTRA_EM_FILE): Use mipsecoff.em | |
655 | * emultempl/mipsecoff.em: Restructure to be included as an | |
656 | extra emulation file. | |
657 | (check_sections, gld${EMULATION_NAME}_after_open) | |
658 | (gld${EMULATION_NAME}_after_allocation) | |
659 | (gld${EMULATION_NAME}_get_script) | |
660 | (ld_${EMULATION_NAME}_emulation): Remove | |
661 | (gld${EMULATION_NAME}_before_parse): Rename to... | |
662 | (mipsecoff_before_parse): This. | |
663 | (LDEMUL_BEFORE_PARSE): Define. | |
664 | * emultempl/mipself.em: Remove file. | |
665 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. | |
666 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing | |
667 | these symbols. | |
668 | * Makefile.am: Remove dependencies on emultempl/mipself.em. | |
669 | * Makefile.in: Regenerate. | |
670 | ||
1502569c NC |
671 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
672 | ||
673 | * ld.texinfo (synthesizing on H8/300): Information about linker | |
674 | relaxation support for bit manipulation instructions and system | |
675 | control instructions is added. | |
676 | ||
c894ddfb HPN |
677 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
678 | ||
679 | * NEWS: Mention change in DEFINED semantics. | |
680 | ||
a85bf78e EB |
681 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
682 | ||
683 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. | |
684 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. | |
685 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. | |
686 | ||
58434bc1 BE |
687 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
688 | ||
689 | * ld.texinfo (Simple Example): Add missing punctuation. | |
690 | ||
7a7f4e42 CD |
691 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
692 | ||
693 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. | |
694 | ||
3737f867 JJ |
695 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
696 | ||
697 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section | |
698 | specially. | |
699 | ||
3c17e4f7 DS |
700 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
701 | ||
702 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
703 | with default priority. Likewise for dtors. | |
704 | ||
279500de TS |
705 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
706 | ||
707 | * configure.host: Remove mips*-dec-bsd* target. | |
708 | * configure.tgt: Likewise. | |
709 | ||
52f89c0a RS |
710 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
711 | ||
712 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
713 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
714 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
715 | * emultempl/irix.em: New file. | |
716 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
717 | dependencies. | |
718 | * Makefile.in: Regenerate. | |
719 | ||
e489d0ae PB |
720 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
721 | ||
722 | * emultempl/armelf.em (byteswap_code): Add. | |
723 | (arm_elf_before_allocation): Pass extra parameter. | |
724 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
725 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
726 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
727 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
728 | * ld.texinfo: Document --be8. | |
729 | ||
7cc8057a SS |
730 | 2004-03-30 Stan Shebs <shebs@apple.com> |
731 | ||
732 | Remove long-obsolete MPW support. | |
733 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
734 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
735 | * Makefile.in: Likewise. | |
736 | * ldfile.c (slash): Remove MPW case. | |
737 | * ldlex.l [MPW]: Remove unused definition. | |
738 | ||
0949843d NC |
739 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
740 | ||
741 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
742 | (eelf32cr16c.c): New target. | |
743 | * Makefile.in: Regenerate. | |
744 | * configure.tgt: Handle cr16c-*-elf*. | |
745 | * emulparams/elf32cr16c.sh: New file. | |
746 | * scripttempl/elfcr16c.sc: Likewise | |
747 | * NEWS: Mention support for new target. | |
748 | ||
0a159ef8 NC |
749 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
750 | ||
751 | * po/sv.po: Updated Swedish translation. | |
752 | ||
7a945db6 AM |
753 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
754 | ||
755 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
756 | * emultempl/hppaelf.em: Likewise. | |
757 | * emultempl/ppc64elf.em: Likewise. | |
758 | * emultempl/sh64elf.em: Likewise. | |
759 | ||
5a580b3a AM |
760 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
761 | ||
762 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
763 | size_dynamic_sections call. | |
764 | ||
b9cf773d AM |
765 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
766 | ||
767 | PR 51. | |
768 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
769 | link_info.wrap_char. | |
770 | ||
59c2e50f L |
771 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
772 | ||
773 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
774 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
775 | ||
44349745 AO |
776 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
777 | ||
778 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
779 | ||
81359a70 AM |
780 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
781 | ||
782 | * config.in: Regenerate. | |
783 | * po/ld.pot: Regenerate. | |
784 | ||
4a43e768 AM |
785 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
786 | ||
787 | * ld.texinfo: Add --as-needed doco. | |
788 | * ldmain.c (as_needed): New global var. | |
789 | * ldmain.h (as_needed): Declare. | |
790 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
791 | OPTION_NO_AS_NEEDED. | |
792 | (ld_options): Likewise. | |
793 | (parse_args): Handle them. | |
794 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
795 | * ldlang.c (new_afile): Set p->as_needed. | |
796 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
797 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
798 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
799 | ||
800 | * ldlang.c (open_input_bfds): Remove useless cast. | |
801 | (lang_do_assignments_1): Likewise. | |
802 | (lang_for_each_input_section): Delete. | |
803 | ||
9183ed4b AM |
804 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
805 | ||
806 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
807 | ||
ee31fbd0 NC |
808 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
809 | ||
810 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
811 | private when building implib. | |
812 | ||
e5caec89 NS |
813 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
814 | ||
815 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
816 | SEC_THREAD_LOCAL. | |
817 | (IGNORE_SECTION): Ignore .tbss sections too. | |
818 | (lang_size_sections_1): .tbss sections do not advance dot. | |
819 | ||
cc2f008e AS |
820 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
821 | ||
822 | * ld.texinfo (Options): Fix example for --wrap. | |
823 | ||
f5a95868 DS |
824 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
825 | ||
826 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
827 | not NULL. | |
828 | ||
177b729b ILT |
829 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
830 | ||
831 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
832 | ||
1b493742 NS |
833 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
834 | ||
835 | * ldlang.h (struct lang_output_section_state): Change processed | |
836 | field's type. | |
837 | * ldexp.c (check, invalid): Remove. | |
838 | (fold_name): Move valid_p assignments. Create undefined symbol | |
839 | when needed. Directly exampine section's processd flag. | |
840 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
841 | processed field init. | |
842 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
843 | VMA. Adjust error message. Fold data statement's expr. | |
844 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
845 | ||
846 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
847 | ||
848 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 849 | |
876f4090 NS |
850 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
851 | ||
852 | * ldgram.y (exp): Add two operand ALIGN. | |
853 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
854 | * ld.texinfo (ALIGN): Document two operand version. | |
855 | ||
384d938f NS |
856 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
857 | ||
858 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
859 | mentioned in a data statement expression. | |
860 | (lang_do_assignments_1): Add data statement's expression's | |
861 | section's vma. | |
862 | ||
b6ca8815 NS |
863 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
864 | ||
865 | * ldgram.y (statement_anywhere): Add assert rule. | |
866 | * ldlang.c (exp_init_os): Add assert case. | |
867 | ||
c92c35e7 AC |
868 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
869 | ||
870 | * ldmain.c (remove_output): Call bfd_cache_close. | |
871 | ||
9bf78c99 RS |
872 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
873 | ||
874 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
875 | .MIPS.content* and .MIPS.events* sections. | |
876 | ||
f3806916 DJ |
877 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
878 | ||
879 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
880 | .note.gnu.arm.ident to after allocated sections. Mark its | |
881 | address as 0. | |
882 | ||
4c8e70d7 DJ |
883 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
884 | ||
885 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
886 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
887 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
888 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
889 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
890 | ||
ff71f4f7 NC |
891 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
892 | ||
893 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
894 | ||
07a68a80 NC |
895 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
896 | ||
897 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
898 | ||
1dd3bf68 AM |
899 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
900 | ||
586196d5 AM |
901 | * genscripts.sh: Fix typo. |
902 | ||
1dd3bf68 AM |
903 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
904 | ||
13d9421f JJ |
905 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
906 | ||
907 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
908 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
909 | ||
4d8907ac DS |
910 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
911 | ||
912 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
913 | * ld.texinfo (--omagic): Note that writable text section | |
914 | does not conform to published PE-COFF specs. | |
915 | (--enable-auto-import): Likewise. | |
916 | ||
e5c60db5 AM |
917 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
918 | ||
919 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
920 | ||
6bdafbeb NC |
921 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
922 | ||
923 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
924 | which if true will prevent the LMA region being used as a | |
925 | replacement for a default VMA region. | |
586196d5 AM |
926 | (lang_leave_output_section_statement): Pass extra parameter. |
927 | (lang_leave_overlay): Likewise. | |
928 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
929 | region can be set to the VMA region if no VMA has been set. |
930 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
931 | typedef for this type. Minor formatting fixes. | |
586196d5 | 932 | |
9dfc8ab2 NC |
933 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
934 | ||
935 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
936 | assume that the section should be allocated. | |
937 | ||
8325c4dd AM |
938 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
939 | ||
940 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
941 | sections. Do ignore SEC_NEVER_LOAD sections. | |
942 | (lang_size_sections_1): Remove test made redundant with the above. | |
943 | ||
83490352 AM |
944 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
945 | ||
946 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
947 | program_header_size. | |
948 | ||
005e1118 AO |
949 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
950 | ||
951 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
952 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
953 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
954 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
955 | (MAXPAGESIZE): Set to 64Kb. | |
956 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
957 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
958 | * emulparams/elf32frv.sh (NOP): Set. | |
959 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
960 | * configure.tgt: Add frv-*-*linux*. | |
961 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
962 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
963 | (eelf32frvfd.c): New. | |
964 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
965 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
966 | * emulparams/elf32frvfd.sh: New. | |
967 | * Makefile.in: Rebuilt. | |
968 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
969 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
970 | .rofixup.got to .rofixup. | |
971 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
972 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
973 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
974 | ||
060feee5 JJ |
975 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
976 | ||
977 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
978 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
979 | ||
5e2f1575 AM |
980 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
981 | ||
e5caa5e0 AM |
982 | * ldexp.c (align_n): Make static. |
983 | * ldexp.h (align_n): Delete declaration. | |
984 | * ldlang.h (lang_enter_output_section_statement): Remove | |
985 | block_value param. | |
986 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
987 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 988 | (opb_shift): New var. |
e5caa5e0 AM |
989 | (init_opb): New function. |
990 | (print_input_section): Call init_opb and use TO_ADDR. | |
991 | (print_data_statement, print_reloc_statement): Likewise. | |
992 | (print_padding_statement): Likewise. | |
c2df3ea5 | 993 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
994 | (lang_check_section_addresses): Likewise. |
995 | (lang_size_sections_1): Likewise. | |
996 | (lang_do_assignments_1): Likewise. | |
997 | (lang_set_startof): Likewise. | |
c2df3ea5 | 998 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 999 | (lang_process): Call init_opb. |
c2df3ea5 | 1000 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
1001 | (lang_enter_overlay_section): Adjust |
1002 | lang_enter_output_section_statement call. | |
1003 | * ldgram.y: Likewise. | |
1004 | * mri.c (mri_draw_tree): Likewise. | |
1005 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1006 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
1007 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
1008 | ||
5e2f1575 AM |
1009 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
1010 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
1011 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
1012 | ldfile_set_output_arch. | |
1013 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1014 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1015 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1016 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1017 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1018 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1019 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
1020 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1021 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1022 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1023 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1024 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
1025 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1026 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
1027 | ||
b50c15dc NC |
1028 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
1029 | ||
1030 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 1031 | |
c9e214e5 | 1032 | For older changes see ChangeLog-0203 |
252b5132 RH |
1033 | \f |
1034 | Local Variables: | |
1035 | mode: change-log | |
1036 | left-margin: 8 | |
1037 | fill-column: 74 | |
1038 | version-control: never | |
1039 | End: |