* gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1715a13c
L
12011-03-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 * ld.texinfo: Document --verbose[=NUMBER].
4
5 * lexsup.c (ld_options): Update --verbose.
6 (parse_args): Set report_plugin_symbols.
7
8 * plugin.c (report_plugin_symbols): New.
9 (get_symbols): Report plugin symbols if report_plugin_symbols
10 is TRUE.
11
12 * plugin.h (report_plugin_symbols): New.
13
f4c37f56
L
142011-03-01 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR ld/12529
17 * testplug.c: Don't include "filenames.h".
18 (onclaim_file): Don't use filename_cmp.
19
42627821
KT
202011-02-28 Kai Tietz <kai.tietz@onevision.com>
21
22 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
23 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
24 Likewise.
25 (gld${EMULATION_NAME}_stat_needed): Likewise.
26 (gld${EMULATION_NAME}_check_needed): Likewise.
27 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
28 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
29 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
30 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
31 * ldfile.c (ldfile_open_file): Likewise.
32 * ldlang.c (wild_sort): Likewise.
33 (lookup_name): Likewise.
34 (check_excluded_libs): Likewise.
35 * ldmisc.c (vfinfo): Likewise.
36 * pe-dll.c (libnamencmp): Likewise.
37 (auto_export): Likewise.
38 (pe_dll_generate_implib): Likewise.
39 * testplug.c (onclaim_file): Likewise.
40
174b85fc
L
412011-02-24 H.J. Lu <hongjiu.lu@intel.com>
42
43 PR ld/12507
44 * plugin.c (get_symbols): Don't check entry symbol here.
45 (init_non_ironly_hash): Add entry_symbol chain into
46 non_ironly_hash.
47
8ff09c12
L
482011-02-24 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR ld/12507
51 * plugin.c (get_symbols): Don't mark entry symbol IR only.
52
ae97b922
DA
532011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
54
55 PR ld/12376
56 emulparams/hppalinux.sh (DATA_ADDR): Define.
57 (SHLIB_DATA_ADDR): Likewise.
58
73f2a3d2
L
592011-02-16 H.J. Lu <hongjiu.lu@intel.com>
60
61 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
62 x32 for x32.
63
fd11958c
KT
642011-02-15 Kai Tietz <kai.tietz@onevision.com>
65
66 * pe-dll.c (process_def_file_and_drectve): Don't strip
67 leading underscore from symbol by calling bfd_find_version_for_sym.
68
93252b1c
MF
692011-02-14 Mike Frysinger <vapier@gentoo.org>
70
71 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
72 the bfd_demangle of sym, change users of sym to c_sym when not
73 already demangling, and free when done. Change callers of
74 cplus_demangle to bfd_demangle.
75
498cd2a0
AM
762011-02-14 Alan Modra <amodra@gmail.com>
77
78 * ldmain.c (remove_output): Rename to..
79 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
80 (main): Adjust.
81 * plugin.c (plugin_call_cleanup): Make global.
82 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
83 * plugin.h (plugin_call_cleanup): Declare.
84
822ce8ee
RW
852011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
86
87 * configure: Regenerate.
88
09b910c6
AM
892011-02-10 Alan Modra <amodra@gmail.com>
90
91 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
92 * scripttempl/avr.sc: Likewise.
93 * scripttempl/elf32cr16.sc: Likewise.
94 * scripttempl/elf32crx.sc: Likewise.
95 * scripttempl/elf32msp430.sc: Likewise.
96 * scripttempl/elf32msp430_3.sc: Likewise.
97 * scripttempl/elf32sh-symbian.sc: Likewise.
98 * scripttempl/elf64hppa.sc: Likewise.
99 * scripttempl/elf_chaos.sc: Likewise.
100 * scripttempl/elfd10v.sc: Likewise.
101 * scripttempl/elfd30v.sc: Likewise.
102 * scripttempl/elfi370.sc: Likewise.
103 * scripttempl/elfm68hc11.sc: Likewise.
104 * scripttempl/elfm68hc12.sc: Likewise.
105 * scripttempl/elfxtensa.sc: Likewise.
106 * scripttempl/ip2k.sc: Likewise.
107 * scripttempl/iq2000.sc: Likewise.
108 * scripttempl/mep.sc: Likewise.
109 * scripttempl/mmo.sc: Likewise.
110 * scripttempl/v850.sc: Likewise.
111 * scripttempl/xstormy16.sc: Likewise.
112 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
113
3cb62297
L
1142011-01-22 H.J. Lu <hongjiu.lu@intel.com>
115
116 * Makefile.am (CXX): Removed.
117
118 * configure.in: Add AC_PROG_CXX.
119
120 * Makefile.in: Regenerated.
121 * configure: Likewise.
122
ed88c97e
RS
1232011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
124
125 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
126 private data and GP size.
127
9bc8bb33
AM
1282011-01-21 Alan Modra <amodra@gmail.com>
129
130 * ldexp.c (fold_binary): Set result section for arithmetic and
131 logical operations to NULL when both operands are in same section.
132 * ld.texinfo (Expression Section): Describe this.
133
175b7cd4
AM
1342011-01-14 Alan Modra <amodra@gmail.com>
135
136 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
137 attempt to put non-alloc orphans before debug sections, just place
138 them after .comment.
139
a05e447f
AM
1402011-01-14 J. Park <grassman@gmail.com>
141
142 PR ld/12339
143 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
144
3ed41d59
AM
1452011-01-14 Alan Modra <amodra@gmail.com>
146
147 * Makefile.am: Sort emulation rules.
148 (eelf32am33lin.c): Delete.
149 (ALL_EMULATION_SOURCES): Sort, add missing entries.
150 (ALL_64_EMULATION_SOURCES): Likewise.
151 * Makefile.in: Regenerate.
152
2e57b2af
AM
1532011-01-13 Alan Modra <amodra@gmail.com>
154
01554a74
AM
155 PR ld/12356
156 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
157 (Expression Section): Update.
158 * ld.h (ld_config_type): Add sane_expr.
159 * ldgram.y (ifile_p1): Add LD_FEATURE.
160 * ldlex.l (LD_FEATYRE): New.
161 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
162 * ldexp.h (struct ldexp_control): Delete uses_defined.
163 * ldexp.c: Remove all uses of uses_defined.
164 (fold_name): Test config.sane_expr rather than ld_compatibility.
165 (exp_fold_tree_1): Likewise. Adjust handling of assignments
166 during first phase.
167 * ldlang.h (ld_compatibility): Delete.
168 (lang_ld_feature): Declare.
169 * ldlang.c (ld_compatibility): Delete.
170 (open_input_bfds): Only handle assignments for --defsym.
171 (lang_ld_feature): New function.
172
2e57b2af
AM
173 PR ld/12356
174 * ldexp.h (exp_assop): Delete.
175 (exp_assign, exp_defsym): Declare.
176 * ldexp.c (exp_assop): Make static, handle all assignment variations.
177 (exp_assign, exp_defsym): New functions.
178 (exp_provide): Use exp_assop.
179 * ldgram.y (defsym_expr): Use exp_defsym.
180 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
181 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
182 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
183
ea7c2e6c
AM
1842011-01-12 Alan Modra <amodra@gmail.com>
185
186 PR ld/12380
187 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
188 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
189 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
190 to detect when we've finished sizing sections.
191 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
192 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
193 that we are not inside an output section statement.
194 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
195 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
196 lang_final_phase_enum here.
197 (lang_process): Set lang_final_phase_enum here.
198
f7465604
NC
1992011-01-10 Nick Clifton <nickc@redhat.com>
200
201 * po/da.po: Updated Danish translation.
202
1e915804
L
2032011-01-10 H.J. Lu <hongjiu.lu@intel.com>
204
205 * ldlang.c (startup_file): Removed.
206 (lang_startup): Updated.
207
cc322803
L
2082011-01-05 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR ld/12364
211 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
212 before accessing its flags field.
213
0db46eb4
L
2142011-01-01 H.J. Lu <hongjiu.lu@intel.com>
215
216 * ldver.c (ldversion): Update copyright to 2011.
217
9e9e0820 218For older changes see ChangeLog-2010
252b5132
RH
219\f
220Local Variables:
221mode: change-log
222left-margin: 8
223fill-column: 74
224version-control: never
225End:
This page took 0.609748 seconds and 4 git commands to generate.