Print PHDRS clause for debugging.
[binutils-gdb.git] / ld / ChangeLog
1 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR 5715
4 * configure: Regenerated.
5
6 2008-01-31 Marc Gauthier <marc@tensilica.com>
7
8 * configure.tgt (xtensa*-*-*): Recognize processor variants.
9
10 2008-01-28 Fabian Groffen <grobian@gentoo.org>
11
12 * configure.tgt (x86_64-*-solaris2): Add support for this target.
13
14 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
15
16 PR ld/5652
17 * genscripts.sh: Check for the existence of BASH_LINENO not just
18 the BASH shell before generating line numbers in the emulation
19 file.
20
21 2008-01-28 Alan Modra <amodra@bigpond.net.au>
22
23 * emultempl/spu_ovl.S: Rewrite.
24 * emultempl/spu_ovl.o: Regenerate.
25 * emultempl/spuelf.em (toe): Delete.
26 (spu_place_special_section): Add param to control section placement.
27 Adjust callers.
28 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
29 changes.
30 (spu_before_allocation): Adjust spu_elf_size_stubs call.
31 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
32
33 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR ld/5670
36 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
37 warning.
38
39 2008-01-25 Alan Modra <amodra@bigpond.net.au>
40
41 * ld.texinfo (INSERT): Describe.
42 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
43 (INSERT_K, AFTER, BEFORE): Add as tokens.
44 (ifile_p1): Handle INSERT statements.
45 (saved_script_handle, force_make_executable): Move to..
46 * ldmain.c: ..here.
47 (previous_script_handle): New global var.
48 * ldmain.h (saved_script_handle, force_make_executable): Declare.
49 (previous_script_handle): Likewise.
50 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
51 * lexsup.c (parge_args <-T>): Set previous_script_handle.
52 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
53 (map_input_to_output_sections, print_statement): Likewise.
54 (lang_size_sections_1, lang_do_assignments_1): Likewise.
55 (insert_os_after): New function, extracted from..
56 (lang_insert_orphan): ..here.
57 (process_insert_statements): New function.
58 (lang_process): Call it.
59 (lang_add_insert): New function.
60 * ldlang.h (lang_insert_statement_enum): New.
61 (lang_insert_statement_type): New.
62 (lang_statement_union_type): Add insert_statement.
63 (lang_add_insert): Declare.
64
65 2008-01-18 Bob Wilson <bob.wilson@acm.org>
66
67 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
68 changes from elf.sc.
69
70 2008-01-16 Alan Modra <amodra@bigpond.net.au>
71
72 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
73
74 2008-01-16 Alan Modra <amodra@bigpond.net.au>
75
76 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
77 (lang_afile_asection_pair_statement_type): Delete.
78 (lang_statement_union_type): Delete afile_asection_pair_statement.
79 * ldlang.c (lang_insert_orphan): Delete case handling the above.
80 (map_input_to_output_sections, print_statement): Likewise.
81
82 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
83
84 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
85 with __data_start.
86 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
87
88 2008-01-15 Alan Modra <amodra@bigpond.net.au>
89
90 PR 5604
91 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
92 syms to _bfd_elf_gc_keep.
93 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
94 ppc64_elf_edit_opd if no_opd_opt.
95
96 2008-01-11 Tristan Gingold <gingold@adacore.com>
97 Eric Botcazou <ebotcazou@adacore.com>
98
99 * ldlang.c (lang_end): Warns if the entry point is not found when
100 --gc-sections.
101 Emit an error if no root is specified when --gc-sections -r.
102 * ld.texinfo (Options): Document that --gc-sections is compatible
103 with -r and -q.
104 * ldmain.c (main): Do not error out if -r and --gc-sections.
105 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
106
107 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
108
109 PR ld/5533
110 * ldlang.c (lang_end): Issue a warning for a missing start symbol
111 of a shared library if the symbol was specified on the command
112 line.
113
114 2008-01-10 Alan Modra <amodra@bigpond.net.au>
115
116 * ld.texinfo (--gc-sections): Describe linker behaviour.
117
118 For older changes see ChangeLog-2007
119 \f
120 Local Variables:
121 mode: change-log
122 left-margin: 8
123 fill-column: 74
124 version-control: never
125 End: