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