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