Remove old frame code. Enable new frame code for AIX.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
81359a70
AM
12004-03-19 Alan Modra <amodra@bigpond.net.au>
2
3 * config.in: Regenerate.
4 * po/ld.pot: Regenerate.
5
4a43e768
AM
62004-03-18 Alan Modra <amodra@bigpond.net.au>
7
8 * ld.texinfo: Add --as-needed doco.
9 * ldmain.c (as_needed): New global var.
10 * ldmain.h (as_needed): Declare.
11 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
12 OPTION_NO_AS_NEEDED.
13 (ld_options): Likewise.
14 (parse_args): Handle them.
15 * ldlang.h (lang_input_statement_type): Add as_needed field.
16 * ldlang.c (new_afile): Set p->as_needed.
17 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
18 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
19 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
20
21 * ldlang.c (open_input_bfds): Remove useless cast.
22 (lang_do_assignments_1): Likewise.
23 (lang_for_each_input_section): Delete.
24
9183ed4b
AM
252004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
26
27 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
28
ee31fbd0
NC
292004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
30
31 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
32 private when building implib.
33
e5caec89
NS
342004-03-05 Nathan Sidwell <nathan@codesourcery.com>
35
36 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
37 SEC_THREAD_LOCAL.
38 (IGNORE_SECTION): Ignore .tbss sections too.
39 (lang_size_sections_1): .tbss sections do not advance dot.
40
cc2f008e
AS
412004-03-01 Andreas Schwab <schwab@suse.de>
42
43 * ld.texinfo (Options): Fix example for --wrap.
44
f5a95868
DS
452004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
46
47 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
48 not NULL.
49
177b729b
ILT
502004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
51
52 * ldlang.c (lang_check): Use %P, not %E, in error message.
53
1b493742
NS
542004-02-23 Nathan Sidwell <nathan@codesourcery.com>
55
56 * ldlang.h (struct lang_output_section_state): Change processed
57 field's type.
58 * ldexp.c (check, invalid): Remove.
59 (fold_name): Move valid_p assignments. Create undefined symbol
60 when needed. Directly exampine section's processd flag.
61 * ldlang.c (lang_output_section_statement_lookup): Adjust
62 processed field init.
63 (lang_size_sections_1): Allow LOADADDR when determining section's
64 VMA. Adjust error message. Fold data statement's expr.
65 (lang_size_sections): Correctly increment lang_statement_iteration.
66
672004-02-23 Alan Modra <amodra@bigpond.net.au>
68
69 * ldexp.c (fold_tree): Follow indirect symbols.
70
876f4090
NS
712004-02-20 Nathan Sidwell <nathan@codesourcery.com>
72
73 * ldgram.y (exp): Add two operand ALIGN.
74 * ldexp.c (fold_binary): Add ALIGN_K case.
75 * ld.texinfo (ALIGN): Document two operand version.
76
384d938f
NS
772004-02-19 Nathan Sidwell <nathan@codesourcery.com>
78
79 * ldlang.c (map_input_to_output_sections): Initialize sections
80 mentioned in a data statement expression.
81 (lang_do_assignments_1): Add data statement's expression's
82 section's vma.
83
b6ca8815
NS
842004-02-18 Nathan Sidwell <nathan@codesourcery.com>
85
86 * ldgram.y (statement_anywhere): Add assert rule.
87 * ldlang.c (exp_init_os): Add assert case.
88
c92c35e7
AC
892004-02-14 Andrew Cagney <cagney@redhat.com>
90
91 * ldmain.c (remove_output): Call bfd_cache_close.
92
9bf78c99
RS
932004-02-14 Richard Sandiford <rsandifo@redhat.com>
94
95 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
96 .MIPS.content* and .MIPS.events* sections.
97
f3806916
DJ
982004-02-09 Daniel Jacobowitz <drow@mvista.com>
99
100 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
101 .note.gnu.arm.ident to after allocated sections. Mark its
102 address as 0.
103
4c8e70d7
DJ
1042004-02-09 Daniel Jacobowitz <drow@mvista.com>
105
106 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
107 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
108 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
109 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
110 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
111
ff71f4f7
NC
1122004-02-05 Nick Clifton <nickc@redhat.com>
113
114 * emultempl/pe.em (_after_open): Fix typo in previous delta.
115
07a68a80
NC
1162004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
117
118 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
119
1dd3bf68
AM
1202004-01-28 Alan Modra <amodra@bigpond.net.au>
121
586196d5
AM
122 * genscripts.sh: Fix typo.
123
1dd3bf68
AM
124 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
125
13d9421f
JJ
1262004-01-24 Jakub Jelinek <jakub@redhat.com>
127
128 * emulparams/elf64_ia64.sh: Put .rela.opd into
129 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
130
4d8907ac
DS
1312004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
132
133 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
134 * ld.texinfo (--omagic): Note that writable text section
135 does not conform to published PE-COFF specs.
136 (--enable-auto-import): Likewise.
137
e5c60db5
AM
1382004-01-15 Alan Modra <amodra@bigpond.net.au>
139
140 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
141
6bdafbeb
NC
1422004-01-13 Nick Clifton <nickc@redhat.com>
143
144 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
145 which if true will prevent the LMA region being used as a
146 replacement for a default VMA region.
586196d5
AM
147 (lang_leave_output_section_statement): Pass extra parameter.
148 (lang_leave_overlay): Likewise.
149 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
150 region can be set to the VMA region if no VMA has been set.
151 * ldlang.h (struct lang_output_section_phdr_list): Create a
152 typedef for this type. Minor formatting fixes.
586196d5 153
9dfc8ab2
NC
1542004-01-13 Nick Clifton <nickc@redhat.com>
155
156 * ldlang.c (lang_size_sections_1): If dot is advanced, then
157 assume that the section should be allocated.
158
8325c4dd
AM
1592004-01-13 Alan Modra <amodra@bigpond.net.au>
160
161 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
162 sections. Do ignore SEC_NEVER_LOAD sections.
163 (lang_size_sections_1): Remove test made redundant with the above.
164
83490352
AM
1652004-01-09 Alan Modra <amodra@bigpond.net.au>
166
167 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
168 program_header_size.
169
005e1118
AO
1702004-01-06 Alexandre Oliva <aoliva@redhat.com>
171
172 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
173 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
174 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
175 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
176 (MAXPAGESIZE): Set to 64Kb.
177 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
178 __ROFIXUP_END__. Don't map .rofixup.got any more.
179 * emulparams/elf32frv.sh (NOP): Set.
180 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
181 * configure.tgt: Add frv-*-*linux*.
182 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
183 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
184 (eelf32frvfd.c): New.
185 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
186 * emulparams/elf32frv.sh: Reverted previous two patches.
187 * emulparams/elf32frvfd.sh: New.
188 * Makefile.in: Rebuilt.
189 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
190 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
191 .rofixup.got to .rofixup.
192 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
193 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
194 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
195
060feee5
JJ
1962004-01-05 Jakub Jelinek <jakub@redhat.com>
197
198 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
199 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
200
5e2f1575
AM
2012004-01-03 Alan Modra <amodra@bigpond.net.au>
202
e5caa5e0
AM
203 * ldexp.c (align_n): Make static.
204 * ldexp.h (align_n): Delete declaration.
205 * ldlang.h (lang_enter_output_section_statement): Remove
206 block_value param.
207 * ldlang.c (lang_enter_output_section_statement): Likewise.
208 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 209 (opb_shift): New var.
e5caa5e0
AM
210 (init_opb): New function.
211 (print_input_section): Call init_opb and use TO_ADDR.
212 (print_data_statement, print_reloc_statement): Likewise.
213 (print_padding_statement): Likewise.
c2df3ea5 214 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
215 (lang_check_section_addresses): Likewise.
216 (lang_size_sections_1): Likewise.
217 (lang_do_assignments_1): Likewise.
218 (lang_set_startof): Likewise.
c2df3ea5 219 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 220 (lang_process): Call init_opb.
c2df3ea5 221 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
222 (lang_enter_overlay_section): Adjust
223 lang_enter_output_section_statement call.
224 * ldgram.y: Likewise.
225 * mri.c (mri_draw_tree): Likewise.
226 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
227 * emultempl/mmo.em (mmo_place_orphan): Likewise.
228 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
229
5e2f1575
AM
230 * ldfile.c (ldfile_set_output_arch): Add defarch param.
231 * ldfile.h (ldfile_set_output_arch): Ditto.
232 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
233 ldfile_set_output_arch.
234 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
235 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
236 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
237 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
238 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
239 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
240 * ldgram.y: Adjust ldfile_set_output_arch call.
241 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
242 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
243 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
244 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
245 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
246 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
247 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
248
b50c15dc
NC
2492004-01-02 Bernardo Innocenti <bernie@develer.com>
250
251 * configure.tgt: Add m68k-uClinux target.
6edf0760 252
c9e214e5 253For older changes see ChangeLog-0203
252b5132
RH
254\f
255Local Variables:
256mode: change-log
257left-margin: 8
258fill-column: 74
259version-control: never
260End:
This page took 0.309991 seconds and 4 git commands to generate.