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