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