include/elf/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ac145307
BS
12011-03-31 Bernd Schmidt <bernds@codesourcery.com>
2
3 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
4 GENERATE_SHLIB_SCRIPT): New defines.
5 (TEXT_START_ADDR): Define differently depending on target.
6 (.got): Redefine to include "*(.dsbt)".
7 (SDATA_START_SYMBOLS): Remove, replace with
8 (OTHER_GOT_SYMBOLS): New.
9 (OTHER_BSS_SECTIONS): Define only for ELF targets.
10 * emultempl/tic6xdsbt.em: New file.
11 * gen-doc.texi: Set C6X.
12 * ld.texinfo: Likewise.
13 (Options specific to C6X uClinux targets): New section.
14
c3a7b120
AM
152011-03-29 Alan Modra <amodra@gmail.com>
16
17 PR ld/12613
18 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
19
5b806d27
NC
202011-03-26 John Marino <binutils@marino.st>
21
22 * configure.host: Update *-*-dragonfly* host entry.
23 * configure.tgt: Update *-*-dragonfly* target entry.
24 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
25
f31d24a0
JM
262011-03-28 Joseph Myers <joseph@codesourcery.com>
27
28 * configure.in: Check for windows.h, not Windows.h.
29 * configure: Regenerate.
30 * plugin.c: Include windows.h, not Windows.h.
31
d0289b45
EW
322011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
33
34 * Makefile.in: Regenerate.
35
d436a15e
JM
362011-03-23 Joseph Myers <joseph@codesourcery.com>
37
38 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
39 are enabled. Mark level as possibly unused.
40
8cc66334
EW
412011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
42
43 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
44 (eavrxmega?.c): Likewise.
45 * configure.tgt (targ_extra_emuls): Likewise.
46 * emulparams/avrxmega1.sh: New file.
47 * emulparams/avrxmega2.sh: Likewise.
48 * emulparams/avrxmega3.sh: Likewise.
49 * emulparams/avrxmega4.sh: Likewise.
50 * emulparams/avrxmega5.sh: Likewise.
51 * emulparams/avrxmega6.sh: Likewise.
52 * emulparams/avrxmega7.sh: Likewise.
53 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
54 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
55
ef844a53
EW
562011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
57
58 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
59
35fc36a8
RS
602011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
61
62 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
63 eh->target_internal.
64
cbc704f3
RS
652011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
66
67 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
68 instead of dynamic_sections_created.
69
10be1b6a
DK
702011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
71
72 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
73
422b6f14
DK
742011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
75
76 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
77
8543fde5
DK
782011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
79
80 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
81 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
82 * ldmain.c (add_archive_element): Set it if the member is claimed.
83 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
84 (find_replacements_insert_point): New helper function.
85 (lang_process): After adding and opening replacement files passed
86 from plugin, splice them into correct place in statement list and
87 file chains to preserve critical link order.
88 (lang_list_insert_after): New helper function.
89 (lang_list_remove_tail): Likewise.
90
cf4dc96f
DK
912011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
92
93 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
94 (IRONLY_SUFFIX_LEN): Delete.
95 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
96 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
97 enclosing lang input statement instead.
98
4bf0cafb
DK
992011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
100
101 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
102 alignment of input sections when creating orphan output sections
103 during relocatable link.
104 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
105
1715a13c
L
1062011-03-04 H.J. Lu <hongjiu.lu@intel.com>
107
108 * ld.texinfo: Document --verbose[=NUMBER].
109
110 * lexsup.c (ld_options): Update --verbose.
111 (parse_args): Set report_plugin_symbols.
112
113 * plugin.c (report_plugin_symbols): New.
114 (get_symbols): Report plugin symbols if report_plugin_symbols
115 is TRUE.
116
117 * plugin.h (report_plugin_symbols): New.
118
f4c37f56
L
1192011-03-01 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR ld/12529
122 * testplug.c: Don't include "filenames.h".
123 (onclaim_file): Don't use filename_cmp.
124
42627821
KT
1252011-02-28 Kai Tietz <kai.tietz@onevision.com>
126
127 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
128 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
129 Likewise.
130 (gld${EMULATION_NAME}_stat_needed): Likewise.
131 (gld${EMULATION_NAME}_check_needed): Likewise.
132 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
133 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
134 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
135 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
136 * ldfile.c (ldfile_open_file): Likewise.
137 * ldlang.c (wild_sort): Likewise.
138 (lookup_name): Likewise.
139 (check_excluded_libs): Likewise.
140 * ldmisc.c (vfinfo): Likewise.
141 * pe-dll.c (libnamencmp): Likewise.
142 (auto_export): Likewise.
143 (pe_dll_generate_implib): Likewise.
144 * testplug.c (onclaim_file): Likewise.
145
174b85fc
L
1462011-02-24 H.J. Lu <hongjiu.lu@intel.com>
147
148 PR ld/12507
149 * plugin.c (get_symbols): Don't check entry symbol here.
150 (init_non_ironly_hash): Add entry_symbol chain into
151 non_ironly_hash.
152
8ff09c12
L
1532011-02-24 H.J. Lu <hongjiu.lu@intel.com>
154
155 PR ld/12507
156 * plugin.c (get_symbols): Don't mark entry symbol IR only.
157
ae97b922
DA
1582011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
159
160 PR ld/12376
161 emulparams/hppalinux.sh (DATA_ADDR): Define.
162 (SHLIB_DATA_ADDR): Likewise.
163
73f2a3d2
L
1642011-02-16 H.J. Lu <hongjiu.lu@intel.com>
165
166 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
167 x32 for x32.
168
fd11958c
KT
1692011-02-15 Kai Tietz <kai.tietz@onevision.com>
170
171 * pe-dll.c (process_def_file_and_drectve): Don't strip
172 leading underscore from symbol by calling bfd_find_version_for_sym.
173
93252b1c
MF
1742011-02-14 Mike Frysinger <vapier@gentoo.org>
175
176 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
177 the bfd_demangle of sym, change users of sym to c_sym when not
178 already demangling, and free when done. Change callers of
179 cplus_demangle to bfd_demangle.
180
498cd2a0
AM
1812011-02-14 Alan Modra <amodra@gmail.com>
182
183 * ldmain.c (remove_output): Rename to..
184 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
185 (main): Adjust.
186 * plugin.c (plugin_call_cleanup): Make global.
187 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
188 * plugin.h (plugin_call_cleanup): Declare.
189
822ce8ee
RW
1902011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191
192 * configure: Regenerate.
193
09b910c6
AM
1942011-02-10 Alan Modra <amodra@gmail.com>
195
196 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
197 * scripttempl/avr.sc: Likewise.
198 * scripttempl/elf32cr16.sc: Likewise.
199 * scripttempl/elf32crx.sc: Likewise.
200 * scripttempl/elf32msp430.sc: Likewise.
201 * scripttempl/elf32msp430_3.sc: Likewise.
202 * scripttempl/elf32sh-symbian.sc: Likewise.
203 * scripttempl/elf64hppa.sc: Likewise.
204 * scripttempl/elf_chaos.sc: Likewise.
205 * scripttempl/elfd10v.sc: Likewise.
206 * scripttempl/elfd30v.sc: Likewise.
207 * scripttempl/elfi370.sc: Likewise.
208 * scripttempl/elfm68hc11.sc: Likewise.
209 * scripttempl/elfm68hc12.sc: Likewise.
210 * scripttempl/elfxtensa.sc: Likewise.
211 * scripttempl/ip2k.sc: Likewise.
212 * scripttempl/iq2000.sc: Likewise.
213 * scripttempl/mep.sc: Likewise.
214 * scripttempl/mmo.sc: Likewise.
215 * scripttempl/v850.sc: Likewise.
216 * scripttempl/xstormy16.sc: Likewise.
217 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
218
3cb62297
L
2192011-01-22 H.J. Lu <hongjiu.lu@intel.com>
220
221 * Makefile.am (CXX): Removed.
222
223 * configure.in: Add AC_PROG_CXX.
224
225 * Makefile.in: Regenerated.
226 * configure: Likewise.
227
ed88c97e
RS
2282011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
229
230 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
231 private data and GP size.
232
9bc8bb33
AM
2332011-01-21 Alan Modra <amodra@gmail.com>
234
235 * ldexp.c (fold_binary): Set result section for arithmetic and
236 logical operations to NULL when both operands are in same section.
237 * ld.texinfo (Expression Section): Describe this.
238
175b7cd4
AM
2392011-01-14 Alan Modra <amodra@gmail.com>
240
241 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
242 attempt to put non-alloc orphans before debug sections, just place
243 them after .comment.
244
a05e447f
AM
2452011-01-14 J. Park <grassman@gmail.com>
246
247 PR ld/12339
248 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
249
3ed41d59
AM
2502011-01-14 Alan Modra <amodra@gmail.com>
251
252 * Makefile.am: Sort emulation rules.
253 (eelf32am33lin.c): Delete.
254 (ALL_EMULATION_SOURCES): Sort, add missing entries.
255 (ALL_64_EMULATION_SOURCES): Likewise.
256 * Makefile.in: Regenerate.
257
2e57b2af
AM
2582011-01-13 Alan Modra <amodra@gmail.com>
259
01554a74
AM
260 PR ld/12356
261 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
262 (Expression Section): Update.
263 * ld.h (ld_config_type): Add sane_expr.
264 * ldgram.y (ifile_p1): Add LD_FEATURE.
265 * ldlex.l (LD_FEATYRE): New.
266 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
267 * ldexp.h (struct ldexp_control): Delete uses_defined.
268 * ldexp.c: Remove all uses of uses_defined.
269 (fold_name): Test config.sane_expr rather than ld_compatibility.
270 (exp_fold_tree_1): Likewise. Adjust handling of assignments
271 during first phase.
272 * ldlang.h (ld_compatibility): Delete.
273 (lang_ld_feature): Declare.
274 * ldlang.c (ld_compatibility): Delete.
275 (open_input_bfds): Only handle assignments for --defsym.
276 (lang_ld_feature): New function.
277
2e57b2af
AM
278 PR ld/12356
279 * ldexp.h (exp_assop): Delete.
280 (exp_assign, exp_defsym): Declare.
281 * ldexp.c (exp_assop): Make static, handle all assignment variations.
282 (exp_assign, exp_defsym): New functions.
283 (exp_provide): Use exp_assop.
284 * ldgram.y (defsym_expr): Use exp_defsym.
285 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
286 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
287 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
288
ea7c2e6c
AM
2892011-01-12 Alan Modra <amodra@gmail.com>
290
291 PR ld/12380
292 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
293 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
294 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
295 to detect when we've finished sizing sections.
296 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
297 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
298 that we are not inside an output section statement.
299 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
300 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
301 lang_final_phase_enum here.
302 (lang_process): Set lang_final_phase_enum here.
303
f7465604
NC
3042011-01-10 Nick Clifton <nickc@redhat.com>
305
306 * po/da.po: Updated Danish translation.
307
1e915804
L
3082011-01-10 H.J. Lu <hongjiu.lu@intel.com>
309
310 * ldlang.c (startup_file): Removed.
311 (lang_startup): Updated.
312
cc322803
L
3132011-01-05 H.J. Lu <hongjiu.lu@intel.com>
314
315 PR ld/12364
316 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
317 before accessing its flags field.
318
0db46eb4
L
3192011-01-01 H.J. Lu <hongjiu.lu@intel.com>
320
321 * ldver.c (ldversion): Update copyright to 2011.
322
9e9e0820 323For older changes see ChangeLog-2010
252b5132
RH
324\f
325Local Variables:
326mode: change-log
327left-margin: 8
328fill-column: 74
329version-control: never
330End:
This page took 0.585388 seconds and 4 git commands to generate.