Commit | Line | Data |
---|---|---|
3c17e4f7 DS |
1 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
2 | ||
3 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors | |
4 | with default priority. Likewise for dtors. | |
5 | ||
279500de TS |
6 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
7 | ||
8 | * configure.host: Remove mips*-dec-bsd* target. | |
9 | * configure.tgt: Likewise. | |
10 | ||
52f89c0a RS |
11 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
12 | ||
13 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. | |
14 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. | |
15 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. | |
16 | * emultempl/irix.em: New file. | |
17 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update | |
18 | dependencies. | |
19 | * Makefile.in: Regenerate. | |
20 | ||
e489d0ae PB |
21 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
22 | ||
23 | * emultempl/armelf.em (byteswap_code): Add. | |
24 | (arm_elf_before_allocation): Pass extra parameter. | |
25 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. | |
26 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. | |
27 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. | |
28 | * emultempl/armelf_oabi.em: Pass extra parameter. | |
29 | * ld.texinfo: Document --be8. | |
30 | ||
7cc8057a SS |
31 | 2004-03-30 Stan Shebs <shebs@apple.com> |
32 | ||
33 | Remove long-obsolete MPW support. | |
34 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. | |
35 | * Makefile.am (mpw): Remove file-presynthesizing actions. | |
36 | * Makefile.in: Likewise. | |
37 | * ldfile.c (slash): Remove MPW case. | |
38 | * ldlex.l [MPW]: Remove unused definition. | |
39 | ||
0949843d NC |
40 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
41 | ||
42 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. | |
43 | (eelf32cr16c.c): New target. | |
44 | * Makefile.in: Regenerate. | |
45 | * configure.tgt: Handle cr16c-*-elf*. | |
46 | * emulparams/elf32cr16c.sh: New file. | |
47 | * scripttempl/elfcr16c.sc: Likewise | |
48 | * NEWS: Mention support for new target. | |
49 | ||
0a159ef8 NC |
50 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
51 | ||
52 | * po/sv.po: Updated Swedish translation. | |
53 | ||
7a945db6 AM |
54 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
55 | ||
56 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. | |
57 | * emultempl/hppaelf.em: Likewise. | |
58 | * emultempl/ppc64elf.em: Likewise. | |
59 | * emultempl/sh64elf.em: Likewise. | |
60 | ||
5a580b3a AM |
61 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
62 | ||
63 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update | |
64 | size_dynamic_sections call. | |
65 | ||
b9cf773d AM |
66 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
67 | ||
68 | PR 51. | |
69 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set | |
70 | link_info.wrap_char. | |
71 | ||
59c2e50f L |
72 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
73 | ||
74 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects | |
75 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. | |
76 | ||
44349745 AO |
77 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
78 | ||
79 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. | |
80 | ||
81359a70 AM |
81 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
82 | ||
83 | * config.in: Regenerate. | |
84 | * po/ld.pot: Regenerate. | |
85 | ||
4a43e768 AM |
86 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
87 | ||
88 | * ld.texinfo: Add --as-needed doco. | |
89 | * ldmain.c (as_needed): New global var. | |
90 | * ldmain.h (as_needed): Declare. | |
91 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and | |
92 | OPTION_NO_AS_NEEDED. | |
93 | (ld_options): Likewise. | |
94 | (parse_args): Handle them. | |
95 | * ldlang.h (lang_input_statement_type): Add as_needed field. | |
96 | * ldlang.c (new_afile): Set p->as_needed. | |
97 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. | |
98 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. | |
99 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. | |
100 | ||
101 | * ldlang.c (open_input_bfds): Remove useless cast. | |
102 | (lang_do_assignments_1): Likewise. | |
103 | (lang_for_each_input_section): Delete. | |
104 | ||
9183ed4b AM |
105 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
106 | ||
107 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. | |
108 | ||
ee31fbd0 NC |
109 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
110 | ||
111 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as | |
112 | private when building implib. | |
113 | ||
e5caec89 NS |
114 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
115 | ||
116 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on | |
117 | SEC_THREAD_LOCAL. | |
118 | (IGNORE_SECTION): Ignore .tbss sections too. | |
119 | (lang_size_sections_1): .tbss sections do not advance dot. | |
120 | ||
cc2f008e AS |
121 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
122 | ||
123 | * ld.texinfo (Options): Fix example for --wrap. | |
124 | ||
f5a95868 DS |
125 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
126 | ||
127 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is | |
128 | not NULL. | |
129 | ||
177b729b ILT |
130 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
131 | ||
132 | * ldlang.c (lang_check): Use %P, not %E, in error message. | |
133 | ||
1b493742 NS |
134 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
135 | ||
136 | * ldlang.h (struct lang_output_section_state): Change processed | |
137 | field's type. | |
138 | * ldexp.c (check, invalid): Remove. | |
139 | (fold_name): Move valid_p assignments. Create undefined symbol | |
140 | when needed. Directly exampine section's processd flag. | |
141 | * ldlang.c (lang_output_section_statement_lookup): Adjust | |
142 | processed field init. | |
143 | (lang_size_sections_1): Allow LOADADDR when determining section's | |
144 | VMA. Adjust error message. Fold data statement's expr. | |
145 | (lang_size_sections): Correctly increment lang_statement_iteration. | |
146 | ||
147 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> | |
148 | ||
149 | * ldexp.c (fold_tree): Follow indirect symbols. | |
b9cf773d | 150 | |
876f4090 NS |
151 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
152 | ||
153 | * ldgram.y (exp): Add two operand ALIGN. | |
154 | * ldexp.c (fold_binary): Add ALIGN_K case. | |
155 | * ld.texinfo (ALIGN): Document two operand version. | |
156 | ||
384d938f NS |
157 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
158 | ||
159 | * ldlang.c (map_input_to_output_sections): Initialize sections | |
160 | mentioned in a data statement expression. | |
161 | (lang_do_assignments_1): Add data statement's expression's | |
162 | section's vma. | |
163 | ||
b6ca8815 NS |
164 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
165 | ||
166 | * ldgram.y (statement_anywhere): Add assert rule. | |
167 | * ldlang.c (exp_init_os): Add assert case. | |
168 | ||
c92c35e7 AC |
169 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
170 | ||
171 | * ldmain.c (remove_output): Call bfd_cache_close. | |
172 | ||
9bf78c99 RS |
173 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
174 | ||
175 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard | |
176 | .MIPS.content* and .MIPS.events* sections. | |
177 | ||
f3806916 DJ |
178 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
179 | ||
180 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move | |
181 | .note.gnu.arm.ident to after allocated sections. Mark its | |
182 | address as 0. | |
183 | ||
4c8e70d7 DJ |
184 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
185 | ||
186 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. | |
187 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. | |
188 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. | |
189 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. | |
190 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. | |
191 | ||
ff71f4f7 NC |
192 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
193 | ||
194 | * emultempl/pe.em (_after_open): Fix typo in previous delta. | |
195 | ||
07a68a80 NC |
196 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
197 | ||
198 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. | |
199 | ||
1dd3bf68 AM |
200 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
201 | ||
586196d5 AM |
202 | * genscripts.sh: Fix typo. |
203 | ||
1dd3bf68 AM |
204 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
205 | ||
13d9421f JJ |
206 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
207 | ||
208 | * emulparams/elf64_ia64.sh: Put .rela.opd into | |
209 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. | |
210 | ||
4d8907ac DS |
211 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
212 | ||
213 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. | |
214 | * ld.texinfo (--omagic): Note that writable text section | |
215 | does not conform to published PE-COFF specs. | |
216 | (--enable-auto-import): Likewise. | |
217 | ||
e5c60db5 AM |
218 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
219 | ||
220 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. | |
221 | ||
6bdafbeb NC |
222 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
223 | ||
224 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' | |
225 | which if true will prevent the LMA region being used as a | |
226 | replacement for a default VMA region. | |
586196d5 AM |
227 | (lang_leave_output_section_statement): Pass extra parameter. |
228 | (lang_leave_overlay): Likewise. | |
229 | * ld.texinfo (Output Section LMA): Document that the LMA | |
6bdafbeb NC |
230 | region can be set to the VMA region if no VMA has been set. |
231 | * ldlang.h (struct lang_output_section_phdr_list): Create a | |
232 | typedef for this type. Minor formatting fixes. | |
586196d5 | 233 | |
9dfc8ab2 NC |
234 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
235 | ||
236 | * ldlang.c (lang_size_sections_1): If dot is advanced, then | |
237 | assume that the section should be allocated. | |
238 | ||
8325c4dd AM |
239 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
240 | ||
241 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD | |
242 | sections. Do ignore SEC_NEVER_LOAD sections. | |
243 | (lang_size_sections_1): Remove test made redundant with the above. | |
244 | ||
83490352 AM |
245 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
246 | ||
247 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached | |
248 | program_header_size. | |
249 | ||
005e1118 AO |
250 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
251 | ||
252 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> | |
253 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. | |
254 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
255 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. | |
256 | (MAXPAGESIZE): Set to 64Kb. | |
257 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and | |
258 | __ROFIXUP_END__. Don't map .rofixup.got any more. | |
259 | * emulparams/elf32frv.sh (NOP): Set. | |
260 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
261 | * configure.tgt: Add frv-*-*linux*. | |
262 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
263 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. | |
264 | (eelf32frvfd.c): New. | |
265 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. | |
266 | * emulparams/elf32frv.sh: Reverted previous two patches. | |
267 | * emulparams/elf32frvfd.sh: New. | |
268 | * Makefile.in: Rebuilt. | |
269 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> | |
270 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added | |
271 | .rofixup.got to .rofixup. | |
272 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> | |
273 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. | |
274 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. | |
275 | ||
060feee5 JJ |
276 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
277 | ||
278 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. | |
279 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. | |
280 | ||
5e2f1575 AM |
281 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
282 | ||
e5caa5e0 AM |
283 | * ldexp.c (align_n): Make static. |
284 | * ldexp.h (align_n): Delete declaration. | |
285 | * ldlang.h (lang_enter_output_section_statement): Remove | |
286 | block_value param. | |
287 | * ldlang.c (lang_enter_output_section_statement): Likewise. | |
288 | (TO_ADDR, TO_SIZE): Define. | |
c2df3ea5 | 289 | (opb_shift): New var. |
e5caa5e0 AM |
290 | (init_opb): New function. |
291 | (print_input_section): Call init_opb and use TO_ADDR. | |
292 | (print_data_statement, print_reloc_statement): Likewise. | |
293 | (print_padding_statement): Likewise. | |
c2df3ea5 | 294 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
e5caa5e0 AM |
295 | (lang_check_section_addresses): Likewise. |
296 | (lang_size_sections_1): Likewise. | |
297 | (lang_do_assignments_1): Likewise. | |
298 | (lang_set_startof): Likewise. | |
c2df3ea5 | 299 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
e5caa5e0 | 300 | (lang_process): Call init_opb. |
c2df3ea5 | 301 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
e5caa5e0 AM |
302 | (lang_enter_overlay_section): Adjust |
303 | lang_enter_output_section_statement call. | |
304 | * ldgram.y: Likewise. | |
305 | * mri.c (mri_draw_tree): Likewise. | |
306 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
307 | * emultempl/mmo.em (mmo_place_orphan): Likewise. | |
308 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. | |
309 | ||
5e2f1575 AM |
310 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
311 | * ldfile.h (ldfile_set_output_arch): Ditto. | |
312 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use | |
313 | ldfile_set_output_arch. | |
314 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
315 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
316 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
317 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
318 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
319 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
320 | * ldgram.y: Adjust ldfile_set_output_arch call. | |
321 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
322 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
323 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
324 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
325 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. | |
326 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
327 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. | |
328 | ||
b50c15dc NC |
329 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
330 | ||
331 | * configure.tgt: Add m68k-uClinux target. | |
6edf0760 | 332 | |
c9e214e5 | 333 | For older changes see ChangeLog-0203 |
252b5132 RH |
334 | \f |
335 | Local Variables: | |
336 | mode: change-log | |
337 | left-margin: 8 | |
338 | fill-column: 74 | |
339 | version-control: never | |
340 | End: |