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