*pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
[platform/upstream/binutils.git] / ld / ChangeLog
1 2008-07-09  Danny Smith  <dannysmith@users.sourceforge.net>
2
3            *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
4            starting with ".".
5            Exclude "_IMPORT_DESCRIPTOR_".
6            (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
7            (autofilter_symbollist_generic): Don't check for ".text".
8            Exclude "_NULL_IMPORT_DESCRIPTOR".
9            (autofilter_symbollist_i386): Likewise.
10
11 2008-07-07  Alan Modra  <amodra@bigpond.net.au>
12
13         * emultempl/armelf.em (elf32_arm_add_stub_section): Use
14         bfd_make_section_with_flags.
15         * emultempl/avrelf.em (avr_elf_create_output_section_statements):
16         Likewise.
17         * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
18         * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
19         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
20         * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
21         * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
22         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
23         Likewise.
24
25 2008-07-06  Nathan Sidwell  <nathan@codesourcery.com>
26
27         * ld.texinfo (File Commands): Document that INCLUDE can be used in
28         several different places.
29         * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
30         (memory, memory_spec_list): Simplify BNF
31         (memory_spec_list_opt): New rule.
32         * ldlex.l (INCLUDE): Recognize in EXPRESSION.
33
34 2008-06-20  Alan Modra  <amodra@bigpond.net.au>
35
36         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
37         build overlay stubs" a fatal error.
38
39 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
40
41         * config.in: Regenerate.
42         * configure: Regenerate.
43
44 2008-06-17  Alan Modra  <amodra@bigpond.net.au>
45
46         * emultempl/spuelf.em (extra_stack_space): New variable.
47         (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
48         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
49         PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
50         * emultempl/spu_ovl.S: Mask interrupts during dma and update of
51         overlay manager structures.
52         * emultempl/spu_ovl.o: Regenerate.
53
54 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
55
56         * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
57         mention it as being special for global symbols.
58
59 2008-06-12  Nick Clifton  <nickc@redhat.com>
60
61         * ldlang.c (print_output_section_statement): If the output section
62         statement has an update_dot_tree expression, apply it to
63         print_dot.
64         (print_input_section): Do not update print_dot if it would move
65         print_dot backwards.
66         (lang_do_assignments_1): If the output section statement has an
67         update_dot_tree expression apply it to dot.
68
69 2008-06-07  Alan Modra  <amodra@bigpond.net.au>
70
71         * NEWS: Mention archive:path patterns.
72         * ld.texinfo: Likewise.
73         * ldlang.c: Formatting throughout.
74         (archive_path): Only assume "[A-Za-z]:" is a dos drive.
75         (input_statement_is_archive_path): New function, extracted from..
76         (walk_wild): ..here.
77         (walk_wild_consider_section): Match archive:path here too.
78         (init_map_userdata, sort_def_symbol): Convert to ISO C.
79         * ldmain.c (main): Set link_info.path_separator.
80         * emultempl/spuelf.em (choose_target): Don't set it here.
81
82 2008-06-06  Alan Modra  <amodra@bigpond.net.au>
83
84         * ldlang.c (name_match): New function.
85         (unique_section_p, walk_wild_consider_section): Use it here.
86         (walk_wild_section_general): And here.
87         (archive_path): New function.
88         (walk_wild): Match archive:path filespecs.
89         (open_input_bfds): Don't load archive:path files.
90         * emultempl/spuelf.em (choose_target): Set path_separator.
91         * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
92
93 2008-06-04  Nick Clifton  <nickc@redhat.com>
94
95         * ld.texinfo (Orphan Sections): Fix texi typo.
96
97 2008-06-04  Chris Metcalf  <cmetcalf@tilera.com>
98
99         * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
100         (ld_options): Add entry for --no-fatal-warnings.
101         (parse_args): Handle OPTION_NO_WARN_FATAL.
102         * ld.texinfo (Options): Document new command line switch.
103
104 2008-06-04  Alan Modra  <amodra@bigpond.net.au>
105
106         * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
107
108 2008-06-02  Nathan Sidwell  <nathan@codesourcery.com>
109
110         * ldlang.c (closest_target_match): Skip generic big and little
111         endian ELF targets.
112
113 2008-05-31  Evandro Menezes  <evandro@yahoo.com>
114
115         PR ld/6430
116         * ld.h (enum sort_order): New.
117         * ldlang.c (lang_check: Fix comment.
118         (lang_common): Sort commons in ascending or descending order.
119         (lang_one_common): Likewise.
120         * lexsup.c (ld_options): Have --sort-common take an option
121         argument.
122         (parse_args): Handle argument to --sort-common.
123         * ld.texinfo (--sort-common): Document new optional argument.
124         * NEWS: Mention new feature.
125
126 2008-05-28  Christophe Lyon  <christophe.lyon@st.com>
127         
128         * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
129         only.
130
131 2008-05-27  Kai Tietz  <kai.tietz@onevision.com>
132
133         * pe-dll.c (fill_edata): Make sure we calculate vma's in
134         type bfd_vma.
135         (generate_reloc): Likewise.
136         (pe_implied_import_dll): Likewise.
137
138 2008-05-21  Nick Clifton  <nickc@redhat.com>
139
140         PR ld/6519
141         * ld.texinfo (Orphan Sections): Mention that the linker will
142         provide start and stop symbols for orphaned sections if their
143         names are valid C identifiers.
144         * NEWS: Add an addendum to the description of the linker feature
145         for providing orphan section start and end symbols.
146
147 2008-05-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
148
149         * configure.in (--enable-got): New option.  Handle it.
150         * configure: Regenerate.
151         * config.in: Regenerate.
152         * emultempl/m68kelf.em: (got_handling_target_default): New shell
153         variable.
154         (GOT_HANDLING_TARGET_DEFAULT): New macro.
155         (GOT_HANDLING_DEFAULT): New macro.  Initialize it from configure
156         option if one was given.
157         (got_handling): New static variable.
158         (elf_m68k_create_output_section_statements): New static function
159         implementing hook.
160         (PARSE_AND_LIST_PROLOGUE): Define shell variable.
161         (OPTION_GOT): New macro.
162         (PARSE_AND_LIST_LONGOPTS): Define shell variable.  Specify
163         --got option.
164         (got): New linker option.
165         (PARSE_AND_LIST_OPTIONS): Define shell variable.  Print help string
166         for --got option.
167         (PARSE_AND_LIST_ARGS_CASES): Define shell variable.  Handle --got
168         option. 
169         * ld.texinfo: Document --got=<type> option.
170         * gen-doc.texi: Add M68K.
171         * NEWS: Mention the new feature.
172
173 2008-05-21  Evandro Menezes  <evandro@yahoo.com>
174
175         PR ld/6430
176         * ld.texinfo (--sort-common): Correct documentation to indicate
177         that sorting is performed by alignment, not size, biggest
178         alignment first.
179
180 2008-05-21  Christophe Lyon  <christophe.lyon@st.com>
181             Nick Clifton  <nickc@redhat.com>
182
183         * ld.texinfo (ARM): Document --stub-group-size=N option.
184         Move description of --pic-veneer option into the ARM section.
185         * NEWS: Mention the support for long function calls.
186
187 2008-05-15  Christophe Lyon  <christophe.lyon@st.com>
188         
189         * emultempl/armelf.em (build_section_lists): New function.
190         (stub_file): Define.
191         (need_laying_out): Define.
192         (group_size): Define.
193         (hook_stub_info): Define.
194         (hook_in_stub): New function.
195         (elf32_arm_add_stub_section): New function.
196         (gldarm_layout_sections_again): New function.
197         (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
198         stubs for long calls if needed.
199         (arm_elf_create_output_section_statements): create stub_file bfd.
200         (arm_for_each_input_file_wrapper): New function.
201         (arm_lang_for_each_input_file): New function.
202         (lang_for_each_input_file): Define.
203         (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
204         (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
205         (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
206         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
207         (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
208         * lang.c (print_input_statement): Skip if bfd has
209         BFD_LINKER_CREATED.
210
211 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
212
213         * Makefile.in: Regenerate.
214
215 2008-05-09  Kai Tietz  <kai.tietz@onevision.com>
216
217         ld/PR6502
218         * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
219         of long and change return type to bfd_vma.
220         (definfo): Change type of address from long to bfd_vma.
221         (set_pep_value): Replace strtoul to strtoull.
222         (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
223         * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
224         ImageBase.
225         (quick_reloc): Change argument address from int to bfd_size_type.
226
227 2008-05-08  Tom Tromey  <tromey@redhat.com>
228
229         * ld.texinfo (PowerPC64 ELF64): Fix typo.
230
231 2008-05-08  Alan Modra  <amodra@bigpond.net.au>
232
233         * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
234         * elf32ppc.sh: If building with spu support, put ".data.spehandle"
235         sections at the start of ".data" and provide a symbol to locate
236         the directory of embedded spe programs.
237
238 2008-05-08  Alan Modra  <amodra@bigpond.net.au>
239
240         * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K.  Correct
241         MAX_K.
242         (fold_binary <SEGMENT_START>): Set expld.result.section to
243         current section.  Expand comment.  Formatting.
244         (fold_name <DEFINED>): Set expld.result.section to current section.
245
246 2008-04-28  Nathan Sidwell  <nathan@codesourcery.com>
247
248         * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
249         non-load sections.
250
251 2008-04-25  Michael Frysinger  <vapier@gentoo.org>
252
253         * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
254         and targ_extra_emuls to elf32bfin.
255
256 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
257
258         * aclocal.m4: Regenerate.
259         * configure: Regenerate.
260
261 2008-04-03  Kai Tietz  <kai.tietz@onevision.com>
262
263         * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
264
265 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
266
267         * po/POTFILES.in: Regenerate.
268
269 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
270
271         * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
272         auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
273         (spu_before_allocation): Warn on --auto-overlay and existing overlays.
274         (struct tflist, clean_tmp): Move.
275         (new_tmp_file): New function, extracted from..
276         (embedded_spu_file): ..here.
277         (spu_elf_open_overlay_script, spu_elf_relink): New function.
278         (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
279         Warn on --auto-overlay and zero local store.
280         (gld${EMULATION_NAME}_choose_target): New function to stash argv.
281         (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
282         OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
283         OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
284         (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
285         (PARSE_AND_LIST_OPTIONS): Likewise.
286         (PARSE_AND_LIST_ARGS_CASES): Likewise.
287         (LDEMUL_CHOOSE_TARGET): Define.
288
289 2008-04-03  Kai Tietz  <kai.tietz@onevision.com>
290
291         PR ld/6026
292         * pe-dll.c (make_head): Fix iat and thunk addend offset.
293
294 2008-03-31  Nick Clifton  <nickc@redhat.com>
295
296         * po/fr.po: Updated French translation.
297
298 2008-03-24  Ian Lance Taylor  <iant@google.com>
299
300         The sha1 code is now in libiberty.
301         * sha1.c: Remove.
302         * sha1.h: Remove.
303         * Makefile.am (CFILES): Remove sha1.c.
304         (HFILES): Remove sha1.h.
305         (OFILES): Remove sha1.o.
306         (ld_new_SOURCES): Remove sha1.c.
307         (sha1.o): Remove target.
308         * Makefile.in: Rebuild.
309
310 2008-03-20  Alan Modra  <amodra@bigpond.net.au>
311
312         * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
313
314 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
315
316         * aclocal.m4: Regenerate.
317         * configure: Likewise.
318         * Makefile.in: Likewise.
319
320 2008-03-14  Alan Modra  <amodra@bigpond.net.au>
321
322         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
323         spu_elf_build_stubs with is_spu_target.
324
325 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
326
327         * Makefile.am: Run "make dep-am".
328         * Makefile.in: Regenerate.
329         * configure: Regenerate.
330
331 2008-03-06  Joseph Myers  <joseph@codesourcery.com>
332             Roman Zippel  <zippel@linux-m68k.org>
333
334         * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
335         (COMMONPAGESIZE): Define.
336
337 2008-02-22  Nick Clifton  <nickc@redhat.com>
338
339         PR ld/5785
340         * ldlang.c (lang_size_sections_1): Honour the setting of an
341         lma_region even if there is no vma region set, or the vma region
342         is the same as the lma region.
343
344 2008-02-18  Nick Clifton  <nickc@redhat.com>
345
346         * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
347         relocatable link.
348         * scripttempl/elf32cr16.sc: Likewise.
349         * scripttempl/elf32cr16c.sc: Likewise.
350         * scripttempl/elf32crx.sc: Likewise.
351         * scripttempl/elf32sh-symbian.sc: Likewise.
352         * scripttempl/elf_chaos.sc: Likewise.
353         * scripttempl/elfd10v.sc: Likewise.
354         * scripttempl/elfi370.sc: Likewise.
355         * scripttempl/elfm68hc11.sc: Likewise.
356         * scripttempl/elfm68hc12.sc: Likewise.
357         * scripttempl/ip2k.sc: Likewise.
358         * scripttempl/iq2000.sc: Likewise.
359         * scripttempl/mep.sc: Likewise.
360         * scripttempl/v850.sc: Likewise.
361         * scripttempl/xstormy16.sc: Likewise.
362
363 2008-02-16  Alan Modra  <amodra@bigpond.net.au>
364
365         PR ld/5761
366         * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
367         load_base before calling make_abs.
368
369 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
370
371         * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
372         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
373         Likewise.
374         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
375         Likewise.
376         * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete.  Replace all
377         uses with..
378         (is_ppc_elf): ..this new macro.
379
380 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
381
382         * ldmain.h (output_bfd): Delete.
383         * ldmain.c (output_bfd): Delete.
384         Replace all occurrences of output_bfd with link_info.output_bfd.
385         * ldcref.c: Likewise.
386         * ldctor.c: Likewise.
387         * ldemul.c: Likewise.
388         * ldexp.c: Likewise.
389         * ldfile.c: Likewise.
390         * ldlang.c: Likewise.
391         * ldmisc.c: Likewise.
392         * ldwrite.c: Likewise.
393         * pe-dll.c: Likewise.
394         * emultempl/aix.em: Likewise.
395         * emultempl/alphaelf.em: Likewise.
396         * emultempl/armcoff.em: Likewise.
397         * emultempl/armelf.em: Likewise.
398         * emultempl/avrelf.em: Likewise.
399         * emultempl/beos.em: Likewise.
400         * emultempl/elf-generic.em: Likewise.
401         * emultempl/elf32.em: Likewise.
402         * emultempl/gld960.em: Likewise.
403         * emultempl/hppaelf.em: Likewise.
404         * emultempl/irix.em: Likewise.
405         * emultempl/linux.em: Likewise.
406         * emultempl/lnk960.em: Likewise.
407         * emultempl/m68hc1xelf.em: Likewise.
408         * emultempl/mmix-elfnmmo.em: Likewise.
409         * emultempl/mmo.em: Likewise.
410         * emultempl/pe.em: Likewise.
411         * emultempl/pep.em: Likewise.
412         * emultempl/ppc32elf.em: Likewise.
413         * emultempl/ppc64elf.em: Likewise.
414         * emultempl/scoreelf.em: Likewise.
415         * emultempl/sh64elf.em: Likewise.
416         * emultempl/spuelf.em: Likewise.
417         * emultempl/sunos.em: Likewise.
418         * emultempl/vanilla.em: Likewise.
419         * emultempl/vxworks.em: Likewise.
420         * emultempl/xtensaelf.em: Likewise.
421         * emultempl/z80.em: Likewise.
422         * ldlang.c (open_output): Don't return output, instead write
423         link_info_output_bfd directly.
424         * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
425         with link_info.output_bfd->xvec.
426         * emultempl/hppaelf.em: Likewise.
427         * emultempl/ppc32elf.em: Likewise.
428         * emultempl/ppc64elf.em: Likewise.
429         * emultempl/spuelf.em: Likewise.
430
431 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
432
433         * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
434         * ldfile.c (ldfile_add_library_path): Likewise.
435         * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
436         * emultempl/lnk960.em (lnk960_before_parse): Likewise.
437         * emultempl/spuelf.em (embedded_spu_file): Likewise.
438
439 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
440
441         * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
442         a "present" bit rather than low bit of .buf.  Correct indexing
443         into _ovly_buf_table.  Use relative loads and stores to access
444         overlay manager local vars.
445         * emultempl/spu_ovl.o: Regenerate.
446
447 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
448
449         PR 5715
450         * configure: Regenerated.
451
452 2008-01-31  Marc Gauthier  <marc@tensilica.com>
453
454         * configure.tgt (xtensa*-*-*): Recognize processor variants.
455
456 2008-01-28  Fabian Groffen  <grobian@gentoo.org>
457
458         * configure.tgt (x86_64-*-solaris2): Add support for this target.
459
460 2008-01-28  Vincent Riviere  <vincent.riviere@freesbee.fr>
461
462         PR ld/5652
463         * genscripts.sh: Check for the existence of BASH_LINENO not just
464         the BASH shell before generating line numbers in the emulation
465         file.
466
467 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
468
469         * emultempl/spu_ovl.S: Rewrite.
470         * emultempl/spu_ovl.o: Regenerate.
471         * emultempl/spuelf.em (toe): Delete.
472         (spu_place_special_section): Add param to control section placement.
473         Adjust callers.
474         (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
475         changes.
476         (spu_before_allocation): Adjust spu_elf_size_stubs call.
477         (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
478
479 2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>
480
481         PR ld/5670
482         * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
483         warning.
484
485 2008-01-25  Alan Modra  <amodra@bigpond.net.au>
486
487         * ld.texinfo (INSERT): Describe.
488         * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
489         (INSERT_K, AFTER, BEFORE): Add as tokens.
490         (ifile_p1): Handle INSERT statements.
491         (saved_script_handle, force_make_executable): Move to..
492         * ldmain.c: ..here.
493         (previous_script_handle): New global var.
494         * ldmain.h (saved_script_handle, force_make_executable): Declare.
495         (previous_script_handle): Likewise.
496         * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
497         * lexsup.c (parge_args <-T>): Set previous_script_handle.
498         * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
499         (map_input_to_output_sections, print_statement): Likewise.
500         (lang_size_sections_1, lang_do_assignments_1): Likewise.
501         (insert_os_after): New function, extracted from..
502         (lang_insert_orphan): ..here.
503         (process_insert_statements): New function.
504         (lang_process): Call it.
505         (lang_add_insert): New function.
506         * ldlang.h (lang_insert_statement_enum): New.
507         (lang_insert_statement_type): New.
508         (lang_statement_union_type): Add insert_statement.
509         (lang_add_insert): Declare.
510
511 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
512
513         * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
514         changes from elf.sc.
515
516 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
517
518         * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
519
520 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
521
522         * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
523         (lang_afile_asection_pair_statement_type): Delete.
524         (lang_statement_union_type): Delete afile_asection_pair_statement.
525         * ldlang.c (lang_insert_orphan): Delete case handling the above.
526         (map_input_to_output_sections, print_statement): Likewise.
527
528 2008-01-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
529
530         * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
531         with __data_start.
532         * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
533
534 2008-01-15  Alan Modra  <amodra@bigpond.net.au>
535
536         PR 5604
537         * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
538         syms to _bfd_elf_gc_keep.
539         * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
540         ppc64_elf_edit_opd if no_opd_opt.
541
542 2008-01-11  Tristan Gingold  <gingold@adacore.com>
543             Eric Botcazou  <ebotcazou@adacore.com>
544
545         * ldlang.c (lang_end): Warns if the entry point is not found when
546         --gc-sections.
547         Emit an error if no root is specified when --gc-sections -r.
548         * ld.texinfo (Options): Document that --gc-sections is compatible
549         with -r and -q.
550         * ldmain.c (main): Do not error out if -r and --gc-sections.
551         * scripttempl/elf.sc: Emit ENTRY command only if relocating.
552
553 2008-01-10  Daniel Jacobowitz  <drow@sources.redhat.com>
554
555         PR ld/5533
556         * ldlang.c (lang_end): Issue a warning for a missing start symbol
557         of a shared library if the symbol was specified on the command
558         line.
559
560 2008-01-10  Alan Modra  <amodra@bigpond.net.au>
561
562         * ld.texinfo (--gc-sections): Describe linker behaviour.
563
564 For older changes see ChangeLog-2007
565 \f
566 Local Variables:
567 mode: change-log
568 left-margin: 8
569 fill-column: 74
570 version-control: never
571 End: