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