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