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