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