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