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