xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ChangeLog-2012 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2012-12-18  Roland McGrath  <mcgrathr@google.com>
2*75fd0b74Schristos
3*75fd0b74Schristos	* ld.texinfo (Options): Describe -Trodata-segment.
4*75fd0b74Schristos	* ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT.
5*75fd0b74Schristos	* lexsup.c (ld_options, parse_args): Handle -Trodata-segment.
6*75fd0b74Schristos	* scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap
7*75fd0b74Schristos	SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.
8*75fd0b74Schristos
9*75fd0b74Schristos2012-12-17  Nick Clifton  <nickc@redhat.com>
10*75fd0b74Schristos
11*75fd0b74Schristos	* MAINTAINERS: Add copyright notice.
12*75fd0b74Schristos	* Makefile.am: Likewise.
13*75fd0b74Schristos	* NEWS: Likewise.
14*75fd0b74Schristos	* README: Likewise.
15*75fd0b74Schristos	* configure.host: Likewise.
16*75fd0b74Schristos	* configure.in: Likewise.
17*75fd0b74Schristos	* gen-doc.texi: Likewise.
18*75fd0b74Schristos	* h8-doc.texi: Likewise.
19*75fd0b74Schristos	* ldlex-wrapper.c: Likewise.
20*75fd0b74Schristos	* emulparams/README: Likewise.
21*75fd0b74Schristos	* emultempl/README: Likewise.
22*75fd0b74Schristos	* scripttempl/README: Likewise.
23*75fd0b74Schristos	* Makefile.in: Regenerate.
24*75fd0b74Schristos
25*75fd0b74Schristos2012-12-17  Alan Modra  <amodra@gmail.com>
26*75fd0b74Schristos
27*75fd0b74Schristos	PR ld/14962
28*75fd0b74Schristos	* ldexp.h (struct ldexp_control): Add "assign_name".
29*75fd0b74Schristos	* ldexp.c (fold_name <NAME>): Compare and clear assign_name on match.
30*75fd0b74Schristos	(exp_fold_tree_1): Remove existing code testing for self assignment.
31*75fd0b74Schristos	Instead set and test expld.assign_name.
32*75fd0b74Schristos	* ldlang.c (scan_for_self_assignment): Delete.
33*75fd0b74Schristos	(print_assignment): Instead set and test expld.assign_name.
34*75fd0b74Schristos
35*75fd0b74Schristos2012-12-11  Roland McGrath  <mcgrathr@google.com>
36*75fd0b74Schristos
37*75fd0b74Schristos	* emulparams/elf_nacl.sh (nacl_rodata_addr): New shell function.
38*75fd0b74Schristos	(RODATA_ADDR, SHLIB_RODATA_ADDR): Use it to base the calculation
39*75fd0b74Schristos	on SEGMENT_START("text-segment", ...) rather than ... alone.
40*75fd0b74Schristos	* Makefile.am (earmelf_nacl.c, earmelfb_nacl.c): Add missing
41*75fd0b74Schristos	dependency on $(srcdir)/emulparams/elf_nacl.sh.
42*75fd0b74Schristos	* Makefile.in: Regenerate.
43*75fd0b74Schristos
44*75fd0b74Schristos2012-12-05  H.J. Lu  <hongjiu.lu@intel.com>
45*75fd0b74Schristos
46*75fd0b74Schristos	PR ld/14915
47*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Also
48*75fd0b74Schristos	check DT_NEEDED entries when creating shared object with
49*75fd0b74Schristos	--copy-dt-needed-entries.
50*75fd0b74Schristos
51*75fd0b74Schristos2012-12-05  Leif Ekblad  <leif@rdos.net>
52*75fd0b74Schristos
53*75fd0b74Schristos	* configure.tgt: Add x86_64-*-rdos.
54*75fd0b74Schristos
55*75fd0b74Schristos2012-12-03  H.J. Lu  <hongjiu.lu@intel.com>
56*75fd0b74Schristos
57*75fd0b74Schristos	PR ld/14904
58*75fd0b74Schristos	* ldmain.c (main): Don't check plugin_load_plugins return.
59*75fd0b74Schristos
60*75fd0b74Schristos	* lexsup.c (parse_args): Don't check plugin_opt_plugin return.
61*75fd0b74Schristos
62*75fd0b74Schristos	* plugin.c (dlerror): New.  Defined if HAVE_DLFCN_H isn't
63*75fd0b74Schristos	defined.
64*75fd0b74Schristos	(plugin_opt_plugin): Change return type to void.  Stop on
65*75fd0b74Schristos	dlopen error and report error with dlerror ().
66*75fd0b74Schristos	(plugin_load_plugins): Change return type to void.  Stop on
67*75fd0b74Schristos	dlsym error and report error with dlerror ().  Don't use
68*75fd0b74Schristos	set_plugin_error.
69*75fd0b74Schristos	(plugin_call_cleanup): Issue an error for each plugin.
70*75fd0b74Schristos
71*75fd0b74Schristos	* plugin.h (plugin_opt_plugin): Change return type to void.
72*75fd0b74Schristos	(plugin_load_plugins): Likewise.
73*75fd0b74Schristos
74*75fd0b74Schristos2012-11-30  Joern Rennecke <joern.rennecke@embecosm.com>
75*75fd0b74Schristos
76*75fd0b74Schristos	* scripttempl/epiphany_4x4.sc, emulparams/elf32epiphany_4x4.sh: Add.
77*75fd0b74Schristos	* emultempl/epiphanyelf_4x4.em: Likewise.
78*75fd0b74Schristos	* configure.tgt: Add elf32epiphany_4x4 support.
79*75fd0b74Schristos	* Makefile.am: Likewise.
80*75fd0b74Schristos	* Makefile.in: Regenerate.
81*75fd0b74Schristos
82*75fd0b74Schristos2012-11-29  Maciej W. Rozycki  <macro@codesourcery.com>
83*75fd0b74Schristos
84*75fd0b74Schristos	* Makefile.in: Regenerate.
85*75fd0b74Schristos
86*75fd0b74Schristos2012-11-27  Nick Clifton  <nickc@redhat.com>
87*75fd0b74Schristos
88*75fd0b74Schristos	PR ld/14776
89*75fd0b74Schristos	* ld.texinfo: Fix spelling mistakes.
90*75fd0b74Schristos
91*75fd0b74Schristos2012-11-26  Roland McGrath  <mcgrathr@google.com>
92*75fd0b74Schristos
93*75fd0b74Schristos	* emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse):
94*75fd0b74Schristos	Copy last elf32.em here too.
95*75fd0b74Schristos	* emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
96*75fd0b74Schristos	* emultempl/mmixelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
97*75fd0b74Schristos	* emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): Likewise.
98*75fd0b74Schristos
99*75fd0b74Schristos2012-11-21  Roland McGrath  <mcgrathr@google.com>
100*75fd0b74Schristos
101*75fd0b74Schristos	* ld.h (ld_config_type): New flag member separate_code.
102*75fd0b74Schristos	* emultempl/elf32.em
103*75fd0b74Schristos	(gld${EMULATION_NAME}_before_parse): Set it based on $SEPARATE_CODE.
104*75fd0b74Schristos	* ldlang.c (ldlang_override_segment_assignment): If it's set, then
105*75fd0b74Schristos	always return TRUE when SEC_CODE differs between the sections.
106*75fd0b74Schristos
107*75fd0b74Schristos2012-11-20  H.J. Lu  <hongjiu.lu@intel.com>
108*75fd0b74Schristos
109*75fd0b74Schristos	* ld.texinfo: Document "-z global".
110*75fd0b74Schristos
111*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support
112*75fd0b74Schristos	"-z global".
113*75fd0b74Schristos	(gld${EMULATION_NAME}_list_options): Likewise.
114*75fd0b74Schristos
115*75fd0b74Schristos2012-11-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
116*75fd0b74Schristos
117*75fd0b74Schristos	Port lib32 arrangement from Debian.
118*75fd0b74Schristos	* emulparams/elf_i386.sh: Include lib32 directories in library search
119*75fd0b74Schristos	path.
120*75fd0b74Schristos
121*75fd0b74Schristos2012-11-15  Simon Baldwin  <simonb@google.com>
122*75fd0b74Schristos
123*75fd0b74Schristos	* ldmain.c (main): Add start_sbrk set to sbrk(0) on entry.
124*75fd0b74Schristos	On exit, compute data size as the delta between current
125*75fd0b74Schristos	sbrk(0) and start_sbrk.
126*75fd0b74Schristos
127*75fd0b74Schristos2012-11-09  Nick Clifton  <nickc@redhat.com>
128*75fd0b74Schristos
129*75fd0b74Schristos	* emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to
130*75fd0b74Schristos	true.
131*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings.
132*75fd0b74Schristos	(PARSE_AND_LIST_ARG_CASES): Add support for
133*75fd0b74Schristos	--flag-mismatch-warnings.
134*75fd0b74Schristos
135*75fd0b74Schristos	* Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c.
136*75fd0b74Schristos	* Makefile.in: Regenerate.
137*75fd0b74Schristos	* configure.tgt (v850*-*-*): Make v850_rh850 the default
138*75fd0b74Schristos	emulation. Add vanilla v850 as an extra emulation.
139*75fd0b74Schristos	* emulparams/v850_rh850.sh: New file.
140*75fd0b74Schristos	* scripttempl/v850_rh850.sc: New file.
141*75fd0b74Schristos
142*75fd0b74Schristos2012-11-09  Edgar E. Iglesias <edgar.iglesias@gmail.com>
143*75fd0b74Schristos
144*75fd0b74Schristos	* Makefile.am: Add eelf32microblazeel.c and eelf32mbel_linux.c.
145*75fd0b74Schristos	* Makefile.in: Regenerated.
146*75fd0b74Schristos	* configure.tgt: Add microblazeel and set endian per target.
147*75fd0b74Schristos	* emulparams/elf32mb_linux.sh: Add OUTPUT_FORMAT.
148*75fd0b74Schristos	* emulparams/elf32microblaze.sh: Likewise.
149*75fd0b74Schristos	* emulparams/elf32mbel_linux.sh: New file.
150*75fd0b74Schristos	* emulparams/elf32microblazeel.sh: Likewise.
151*75fd0b74Schristos
152*75fd0b74Schristos2012-11-09  H.J. Lu  <hongjiu.lu@intel.com>
153*75fd0b74Schristos
154*75fd0b74Schristos	* testplug.c (record_add_file): Remove trailing redundant `;'.
155*75fd0b74Schristos
156*75fd0b74Schristos2012-11-05  Alan Modra  <amodra@gmail.com>
157*75fd0b74Schristos
158*75fd0b74Schristos	* configure.in: Apply 2012-09-10 change to config.in here.
159*75fd0b74Schristos
160*75fd0b74Schristos2012-11-01  Nathan Sidwell  <nathan@codesourcery.com>
161*75fd0b74Schristos
162*75fd0b74Schristos	* emultempl/elf32.em: Print stacksize help.
163*75fd0b74Schristos
164*75fd0b74Schristos2012-11-01  Alan Modra  <amodra@gmail.com>
165*75fd0b74Schristos
166*75fd0b74Schristos	* ldlang.c (insert_pad): Correct output section size calculation.
167*75fd0b74Schristos	(lang_size_sections_1): Likewise for lang_data_statement and
168*75fd0b74Schristos	lang_reloc_statement.
169*75fd0b74Schristos
170*75fd0b74Schristos2012-10-29  Alan Modra  <amodra@gmail.com>
171*75fd0b74Schristos
172*75fd0b74Schristos	* configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o
173*75fd0b74Schristos	and pe-dll.o.
174*75fd0b74Schristos
175*75fd0b74Schristos2012-10-24  H.J. Lu  <hongjiu.lu@intel.com>
176*75fd0b74Schristos
177*75fd0b74Schristos	* ld.h (command_line): Remove
178*75fd0b74Schristos	disable_target_specific_optimizations.
179*75fd0b74Schristos	(RELAXATION_DISABLED_BY_DEFAULT): Removed.
180*75fd0b74Schristos	(RELAXATION_DISABLED_BY_USER): Likewise.
181*75fd0b74Schristos	(RELAXATION_ENABLED): Likewise.
182*75fd0b74Schristos	(DISABLE_RELAXATION): Likewise.
183*75fd0b74Schristos	(ENABLE_RELAXATION): Likewise.
184*75fd0b74Schristos
185*75fd0b74Schristos	* ldmain.c (main): Updated.
186*75fd0b74Schristos
187*75fd0b74Schristos	* ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro.
188*75fd0b74Schristos	(RELAXATION_DISABLED_BY_USER): Likewise.
189*75fd0b74Schristos	(RELAXATION_ENABLED): Likewise.
190*75fd0b74Schristos	(DISABLE_RELAXATION): Likewise.
191*75fd0b74Schristos	(ENABLE_RELAXATION): Likewise.
192*75fd0b74Schristos
193*75fd0b74Schristos2012-10-23  Nathan Sidwell  <nathan@codesourcery.com>
194*75fd0b74Schristos
195*75fd0b74Schristos	* ld.texinfo (stack-size): New option.
196*75fd0b74Schristos	* emultempl/elf32.em: Add stack-size option.
197*75fd0b74Schristos
198*75fd0b74Schristos2012-10-22  Jan Beich  <jbeich@tormail.org>
199*75fd0b74Schristos	    Alan Modra  <amodra@gmail.com>
200*75fd0b74Schristos
201*75fd0b74Schristos	PR ld/14426
202*75fd0b74Schristos	* ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL.
203*75fd0b74Schristos	* lexsup.c (parse_args): Likewise.
204*75fd0b74Schristos	(ld_options): Describe --ignore-unresolved-symbol.
205*75fd0b74Schristos	* ldmain.h (add_ignoresym): Declare.
206*75fd0b74Schristos	* ldmain.c (add_ignoresym): New function, extracted from..
207*75fd0b74Schristos	(undefined_symbol): ..here.  Return if the symbol is in ignore_hash.
208*75fd0b74Schristos	(constructor_callback): Don't use global link_info here.
209*75fd0b74Schristos	(reloc_overflow): Likewise.
210*75fd0b74Schristos
211*75fd0b74Schristos2012-10-22  Alan Modra  <amodra@gmail.com>
212*75fd0b74Schristos
213*75fd0b74Schristos	* plugin.c (plugin_load_plugins): Warning fix.
214*75fd0b74Schristos
215*75fd0b74Schristos2012-10-18  Kai Tietz  <ktietz@redhat.com>
216*75fd0b74Schristos
217*75fd0b74Schristos	PR binutils/14067
218*75fd0b74Schristos	* NEWS: Menition new feature.
219*75fd0b74Schristos	* scripttempl/pep.sc: Add zdebug sections.
220*75fd0b74Schristos	* scripttempl/pe.sc: L
221*75fd0b74Schristos
222*75fd0b74Schristos2012-09-19  Steve Ellcey  <sellcey@mips.com>
223*75fd0b74Schristos
224*75fd0b74Schristos	* configure.tgt: Add mips*-mti-elf* target.
225*75fd0b74Schristos
226*75fd0b74Schristos2012-09-17  Alan Modra  <amodra@gmail.com>
227*75fd0b74Schristos
228*75fd0b74Schristos	* ld.texinfo (Expression Section): Correct description of
229*75fd0b74Schristos	conversions for a binary operation involving an absolute symbol
230*75fd0b74Schristos	and a number.
231*75fd0b74Schristos
232*75fd0b74Schristos2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
233*75fd0b74Schristos
234*75fd0b74Schristos	* configure: Regenerate.
235*75fd0b74Schristos
236*75fd0b74Schristos2012-09-13  Anthony Green  <green@moxielogic.com>
237*75fd0b74Schristos
238*75fd0b74Schristos	* emulparams/elf32moxie.sh (BIG_OUTPUT_FORMAT,
239*75fd0b74Schristos	LITTLE_OUTPUT_FORMAT): Define.
240*75fd0b74Schristos	(OUTPUT_FORMAT): Change to elf32-bigmoxie.
241*75fd0b74Schristos	(EMBEDDED): Define.
242*75fd0b74Schristos
243*75fd0b74Schristos2012-09-12  DJ Delorie  <dj@redhat.com>
244*75fd0b74Schristos
245*75fd0b74Schristos	* emulparams/elf32rx.sh (OTHER_READONLY_SECTIONS): Add W_* sections.
246*75fd0b74Schristos
247*75fd0b74Schristos2012-09-10  Matthias Klose  <doko@ubuntu.com>
248*75fd0b74Schristos
249*75fd0b74Schristos	* config.in: Disable sanity check for kfreebsd.
250*75fd0b74Schristos
251*75fd0b74Schristos2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
252*75fd0b74Schristos
253*75fd0b74Schristos	* configure: Regenerated.
254*75fd0b74Schristos
255*75fd0b74Schristos2012-09-10  Iain Sandoe  <iain@codesourcery.com>
256*75fd0b74Schristos	    Alan Modra  <amodra@gmail.com>
257*75fd0b74Schristos
258*75fd0b74Schristos	* configure.tgt (powerpc-*-elf, et al): Define targ_extra_libpath.
259*75fd0b74Schristos	Correct whitespace.
260*75fd0b74Schristos	(powerpcle-*-elf, et al): Likewise.  Correct targ_extra_emuls.
261*75fd0b74Schristos
262*75fd0b74Schristos2012-09-10  Iain Sandoe  <iain@codesourcery.com>
263*75fd0b74Schristos
264*75fd0b74Schristos	* configure.tgt (powerpc-*-elf, et al): Define targ64_extra_emuls
265*75fd0b74Schristos	and targ64_extra_libpath.
266*75fd0b74Schristos	(powerpcle-*-elf, et al): Likewise.
267*75fd0b74Schristos
268*75fd0b74Schristos2012-09-09  Hans-Peter Nilsson  <hp@bitrange.com>
269*75fd0b74Schristos
270*75fd0b74Schristos	* emultempl/mmo.em (mmo_place_orphan): Rewrite to also attach
271*75fd0b74Schristos	orphan sections to .data and .bss output sections, not just .text.
272*75fd0b74Schristos	When giving up on finding a suitable output section, attach to any
273*75fd0b74Schristos	output section other than .MMIX.reg_contents, if it exists.
274*75fd0b74Schristos	* scripttempl/mmo.sc: Move output debug sections to just before
275*75fd0b74Schristos	.MMIX.reg_contents.  Add .gnu.attributes.  Add new . = . NOP
276*75fd0b74Schristos	assignments and move end-of-section provide-symbols after them
277*75fd0b74Schristos	to force the end-of-section symbols to the address after orphan
278*75fd0b74Schristos	placement.  Add SORT_NONE to .init and .fini sections.
279*75fd0b74Schristos
280*75fd0b74Schristos2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
281*75fd0b74Schristos
282*75fd0b74Schristos	PR ld/14525
283*75fd0b74Schristos	* scripttempl/elf.sc: Also provide __executable_start for PIE.
284*75fd0b74Schristos
285*75fd0b74Schristos2012-08-17  Kai Tietz  <ktietz@redhat.com>
286*75fd0b74Schristos
287*75fd0b74Schristos	PR ld/14326
288*75fd0b74Schristos	* scripttempl/pe.sc: Add _etext symbol.
289*75fd0b74Schristos
290*75fd0b74Schristos2012-08-14  Nick Clifton  <nickc@redhat.com>
291*75fd0b74Schristos
292*75fd0b74Schristos	* configure.in (ALL_LINGUGAS): Add uk.
293*75fd0b74Schristos	* configure: Regenerate.
294*75fd0b74Schristos	* po/uk.po: New Ukranian translation.
295*75fd0b74Schristos
296*75fd0b74Schristos2012-08-13  Ian Bolton  <ian.bolton@arm.com>
297*75fd0b74Schristos	    Laurent Desnogues  <laurent.desnogues@arm.com>
298*75fd0b74Schristos	    Jim MacArthur  <jim.macarthur@arm.com>
299*75fd0b74Schristos	    Marcus Shawcroft  <marcus.shawcroft@arm.com>
300*75fd0b74Schristos	    Nigel Stephens  <nigel.stephens@arm.com>
301*75fd0b74Schristos	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
302*75fd0b74Schristos	    Richard Earnshaw  <rearnsha@arm.com>
303*75fd0b74Schristos	    Sofiane Naci  <sofiane.naci@arm.com>
304*75fd0b74Schristos	    Tejas Belagod  <tejas.belagod@arm.com>
305*75fd0b74Schristos	    Yufeng Zhang  <yufeng.zhang@arm.com>
306*75fd0b74Schristos
307*75fd0b74Schristos	* Makefile.am: Add AArch64.
308*75fd0b74Schristos	* Makefile.in: Regenerate.
309*75fd0b74Schristos	* configure.tgt: Add AArch64.
310*75fd0b74Schristos	* emulparams/aarch64elf.sh: New file.
311*75fd0b74Schristos	* emulparams/aarch64elfb.sh: New file.
312*75fd0b74Schristos	* emulparams/aarch64linux.sh: New file.
313*75fd0b74Schristos	* emulparams/aarch64linuxb.sh: New file.
314*75fd0b74Schristos	* emultempl/aarch64elf.em: New file.
315*75fd0b74Schristos	* NEWS: Mention the new feature.
316*75fd0b74Schristos
317*75fd0b74Schristos2012-08-09  Nick Clifton  <nickc@redhat.com>
318*75fd0b74Schristos
319*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
320*75fd0b74Schristos
321*75fd0b74Schristos2012-08-07  Daniel Green  <venix1@gmail.com>
322*75fd0b74Schristos
323*75fd0b74Schristos	* scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
324*75fd0b74Schristos	* scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
325*75fd0b74Schristos
326*75fd0b74Schristos2012-08-07  Nick Clifton  <nickc@redhat.com>
327*75fd0b74Schristos
328*75fd0b74Schristos	* po/ja.po: Updated Japanese translation.
329*75fd0b74Schristos
330*75fd0b74Schristos2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
331*75fd0b74Schristos
332*75fd0b74Schristos	* emulparams/elf32bmip.sh: Make _gp hidden.
333*75fd0b74Schristos	* emulparams/elf32bmipn32-defs.sh: Likewise.
334*75fd0b74Schristos	* emulparams/elf32mipswindiss.sh: Likewise.
335*75fd0b74Schristos	* scripttempl/mips.sc: Likewise.
336*75fd0b74Schristos
337*75fd0b74Schristos2012-08-06  Maciej W. Rozycki  <macro@codesourcery.com>
338*75fd0b74Schristos
339*75fd0b74Schristos	* ldexp.h (etree_union): Add defsym member to the assign member
340*75fd0b74Schristos	structure.
341*75fd0b74Schristos	(exp_assign): Add hidden argument to prototype.
342*75fd0b74Schristos	* ldexp.c (exp_fold_tree_1): Use the defsym member to handle
343*75fd0b74Schristos	--defsym symbols.
344*75fd0b74Schristos	(exp_assop): Add defsym argument, initialize the defsym member
345*75fd0b74Schristos	of the assign structure.
346*75fd0b74Schristos	(exp_assign): Handle hidden symbols.
347*75fd0b74Schristos	(exp_defsym): Update to use the defsym argument to exp_assop.
348*75fd0b74Schristos	(exp_provide): Update to handle the defsym argument to exp_assop.
349*75fd0b74Schristos	* ldlex.l (HIDDEN): New token.
350*75fd0b74Schristos	* ldgram.y (HIDDEN): Likewise.
351*75fd0b74Schristos	(assignment, section): Update calls to exp_assign.
352*75fd0b74Schristos	* ldctor.c (ldctor_build_sets): Likewise.
353*75fd0b74Schristos	* mri.c (mri_format): Likewise.
354*75fd0b74Schristos	* ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise.
355*75fd0b74Schristos	(open_input_bfds): Remove --defsym symbols special case.
356*75fd0b74Schristos	* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update
357*75fd0b74Schristos	call to exp_assign.
358*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
359*75fd0b74Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
360*75fd0b74Schristos	* emultempl/spuelf.em (spu_place_special_section): Likewise.
361*75fd0b74Schristos	* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets):
362*75fd0b74Schristos	Likewise.
363*75fd0b74Schristos	* ld.texinfo (Assigning Values to Symbols): Add HIDDEN.
364*75fd0b74Schristos	(HIDDEN): New subsection.
365*75fd0b74Schristos
366*75fd0b74Schristos2012-07-31  H.J. Lu  <hongjiu.lu@intel.com>
367*75fd0b74Schristos
368*75fd0b74Schristos	PR ld/14156
369*75fd0b74Schristos	* ldlang.c (wild_sort): Properly handle by_none.
370*75fd0b74Schristos
371*75fd0b74Schristos	* scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections.
372*75fd0b74Schristos	* scripttempl/elf32msp430.sc: Likewise.
373*75fd0b74Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
374*75fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
375*75fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
376*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
377*75fd0b74Schristos
378*75fd0b74Schristos2012-07-30  Nick Clifton  <nickc@redhat.com>
379*75fd0b74Schristos
380*75fd0b74Schristos	* po/ld.pot: Updated template.
381*75fd0b74Schristos	* po/bg.po: Updated Bulgarian translation.
382*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
383*75fd0b74Schristos	* po/fi.po: Updated Finnish translation.
384*75fd0b74Schristos
385*75fd0b74Schristos2012-07-27  Mike Frysinger  <vapier@gentoo.org>
386*75fd0b74Schristos
387*75fd0b74Schristos	* configure.in (BFD_VERSION): Run bfd/configure --version and
388*75fd0b74Schristos	parse the output of that.
389*75fd0b74Schristos	* configure: Regenerate.
390*75fd0b74Schristos
391*75fd0b74Schristos2012-07-27  Tristan Gingold  <gingold@adacore.com>
392*75fd0b74Schristos
393*75fd0b74Schristos	* NEWS: Add marker for 2.23.
394*75fd0b74Schristos
395*75fd0b74Schristos2012-07-24  Jan Waclawek <konfera@efton.sk>
396*75fd0b74Schristos
397*75fd0b74Schristos	PR ld/14058
398*75fd0b74Schristos	* emultempl/avrelf.em (avr_elf_after_allocation): Call
399*75fd0b74Schristos	elf32_avr_size_stubs with is_prealloc_run as TRUE.
400*75fd0b74Schristos
401*75fd0b74Schristos2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
402*75fd0b74Schristos
403*75fd0b74Schristos	* emulparams/elf_s390.sh (IREL_IN_PLT): Define.
404*75fd0b74Schristos	* emulparams/elf64_s390.sh (IREL_IN_PLT): Define.
405*75fd0b74Schristos
406*75fd0b74Schristos2012-07-13  Nick Clifton  <nickc@redhat.com>
407*75fd0b74Schristos
408*75fd0b74Schristos	PR ld/14357
409*75fd0b74Schristos	* ldmain.c (trace_file_tries): Rename to 'verbose'.
410*75fd0b74Schristos	* ldfile.c: Likewise.
411*75fd0b74Schristos	* ldlang.c: Likewise.
412*75fd0b74Schristos	* ldmain.h: Likewise.
413*75fd0b74Schristos	* lexsup.c: Likewise.
414*75fd0b74Schristos	* emultempl/elf32.em: Likewise.
415*75fd0b74Schristos	* emultemp/spuelf.em: Likewise.
416*75fd0b74Schristos	* pe-dll.c (pe_dll_generate_implib): Only print creation message
417*75fd0b74Schristos	in verbose mode.
418*75fd0b74Schristos
419*75fd0b74Schristos2012-07-10  H.J. Lu  <hongjiu.lu@intel.com>
420*75fd0b74Schristos
421*75fd0b74Schristos	PR ld/14156
422*75fd0b74Schristos	* NEWS: Mention SORT_NONE.
423*75fd0b74Schristos
424*75fd0b74Schristos	* ld.h (sort_type): Add by_none.
425*75fd0b74Schristos
426*75fd0b74Schristos	* ld.texinfo: Document SORT_NONE.
427*75fd0b74Schristos
428*75fd0b74Schristos	* ldgram.y: Handle SORT_NONE.
429*75fd0b74Schristos
430*75fd0b74Schristos	* ldlang.c (update_wild_statements): Handle by_none.  Don't
431*75fd0b74Schristos	sort .init/.fini sections.
432*75fd0b74Schristos
433*75fd0b74Schristos	* ldlex.l: Add SORT_NONE.
434*75fd0b74Schristos
435*75fd0b74Schristos2012-07-02  H.J. Lu  <hongjiu.lu@intel.com>
436*75fd0b74Schristos
437*75fd0b74Schristos	* ld.texinfo: Replace __end_SECNAME with __stop_SECNAME.
438*75fd0b74Schristos
439*75fd0b74Schristos2012-06-29  Nick Clifton  <nickc@redhat.com>
440*75fd0b74Schristos
441*75fd0b74Schristos	* scripttempl/alphavms.sc: Add .debug_macro section.
442*75fd0b74Schristos	* scripttempl/elf.sc: Likewise.
443*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
444*75fd0b74Schristos	* scripttempl/elf_chaos.sc: Likewise.
445*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
446*75fd0b74Schristos	* scripttempl/ia64vms.sc: Likewise.
447*75fd0b74Schristos
448*75fd0b74Schristos	* scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and
449*75fd0b74Schristos	.debug_macro sections.
450*75fd0b74Schristos	* scripttempl/avr.sc: Likewise.
451*75fd0b74Schristos	* scripttempl/elf32cr16.sc: Likewise.
452*75fd0b74Schristos	* scripttempl/elf32crx.sc: Likewise.
453*75fd0b74Schristos	* scripttempl/elf32msp430.sc: Likewise.
454*75fd0b74Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
455*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
456*75fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
457*75fd0b74Schristos	* scripttempl/elfi370.sc: Likewise.
458*75fd0b74Schristos	* scripttempl/elfm68hc11.sc: Likewise.
459*75fd0b74Schristos	* scripttempl/elfm68hc12.sc: Likewise.
460*75fd0b74Schristos	* scripttempl/elfxgate.sc: Likewise.
461*75fd0b74Schristos	* scripttempl/i386beos.sc: Likewise.
462*75fd0b74Schristos	* scripttempl/i386go32.sc: Likewise.
463*75fd0b74Schristos	* scripttempl/ip2k.sc: Likewise.
464*75fd0b74Schristos	* scripttempl/iq2000.sc: Likewise.
465*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
466*75fd0b74Schristos	* scripttempl/mmo.sc: Likewise.
467*75fd0b74Schristos	* scripttempl/v850.sc: Likewise.
468*75fd0b74Schristos	* scripttempl/xstormy16.sc: Likewise.
469*75fd0b74Schristos
470*75fd0b74Schristos2012-06-28  H.J. Lu  <hongjiu.lu@intel.com>
471*75fd0b74Schristos
472*75fd0b74Schristos	* ldlang.c (update_wild_statements): Remove redundant statement.
473*75fd0b74Schristos
474*75fd0b74Schristos2012-06-25  Alan Modra  <amodra@gmail.com>
475*75fd0b74Schristos
476*75fd0b74Schristos	* ldlang.c (load_symbols): Close file and set flags.loaded
477*75fd0b74Schristos	after parsing script file.
478*75fd0b74Schristos	(open_input_bfds): Don't segv on closed script.
479*75fd0b74Schristos
480*75fd0b74Schristos2012-06-24  H.J. Lu  <hongjiu.lu@intel.com>
481*75fd0b74Schristos
482*75fd0b74Schristos	* configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
483*75fd0b74Schristos	Remove x32 in tdir_i386linux and tdir_elf_i386.
484*75fd0b74Schristos
485*75fd0b74Schristos2012-06-22  Roland McGrath  <mcgrathr@google.com>
486*75fd0b74Schristos
487*75fd0b74Schristos	* NEWS: Mention __ehdr_start.
488*75fd0b74Schristos
489*75fd0b74Schristos2012-06-21  Alan Modra  <amodra@gmail.com>
490*75fd0b74Schristos
491*75fd0b74Schristos	* ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol
492*75fd0b74Schristos	absolute, and remove unnecessary alignment.
493*75fd0b74Schristos
494*75fd0b74Schristos2012-06-16  Alan Modra  <amodra@gmail.com>
495*75fd0b74Schristos
496*75fd0b74Schristos	* ldlang.h (lang_output_section_statement_type): Add after_end field.
497*75fd0b74Schristos	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
498*75fd0b74Schristos	(section_for_dot): Declare.
499*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Correct comment.
500*75fd0b74Schristos	(current_section): Move earlier.
501*75fd0b74Schristos	(current_assign, prefer_next_section): New static vars.
502*75fd0b74Schristos	(lang_do_assignments_1): Add found_end param.  Detect _end
503*75fd0b74Schristos	assignment to set found_end.  Set os->after_end.  Set above statics.
504*75fd0b74Schristos	(lang_do_assignments): Adjust lang_do_assignments_1 call.  Init
505*75fd0b74Schristos	vars.
506*75fd0b74Schristos	(section_for_dot): New function.
507*75fd0b74Schristos	(lang_set_startof): Don't make an absolute symbol.
508*75fd0b74Schristos	(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
509*75fd0b74Schristos	* ldexp.c (new_rel_from_abs): Use section_for_dot.
510*75fd0b74Schristos	* emultempl/lnk960.em (symbol_at_beginning_of): New function.
511*75fd0b74Schristos	(symbol_at_end_of): Likewise.
512*75fd0b74Schristos	(lnk960_after_allocation): Use them.
513*75fd0b74Schristos	* scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
514*75fd0b74Schristos	likewise before __bss_start.
515*75fd0b74Schristos
516*75fd0b74Schristos2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
517*75fd0b74Schristos
518*75fd0b74Schristos	* plugin.c (set_tv_header): Handle link_info.pie.
519*75fd0b74Schristos
520*75fd0b74Schristos2012-06-11  Alan Modra  <amodra@gmail.com>
521*75fd0b74Schristos
522*75fd0b74Schristos	PR ld/14215
523*75fd0b74Schristos	* ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section
524*75fd0b74Schristos	references.
525*75fd0b74Schristos	* emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of
526*75fd0b74Schristos	.got.plt.
527*75fd0b74Schristos	* emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise.
528*75fd0b74Schristos	* emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise.
529*75fd0b74Schristos	* emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise.
530*75fd0b74Schristos	* emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise.
531*75fd0b74Schristos	* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise.
532*75fd0b74Schristos	* emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise.
533*75fd0b74Schristos	* emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise.
534*75fd0b74Schristos	* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise.
535*75fd0b74Schristos
536*75fd0b74Schristos2012-06-07  Georg-Johann Lay  <avr@gjlay.de>
537*75fd0b74Schristos
538*75fd0b74Schristos	PR 13697
539*75fd0b74Schristos	* scripttempl/avr.sc (.data): Keep it.
540*75fd0b74Schristos
541*75fd0b74Schristos2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
542*75fd0b74Schristos
543*75fd0b74Schristos	* Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix.
544*75fd0b74Schristos	* Makefile.in: Regenerate.
545*75fd0b74Schristos
546*75fd0b74Schristos2012-05-30  Alan Modra  <amodra@gmail.com>
547*75fd0b74Schristos
548*75fd0b74Schristos	* ldlang.h (lang_output_section_statement_type): Rename
549*75fd0b74Schristos	"section_relative_symbol" field to "update_dot".
550*75fd0b74Schristos	* ldlang.c: Update all uses.
551*75fd0b74Schristos	(strip_excluded_output_sections): Don't test update_dot_tree here..
552*75fd0b74Schristos	(lang_leave_overlay): ..set update_dot here.
553*75fd0b74Schristos
554*75fd0b74Schristos2012-05-26  Alan Modra  <amodra@gmail.com>
555*75fd0b74Schristos
556*75fd0b74Schristos	* ldlex.h (enum option_values): Move from..
557*75fd0b74Schristos	* lexsup.c: ..here.
558*75fd0b74Schristos	* emultempl/ppc32elf.em: Include ldlex.h.
559*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Disable optimisations when
560*75fd0b74Schristos	--traditional-format.
561*75fd0b74Schristos	* emultempl/ppc64elf.em: Likewise.
562*75fd0b74Schristos
563*75fd0b74Schristos2012-05-25  Alan Modra  <amodra@gmail.com>
564*75fd0b74Schristos
565*75fd0b74Schristos	PR ld/13909
566*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle
567*75fd0b74Schristos	multiple .eh_frame sections attached to bfd.
568*75fd0b74Schristos
569*75fd0b74Schristos2012-05-23  Cary Coutant  <ccoutant@google.com>
570*75fd0b74Schristos
571*75fd0b74Schristos	* scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more
572*75fd0b74Schristos	carefully.  Fix typo where .rela.data.rel.ro matches
573*75fd0b74Schristos	.rel.data.rel.ro.
574*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
575*75fd0b74Schristos	* scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully.
576*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
577*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
578*75fd0b74Schristos
579*75fd0b74Schristos2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
580*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
581*75fd0b74Schristos
582*75fd0b74Schristos	PR 14072
583*75fd0b74Schristos	* configure.in: Add check that sysdep.h has been included before
584*75fd0b74Schristos	any system header files.
585*75fd0b74Schristos	* configure: Regenerate.
586*75fd0b74Schristos	* config.in: Regenerate.
587*75fd0b74Schristos	* sysdep.h: Generate an error if included before config.h.
588*75fd0b74Schristos
589*75fd0b74Schristos2012-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
590*75fd0b74Schristos
591*75fd0b74Schristos	* emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd'
592*75fd0b74Schristos	as the first argument for `bfd_get_section_name'.
593*75fd0b74Schristos
594*75fd0b74Schristos2012-05-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
595*75fd0b74Schristos
596*75fd0b74Schristos	PR ld/14069
597*75fd0b74Schristos	* emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf
598*75fd0b74Schristos	support.
599*75fd0b74Schristos
600*75fd0b74Schristos2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
601*75fd0b74Schristos
602*75fd0b74Schristos	* NEWS: Mention the support for S12X processors.
603*75fd0b74Schristos
604*75fd0b74Schristos2012-05-14  James Lemke  <jwlemke@codesourcery.com>
605*75fd0b74Schristos
606*75fd0b74Schristos	* ldlang.c (walk_wild_consider_section): Don't copy section_flag_list.
607*75fd0b74Schristos	Pass it to callback.
608*75fd0b74Schristos	(walk_wild_section_general): Pass section_flag_list to callback.
609*75fd0b74Schristos	(lang_add_section): Add sflag_list parm.
610*75fd0b74Schristos	Move out logic to keep / omit a section & call bfd_lookup_section_flags.
611*75fd0b74Schristos	(output_section_callback_fast): Add sflag_list parm.
612*75fd0b74Schristos	Add new parm to lang_add_section calls.
613*75fd0b74Schristos	(output_section_callback): Likewise.
614*75fd0b74Schristos	(check_section_callback): Add sflag_list parm.
615*75fd0b74Schristos	(lang_place_orphans): Add new parm to lang_add_section calls.
616*75fd0b74Schristos	(gc_section_callback): Add sflag_list parm.
617*75fd0b74Schristos	(find_relro_section_callback): Likewise.
618*75fd0b74Schristos	* ldlang.h (callback_t): Add flag_info parm.
619*75fd0b74Schristos	(lang_add_section): Add sflag_list parm.
620*75fd0b74Schristos	* emultempl/armelf.em (elf32_arm_add_stub_section):
621*75fd0b74Schristos	Add lang_add_section parm.
622*75fd0b74Schristos	* emultempl/beos.em (gld*_place_orphan): Likewise.
623*75fd0b74Schristos	* emultempl/elf32.em (gld*_place_orphan): Likewise.
624*75fd0b74Schristos	* emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
625*75fd0b74Schristos	* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
626*75fd0b74Schristos	* emultempl/mipself.em (mips_add_stub_section): Likewise.
627*75fd0b74Schristos	* emultempl/mmo.em (mmo_place_orphan): Likewise.
628*75fd0b74Schristos	* emultempl/pe.em (gld_*_place_orphan): Likewise.
629*75fd0b74Schristos	* emultempl/pep.em (gld_*_place_orphan): Likewise.
630*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
631*75fd0b74Schristos	* emultempl/spuelf.em (spu_place_special_section): Likewise.
632*75fd0b74Schristos	* emultempl/vms.em (vms_place_orphan): Likewise.
633*75fd0b74Schristos
634*75fd0b74Schristos2012-05-14  Catherine Moore  <clm@codesourcery.com>
635*75fd0b74Schristos
636*75fd0b74Schristos	* NEWS:  Mention PowerPC VLE port.
637*75fd0b74Schristos
638*75fd0b74Schristos2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
639*75fd0b74Schristos
640*75fd0b74Schristos	PR binutils/14028
641*75fd0b74Schristos	* configure.in: Invoke ACX_HEADER_STRING.
642*75fd0b74Schristos	* configure: Regenerate.
643*75fd0b74Schristos	* config.in: Regenerate.
644*75fd0b74Schristos	* sysdep.h: If STRINGS_WITH_STRING is defined then include both
645*75fd0b74Schristos	string.h and strings.h.
646*75fd0b74Schristos
647*75fd0b74Schristos2012-05-08  Alan Modra  <amodra@gmail.com>
648*75fd0b74Schristos
649*75fd0b74Schristos	* Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
650*75fd0b74Schristos	LC and LANG environment vars.
651*75fd0b74Schristos	* Makefile.in: Regenerate.
652*75fd0b74Schristos
653*75fd0b74Schristos2012-05-07  Tristan Gingold  <gingold@adacore.com>
654*75fd0b74Schristos
655*75fd0b74Schristos	* pe-dll.c (udef_table): Make it static.
656*75fd0b74Schristos
657*75fd0b74Schristos2012-05-05  Alan Modra  <amodra@gmail.com>
658*75fd0b74Schristos
659*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr.
660*75fd0b74Schristos	(generate_reloc): Use bfd_abs_section_ptr.
661*75fd0b74Schristos
662*75fd0b74Schristos2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
663*75fd0b74Schristos
664*75fd0b74Schristos	* configure.tgt: Support x86_64-*-linux-gnux32.
665*75fd0b74Schristos
666*75fd0b74Schristos2012-05-03  Sean Keys  <skeys@ipdatasys.com>
667*75fd0b74Schristos
668*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE
669*75fd0b74Schristos	and XGATE (elf).
670*75fd0b74Schristos	* Makefile.in: Rebuild.
671*75fd0b74Schristos	* configure.tgt: Recognize XGATE.
672*75fd0b74Schristos	* scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12.
673*75fd0b74Schristos	* emulparams/xgateelf: New emulation, mostly cloned from m68hc12.
674*75fd0b74Schristos	* NEWS: Mention new support.
675*75fd0b74Schristos
676*75fd0b74Schristos2012-04-26  Hans-Peter Nilsson  <hp@axis.com>
677*75fd0b74Schristos
678*75fd0b74Schristos	Make bfd asserts cause linker errors.
679*75fd0b74Schristos	* ldmain.c (default_bfd_assert_handler): New variable.
680*75fd0b74Schristos	(ld_bfd_assert_handler): New function.
681*75fd0b74Schristos	(main): Call bfd_set_assert_handler.
682*75fd0b74Schristos
683*75fd0b74Schristos2012-04-24  Alan Modra  <amodra@gmail.com>
684*75fd0b74Schristos
685*75fd0b74Schristos	* ldlang.c (size_input_section): Use sec_info_type rather than
686*75fd0b74Schristos	usrdata->flags.just_syms.
687*75fd0b74Schristos	* ldwrite.c (build_link_order): Likewise.
688*75fd0b74Schristos	* emultempl/hppaelf.em (build_section_lists): Likewise.
689*75fd0b74Schristos	* emultempl/ppc64elf.em (build_toc_list): Likewise.
690*75fd0b74Schristos	* emultempl/armelf.em (build_section_lists): Likewise.
691*75fd0b74Schristos	(after_allocation): Update for renamed sec_info_type value.
692*75fd0b74Schristos	* emultempl/tic6xdsbt.em: Likewise.
693*75fd0b74Schristos
694*75fd0b74Schristos2012-04-12  Roland McGrath  <mcgrathr@google.com>
695*75fd0b74Schristos
696*75fd0b74Schristos	* configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them.
697*75fd0b74Schristos	* emulparams/armelf_nacl.sh: New file.
698*75fd0b74Schristos	* emulparams/armelfb_nacl.sh: New file.
699*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c
700*75fd0b74Schristos	and earmelfb_nacl.c here.
701*75fd0b74Schristos	(earmelf_nacl.c, earmelfb_nacl.c): New targets.
702*75fd0b74Schristos	* Makefile.in: Regenerated.
703*75fd0b74Schristos
704*75fd0b74Schristos2012-04-11  Tristan Gingold  <gingold@adacore.com>
705*75fd0b74Schristos
706*75fd0b74Schristos	* scripttempl/ia64vms.sc: New file.
707*75fd0b74Schristos	* emultempl/vms.em (_before_parse): Support for ia64.
708*75fd0b74Schristos	(elf64-ia64-vms): New fragment for ia64.
709*75fd0b74Schristos	* emulparams/elf64_ia64_vms.sh: New file.
710*75fd0b74Schristos	* configure.tgt (ia64-*-*vms*): Add.
711*75fd0b74Schristos	* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
712*75fd0b74Schristos	(eelf64_ia64_vms.c): New rule.
713*75fd0b74Schristos	* Makefile.in: Regenerate.
714*75fd0b74Schristos
715*75fd0b74Schristos2012-04-06  Roland McGrath  <mcgrathr@google.com>
716*75fd0b74Schristos
717*75fd0b74Schristos	* configure.in (AC_CHECK_HEADERS): Add locale.h.
718*75fd0b74Schristos	* config.in: Regenerate.
719*75fd0b74Schristos	* configure: Regenerate.
720*75fd0b74Schristos
721*75fd0b74Schristos2012-04-05  Nick Clifton  <nickc@redhat.com>
722*75fd0b74Schristos
723*75fd0b74Schristos	* configure.in (AC_CHECK_FUNCS): Add setlocale.
724*75fd0b74Schristos	(AM_LC_MESSAGES): Add.
725*75fd0b74Schristos	* aclocal.m4: Regenerate.
726*75fd0b74Schristos	* config.in: Regenerate.
727*75fd0b74Schristos	* configure: Regenerate.
728*75fd0b74Schristos
729*75fd0b74Schristos2012-04-03  Roland McGrath  <mcgrathr@google.com>
730*75fd0b74Schristos
731*75fd0b74Schristos	* configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them.
732*75fd0b74Schristos	* emulparams/elf_nacl.sh: New file.
733*75fd0b74Schristos	* emulparams/elf_i386_nacl.sh: New file.
734*75fd0b74Schristos	* emulparams/elf32_x86_64_nacl.sh: New file.
735*75fd0b74Schristos	* emulparams/elf_x86_64_nacl.sh: New file.
736*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here.
737*75fd0b74Schristos	(ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and
738*75fd0b74Schristos	eelf_x86_64_nacl.c here.
739*75fd0b74Schristos	(eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c):
740*75fd0b74Schristos	New targets.
741*75fd0b74Schristos	* Makefile.in: Regenerated.
742*75fd0b74Schristos
743*75fd0b74Schristos	* scripttempl/elf.sc: Handle SEPARATE_CODE cases.
744*75fd0b74Schristos
745*75fd0b74Schristos2012-04-02  Mike Frysinger  <vapier@gentoo.org>
746*75fd0b74Schristos
747*75fd0b74Schristos	* ldmisc.c (vfinfo): Assign new local str to fmt.  Delete
748*75fd0b74Schristos	putc call.  If str and fmt are different, call fwrite on
749*75fd0b74Schristos	the difference.
750*75fd0b74Schristos
751*75fd0b74Schristos2012-03-30  Nick Clifton  <nickc@redhat.com>
752*75fd0b74Schristos
753*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
754*75fd0b74Schristos
755*75fd0b74Schristos2012-03-27  Roland McGrath  <mcgrathr@google.com>
756*75fd0b74Schristos
757*75fd0b74Schristos	* configure.in: Set want64 on a 64-bit host regardless of
758*75fd0b74Schristos	--enable-targets=all.
759*75fd0b74Schristos	* configure: Regenerated.
760*75fd0b74Schristos
761*75fd0b74Schristos2012-03-26  Tristan Gingold  <gingold@adacore.com>
762*75fd0b74Schristos
763*75fd0b74Schristos	* lexsup.c (parse_args): Add a missing '\n'.
764*75fd0b74Schristos
765*75fd0b74Schristos2012-03-25  Alan Modra  <amodra@gmail.com>
766*75fd0b74Schristos
767*75fd0b74Schristos	* ldemul.c (before_allocation_default): Revert last change.
768*75fd0b74Schristos	* ldlang.c (lang_add_section): Likewise.
769*75fd0b74Schristos	(strip_excluded_output_sections): Don't strip output sections with
770*75fd0b74Schristos	user input sections when emitrelocations, unless all are SEC_EXCLUDE.
771*75fd0b74Schristos
772*75fd0b74Schristos2012-03-23  Alan Modra  <amodra@gmail.com>
773*75fd0b74Schristos
774*75fd0b74Schristos	* ldemul.c (before_allocation_default): When emitrelocations,
775*75fd0b74Schristos	don't strip sections..
776*75fd0b74Schristos	* ldlang.c (lang_add_section): ..and don't set up map_head, map_tail.
777*75fd0b74Schristos
778*75fd0b74Schristos2012-03-14  Kai Tietz  <ktietz@redhat.com>
779*75fd0b74Schristos	    Pascal Obry  <pascal@obry.net>
780*75fd0b74Schristos
781*75fd0b74Schristos	* pe-dll.c (found_sym): New static variable.
782*75fd0b74Schristos	(undef_count): Likewise.
783*75fd0b74Schristos	(key_value): New structure.
784*75fd0b74Schristos	(undef_sort_cmp): Compare routine for qsort/bsearch.
785*75fd0b74Schristos	(pe_find_cdecl_alias_match): Add new argument.
786*75fd0b74Schristos	(pe_undef_alias_cdecl_match): Removed.
787*75fd0b74Schristos	(pe_undef_count): New helper routine.
788*75fd0b74Schristos	(pe_create_undef_table): Likewise.
789*75fd0b74Schristos	(pe_process_import_defs): Use pe_create_undef_table and
790*75fd0b74Schristos	new pe_undef_alias_cdecl_match function.
791*75fd0b74Schristos
792*75fd0b74Schristos2012-03-14  Alan Modra  <amodra@gmail.com>
793*75fd0b74Schristos
794*75fd0b74Schristos	PR ld/13839
795*75fd0b74Schristos	* ldexp.c (fold_name): Ignore undefined symbols when assigning to
796*75fd0b74Schristos	dot in mark phase.
797*75fd0b74Schristos	(exp_fold_tree_1): Evaluate assignment to dot expressions even when
798*75fd0b74Schristos	discarding result, for side effects.  Fix typo in error message.
799*75fd0b74Schristos
800*75fd0b74Schristos2012-03-08  Tristan Gingold  <gingold@adacore.com>
801*75fd0b74Schristos
802*75fd0b74Schristos	* ldexp.c (exp_print_tree): Special case for SEGMENT_START.
803*75fd0b74Schristos	(exp_print_token): Constify.
804*75fd0b74Schristos
805*75fd0b74Schristos2012-03-08  Alan Modra  <amodra@gmail.com>
806*75fd0b74Schristos
807*75fd0b74Schristos	PR ld/10340
808*75fd0b74Schristos	* ldfile.c (is_sysrooted_pathname): Remove notsame param.
809*75fd0b74Schristos	(ldfile_add_library_path): Don't set sysrooted flag.
810*75fd0b74Schristos	(ldfile_open_file_search): Likewise, and don't copy them.
811*75fd0b74Schristos	(try_open): Delete exten and code handling such.  Add sysrooted
812*75fd0b74Schristos	param and return whether path is in sysroot.
813*75fd0b74Schristos	(ldfile_find_command_file): Delete extend param.  Add sysrooted
814*75fd0b74Schristos	param.  Rename local var.  Update try_open calls.
815*75fd0b74Schristos	(ldfile_open_command_file_1): Pass sysrooted to lex_push_file.
816*75fd0b74Schristos	* ldfile.h (search_dirs_type): Remove sysrooted field.
817*75fd0b74Schristos	* ldlang.c (new_afile): Always set sysrooted from input_flags.
818*75fd0b74Schristos	(load_symbols): Don't set input_flags.sysrooted.
819*75fd0b74Schristos	* ldlang.h (struct lang_input_statement_flags): Revise sysrooted
820*75fd0b74Schristos	comment.
821*75fd0b74Schristos	* ldlex.h (lex_push_file): Update prototype.
822*75fd0b74Schristos	* ldlex.l (sysrooted_stack): New array.
823*75fd0b74Schristos	(EOF): Pop input_flags.sysrooted.
824*75fd0b74Schristos	(lex_push_file): Add sysrooted param.  Save and set
825*75fd0b74Schristos	input_flags.sysrooted.
826*75fd0b74Schristos
827*75fd0b74Schristos2012-03-06  Alan Modra  <amodra@gmail.com>
828*75fd0b74Schristos
829*75fd0b74Schristos	* ldlang.h (struct lang_input_statement_flags): New, extract from..
830*75fd0b74Schristos	(lang_input_statement_type): ..here.  New field "flags".
831*75fd0b74Schristos	(input_flags): Declare.
832*75fd0b74Schristos	(missing_file): Delete.
833*75fd0b74Schristos	* ldmain.h (whole_archive): Delete.
834*75fd0b74Schristos	(add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
835*75fd0b74Schristos	* ld.h (ld_config_type <dynamic_link>): Delete.
836*75fd0b74Schristos	* ldmain.c (whole_archive): Delete.
837*75fd0b74Schristos	(add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
838*75fd0b74Schristos	* ldlang.c (missing_file, ldlang_sysrooted_script): Delete.
839*75fd0b74Schristos	(input_flags): New variable.  Replace all uses of config.dynamic_link,
840*75fd0b74Schristos	missing_file, ldlang_sysrooted_script, whole_archive,
841*75fd0b74Schristos	add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields
842*75fd0b74Schristos	from here.
843*75fd0b74Schristos	* ldfile.c: Likewise.
844*75fd0b74Schristos	* ldgram.y: Likewise.
845*75fd0b74Schristos	* ldmain.c: Likewise.
846*75fd0b74Schristos	* ldwrite.c: Likewise.
847*75fd0b74Schristos	* lexsup.c: Likewise.
848*75fd0b74Schristos	* plugin.c: Likewise.
849*75fd0b74Schristos	* emultempl/aix.em: Likewise.
850*75fd0b74Schristos	* emultempl/armelf.em: Likewise.
851*75fd0b74Schristos	* emultempl/elf32.em: Likewise.
852*75fd0b74Schristos	* emultempl/hppaelf.em: Likewise.
853*75fd0b74Schristos	* emultempl/linux.em: Likewise.
854*75fd0b74Schristos	* emultempl/pe.em: Likewise.
855*75fd0b74Schristos	* emultempl/pep.em: Likewise.
856*75fd0b74Schristos	* emultempl/ppc64elf.em: Likewise.
857*75fd0b74Schristos	* emultempl/scoreelf.em: Likewise.
858*75fd0b74Schristos	* emultempl/spuelf.em: Likewise.
859*75fd0b74Schristos	* emultempl/sunos.em: Likewise.
860*75fd0b74Schristos	* emultempl/vms.em: Likewise.
861*75fd0b74Schristos	* ldlang.c (new_afile): Use memset to init zero fields.
862*75fd0b74Schristos	(load_symbols): Simplify save and restore of flags around command
863*75fd0b74Schristos	file processing.
864*75fd0b74Schristos	* ldfile.c (is_sysrooted_pathname): Tidy.
865*75fd0b74Schristos
866*75fd0b74Schristos2012-03-05  Hans-Peter Nilsson  <hp@axis.com>
867*75fd0b74Schristos
868*75fd0b74Schristos	* configure.tgt (mips64*el-*-freebsd*, mips64*-*-freebsd*)
869*75fd0b74Schristos	(mips*el-*-freebsd*, mips*-*-freebsd*): Correct triplets by
870*75fd0b74Schristos	replacing trailing "-*" with "*".
871*75fd0b74Schristos
872*75fd0b74Schristos2012-02-25  Walter Lee  <walt@tilera.com>
873*75fd0b74Schristos
874*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx_be.c.
875*75fd0b74Schristos	(ALL_64_EMULATION_SOURCES): Add eelf64tilegx_be.c.
876*75fd0b74Schristos	(eelf32tilegx_be.c): Add rule to build this file.
877*75fd0b74Schristos	(eelf64tilegx_be.c): Ditto.
878*75fd0b74Schristos	* Makefile.in: Regenerate.
879*75fd0b74Schristos	* configure.tgt (tilegx-*-*): Support big endian.
880*75fd0b74Schristos	(tilegxbe-*-*): New.
881*75fd0b74Schristos	* emulparams/elf32tilegx.sh (OUTPUT_FORMAT): Rename.
882*75fd0b74Schristos	(BIG_OUTPUT_FORMAT): Define.
883*75fd0b74Schristos	(LITTLE_OUTPUT_FORMAT): Define.
884*75fd0b74Schristos	* emulparams/elf32tilegx_be.sh: New.
885*75fd0b74Schristos	* emulparams/elf64tilegx.sh (OUTPUT_FORMAT): Rename.
886*75fd0b74Schristos	(BIG_OUTPUT_FORMAT): Define.
887*75fd0b74Schristos	(LITTLE_OUTPUT_FORMAT): Define.
888*75fd0b74Schristos	* emulparams/elf64tilegx_be.sh: New.
889*75fd0b74Schristos
890*75fd0b74Schristos2012-02-24  Kai Tietz  <ktietz@redhat.com>
891*75fd0b74Schristos
892*75fd0b74Schristos	PR binutils/13710
893*75fd0b74Schristos	* deffilep.y (keyword_as_name): Disable LIBRARY
894*75fd0b74Schristos	keyword.
895*75fd0b74Schristos
896*75fd0b74Schristos2012-02-22  Alan Modra  <amodra@gmail.com>
897*75fd0b74Schristos
898*75fd0b74Schristos	PR ld/13683
899*75fd0b74Schristos	* ldlang.c (lang_process): Rerun lang_do_assignments before
900*75fd0b74Schristos	starting garbage collection.
901*75fd0b74Schristos	* ldexp.c (fold_name): Generate a reloc for defined symbols
902*75fd0b74Schristos	found without an associated output section during the mark phase.
903*75fd0b74Schristos	(exp_fold_tree_1): Continue processing an expression, even if we
904*75fd0b74Schristos	are unable to fold it, if we are in the first two evaluation
905*75fd0b74Schristos	phases.
906*75fd0b74Schristos	* ldexp.h (enum lang_phase_type): Add descriptions of the phases.
907*75fd0b74Schristos
908*75fd0b74Schristos2012-02-19  Kai Tietz  <ktietz@redhat.com>
909*75fd0b74Schristos
910*75fd0b74Schristos	* deffilep.y (cmp_import_elem): Sort first by module name.
911*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Free strings
912*75fd0b74Schristos	from removed export-element.
913*75fd0b74Schristos	(add_bfd_to_link): Optimize loop on import-elements and lower
914*75fd0b74Schristos	allocated memory.
915*75fd0b74Schristos	(pe_implied_import_dll): Pass NULL instead of 0 for pointer
916*75fd0b74Schristos	argument.
917*75fd0b74Schristos
918*75fd0b74Schristos2012-02-18  Hans-Peter Nilsson  <hp@axis.com>
919*75fd0b74Schristos
920*75fd0b74Schristos	* ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
921*75fd0b74Schristos	temporary variable node used for NULL argument.
922*75fd0b74Schristos
923*75fd0b74Schristos2012-02-18  Alan Modra  <amodra@gmail.com>
924*75fd0b74Schristos
925*75fd0b74Schristos	PR ld/13343
926*75fd0b74Schristos	* ld.h (parsing_defsym): Delete.
927*75fd0b74Schristos	* ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
928*75fd0b74Schristos	(fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
929*75fd0b74Schristos	exp_get_abs_int): Add tree arg for %S in error messages.  Don't
930*75fd0b74Schristos	fudge lineno.
931*75fd0b74Schristos	(exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
932*75fd0b74Schristos	type.filename from sub-tree.
933*75fd0b74Schristos	(exp_trinop): Likewise, and use "cond" rather than "lhs".
934*75fd0b74Schristos	* ldexp.h (node_type): Add filename field to struct.
935*75fd0b74Schristos	* ldfile.c (ldfile_input_filename): Delete.  Remove all refs.
936*75fd0b74Schristos	* ldfile.h (ldfile_input_filename): Delete.
937*75fd0b74Schristos	* ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
938*75fd0b74Schristos	%S in error messages.
939*75fd0b74Schristos	* ldemul.c (syslib_default, hll_default): Likewise.
940*75fd0b74Schristos	* ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
941*75fd0b74Schristos	lang_get_regions, lang_new_phdr): Likewise.
942*75fd0b74Schristos	(lang_size_sections_1): Pass addr_tree for %S.
943*75fd0b74Schristos	* ldlex.h (lex_redirect): Update prototype.
944*75fd0b74Schristos	(ldlex_filename): Declare.
945*75fd0b74Schristos	* ldlex.l (<EOF>): Don't set ldfile_input_filename.
946*75fd0b74Schristos	(lex_redirect): Add fake_filename and count params.  Push
947*75fd0b74Schristos	fake_filename to file_name_stack and init lineno from count.
948*75fd0b74Schristos	(ldlex_filename): New function.
949*75fd0b74Schristos	(lex_warn_invalid): Use above.
950*75fd0b74Schristos	* ldmain.c (main): Update lex_redirect call.
951*75fd0b74Schristos	* ldmisc.c (vfinfo <%S>): Take file name and line number from
952*75fd0b74Schristos	etree_type arg, or use current if arg is NULL.
953*75fd0b74Schristos	* lexsup.c (parsing_defsym): Delete.
954*75fd0b74Schristos	(parse_args <OPTION_DEFSYM>): Update lex_redirect call.
955*75fd0b74Schristos
956*75fd0b74Schristos2012-02-13  Kai Tietz  <ktietz@redhat.com>
957*75fd0b74Schristos
958*75fd0b74Schristos	* deffilep.y (find_export_in_list): Set is_indent for
959*75fd0b74Schristos	first or last element, if identical.
960*75fd0b74Schristos	(find_import_in_list): Likewise.
961*75fd0b74Schristos
962*75fd0b74Schristos2012-02-11  Kai Tietz  <ktietz@redhat.com>
963*75fd0b74Schristos
964*75fd0b74Schristos	* deffilep.y (%union): New type id_const.
965*75fd0b74Schristos	(opt_name2): New rule.
966*75fd0b74Schristos	(keyword_as_name): New rule.
967*75fd0b74Schristos	(dot_name): Replaced by opt_name2 rule.
968*75fd0b74Schristos	(opt_name): Adjust rule.
969*75fd0b74Schristos	(opt_equal_name): Likewise.
970*75fd0b74Schristos
971*75fd0b74Schristos2012-02-11  Pascal Obry  <pascal@obry.net>
972*75fd0b74Schristos
973*75fd0b74Schristos	* pe-dll.c (auto_export): Use bsearch to speed up scan of exports
974*75fd0b74Schristos	table.
975*75fd0b74Schristos	(process_def_file_and_drectve): Maintain sorting of exports table
976*75fd0b74Schristos	after stripping leading @ signs.
977*75fd0b74Schristos
978*75fd0b74Schristos2012-02-09  Alan Modra  <amodra@gmail.com>
979*75fd0b74Schristos
980*75fd0b74Schristos	* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
981*75fd0b74Schristos
982*75fd0b74Schristos2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
983*75fd0b74Schristos
984*75fd0b74Schristos	PR ld/13616
985*75fd0b74Schristos	* emulparams/elf32_x86_64.sh: Remove NOP.
986*75fd0b74Schristos	* emulparams/elf_i386.sh: Likewise.
987*75fd0b74Schristos	* emulparams/elf_i386_be.sh: Likewise.
988*75fd0b74Schristos	* emulparams/elf_i386_ldso.sh: Likewise.
989*75fd0b74Schristos	* emulparams/elf_i386_vxworks.sh: Likewise.
990*75fd0b74Schristos	* emulparams/elf_k1om.sh: Likewise.
991*75fd0b74Schristos	* emulparams/elf_l1om.sh: Likewise.
992*75fd0b74Schristos	* emulparams/elf_x86_64.sh: Likewise.
993*75fd0b74Schristos
994*75fd0b74Schristos	* ldlang.c (zero_fill): Initialized to 0.
995*75fd0b74Schristos
996*75fd0b74Schristos	* ldwrite.c (build_link_order): Set data size to linker odrder
997*75fd0b74Schristos	size when they are the same.
998*75fd0b74Schristos
999*75fd0b74Schristos	* scripttempl/elf.sc: Don't specify fill if NOP is undefined.
1000*75fd0b74Schristos
1001*75fd0b74Schristos2012-01-17  Alan Modra  <amodra@gmail.com>
1002*75fd0b74Schristos
1003*75fd0b74Schristos	* ldver.c (ldversion): Update copyright message year.
1004*75fd0b74Schristos
1005*75fd0b74Schristos2012-01-15  Alan Modra  <amodra@gmail.com>
1006*75fd0b74Schristos
1007*75fd0b74Schristos	PR ld/12758
1008*75fd0b74Schristos	* ldlang.c (lang_process): Don't reopen all files, just those
1009*75fd0b74Schristos	newly added by plugin.
1010*75fd0b74Schristos
1011*75fd0b74Schristos2012-01-11  Alan Modra  <amodra@gmail.com>
1012*75fd0b74Schristos
1013*75fd0b74Schristos	* emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
1014*75fd0b74Schristos	PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
1015*75fd0b74Schristos	PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
1016*75fd0b74Schristos	--{no-,}plt-align.
1017*75fd0b74Schristos	(plt_thread_safe, plt_stub_align): New vars.
1018*75fd0b74Schristos	(gld${EMULATION_NAME}_after_allocation): Pass them to
1019*75fd0b74Schristos	ppc64_elf_size_stubs.  Align stub sections according to plt_stub_align.
1020*75fd0b74Schristos	* ld.texinfo: Document new command line options, and an old
1021*75fd0b74Schristos	undocumented option.
1022*75fd0b74Schristos
1023*75fd0b74Schristos2012-01-09  Roland McGrath  <mcgrathr@google.com>
1024*75fd0b74Schristos
1025*75fd0b74Schristos	* configure.in: Use AM_ZLIB.
1026*75fd0b74Schristos	* configure: Regenerated.
1027*75fd0b74Schristos
1028*75fd0b74SchristosFor older changes see ChangeLog-2011
1029*75fd0b74Schristos
1030*75fd0b74SchristosCopyright (C) 2012 Free Software Foundation, Inc.
1031*75fd0b74Schristos
1032*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1033*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1034*75fd0b74Schristosnotice and this notice are preserved.
1035*75fd0b74Schristos
1036*75fd0b74SchristosLocal Variables:
1037*75fd0b74Schristosmode: change-log
1038*75fd0b74Schristosleft-margin: 8
1039*75fd0b74Schristosfill-column: 74
1040*75fd0b74Schristosversion-control: never
1041*75fd0b74SchristosEnd:
1042