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