Fix MMIX build breakage from bfd_set_section_vma change.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2
3 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
4 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
5 change.
6
7 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
8
9 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
10 * Makefile.in: Regenerated.
11 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
12 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
13 * emultempl/nios2elf.em: New file.
14 * gen-doc.texi (NIOSII): Set.
15 * ld.texinfo (NIOSII): Set.
16
17 2014-01-28 Nick Clifton <nickc@redhat.com>
18
19 * Makefile.am: Remove obsolete MSP430 emulations.
20 * configure.tgt: Likewise.
21 * emulparams/msp430all.sh: Likewise.
22 * Makefile.in: Regenerate.
23
24 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR ld/16498
27 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
28 orphaned TLS section handling.
29
30 2014-01-24 Alan Modra <amodra@gmail.com>
31
32 * ldlang.c (lang_output_section_find_by_flags): Be careful to
33 test look->bfd_section->flags if available rather than
34 look->flags. Separate SEC_THREAD_LOCAL handling from
35 SEC_READONLY loop, and rewrite.
36
37 2014-01-22 Alan Modra <amodra@gmail.com>
38
39 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
40 (lang_init): Initialise them.
41 (lang_print_asneeded): New function.
42 (lang_process): Call lang_print_asneeded.
43 * ldlang.h (struct asneeded_minfo): New.
44 (asneeded_list_tail): Declare.
45 * ldmain.c (add_archive_element): Improve archive map heading.
46 * ldmisc.c (minfo): Stash --as-needed info.
47
48 2014-01-22 Alan Modra <amodra@gmail.com>
49
50 * ld.h (struct map_symbol_def): Move to..
51 * ldlang.h: ..here.
52 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
53
54 2014-01-22 Alan Modra <amodra@gmail.com>
55
56 * ld.texinfo (Output Section Discarding): Mention assigning to dot
57 as a way of keeping otherwise empty sections.
58 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
59 is_dot_plus_0, is_align_conditional): New predicates.
60 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
61 output section, except for some special cases.
62 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
63 end of .heap and .stack.
64
65 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
66
67 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
68
69 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
70
71 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
72
73 2014-01-20 Alan Modra <amodra@gmail.com>
74
75 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
76 by_script. Make iteration a single bit field.
77 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
78 (lang_symbol_defined): Declare.
79 * ldlang.c (lang_statement_iteration): Expand comment a little.
80 (lang_init <lang_definedness_table>): Make it bigger.
81 (lang_track_definedness, lang_symbol_definition): Delete.
82 (lang_definedness_newfunc): Update.
83 (lang_symbol_defined): New function.
84 (lang_update_definedness): Create entries here. Do track whether
85 script definition of symbol is valid, even when also defined in
86 an object file.
87 * ldexp.c (fold_name <DEFINED>): Update.
88 (fold_name <NAME>): Allow self-assignment for absolute symbols
89 defined in a linker script.
90
91 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
92 Alan Modra <amodra@gmail.com>
93
94 * ldlang.h (lang_output_section_get): Define.
95 * ldlang.c (lang_output_section_get): Likewise.
96 (init_os): Set the output_section userdata to the output
97 section statement.
98 * emultempl/hppaelf.em: Use lang_output_section_get instead of
99 lang_output_section_find where applicable.
100 * emultempl/aarch64elf.em: Likewise.
101 * emultempl/aix.em: Likewise.
102 * emultempl/armelf.em: Likewise.
103 * emultempl/m68hc1xelf.em: Likewise.
104 * emultempl/metagelf.em: Likewise.
105 * emultempl/mipself.em: Likewise.
106 * emultempl/ppc64elf.em: Likewise.
107 * emultempl/spuelf.em: Likewise.
108
109 2014-01-17 Alan Modra <amodra@gmail.com>
110
111 * genscripts.sh (COMPILE_IN): Don't set if already set.
112 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
113 COMPILE_IN=no.
114 * emulparams/nds32elf16m.sh: Likewise.
115 * emulparams/nds32elf_linux.sh: Likewise.
116 * emultempl/aix.em: Test COMPILE_IN value is "yes".
117 * emultempl/armcoff.em: Likewise.
118 * emultempl/elf32.em: Likewise.
119 * emultempl/generic.em: Likewise.
120 * emultempl/gld960.em: Likewise.
121 * emultempl/gld960c.em: Likewise.
122 * emultempl/linux.em: Likewise.
123 * emultempl/lnk960.em: Likewise.
124 * emultempl/m68kcoff.em: Likewise.
125 * emultempl/sunos.em: Likewise.
126 * emultempl/ticoff.em: Likewise.
127
128 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
129
130 PR ld/16456
131 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
132 suffix.
133 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
134 for elf32_x86_64 emulation.
135 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
136 for elf_i386 emulation.
137
138 2014-01-16 Alan Modra <amodra@gmail.com>
139
140 * ld.h (fat_section_userdata_type, get_userdata): Move to..
141 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
142 * ldlang.c (init_map_userdata): Delete. Fold into..
143 (sort_def_symbol): ..here. Don't attach input section userdata
144 to output sections or global bfd sections.
145 (lang_map): Don't pre-allocate input section userdata.
146 (init_os): Don't allocate userdata for output sections.
147 (print_all_symbols): Update.
148
149 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
150
151 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
152 Silence uninitialized warning on ehdr_start_save with older
153 GCC.
154
155 2014-01-15 Alan Modra <amodra@gmail.com>
156
157 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
158 __ehdr_start before size_dynamic_sections and restore afterwards.
159
160 2014-01-10 Alan Modra <amodra@gmail.com>
161
162 PR ld/14207
163 PR ld/16322
164 PR binutils/16323
165 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
166 adjust. Tidy comments.
167 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
168
169 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
170
171 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
172
173 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
174
175 PR ld/14207
176 PR ld/16322
177 PR binutils/16323
178 * ldlang.c (lang_size_sections): Properly align RELRO base.
179
180 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
181
182 * ldver.c (ldversion): Update copyright year to 2014.
183
184 For older changes see ChangeLog-2013
185 \f
186 Copyright (C) 2014 Free Software Foundation, Inc.
187
188 Copying and distribution of this file, with or without modification,
189 are permitted in any medium without royalty provided the copyright
190 notice and this notice are preserved.
191
192 Local Variables:
193 mode: change-log
194 left-margin: 8
195 fill-column: 74
196 version-control: never
197 End:
This page took 0.044129 seconds and 5 git commands to generate.