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