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