1 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
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.
9 2014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
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
15 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
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.
25 2014-01-28 Nick Clifton <nickc@redhat.com>
27 * Makefile.am: Remove obsolete MSP430 emulations.
28 * configure.tgt: Likewise.
29 * emulparams/msp430all.sh: Likewise.
30 * Makefile.in: Regenerate.
32 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
35 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
36 orphaned TLS section handling.
38 2014-01-24 Alan Modra <amodra@gmail.com>
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.
45 2014-01-22 Alan Modra <amodra@gmail.com>
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.
56 2014-01-22 Alan Modra <amodra@gmail.com>
58 * ld.h (struct map_symbol_def): Move to..
60 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
62 2014-01-22 Alan Modra <amodra@gmail.com>
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.
73 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
75 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
77 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
79 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
81 2014-01-20 Alan Modra <amodra@gmail.com>
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
95 * ldexp.c (fold_name <DEFINED>): Update.
96 (fold_name <NAME>): Allow self-assignment for absolute symbols
97 defined in a linker script.
99 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
100 Alan Modra <amodra@gmail.com>
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
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.
117 2014-01-17 Alan Modra <amodra@gmail.com>
119 * genscripts.sh (COMPILE_IN): Don't set if already set.
120 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
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.
136 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
139 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
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.
146 2014-01-16 Alan Modra <amodra@gmail.com>
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.
157 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
159 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
160 Silence uninitialized warning on ehdr_start_save with older
163 2014-01-15 Alan Modra <amodra@gmail.com>
165 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
166 __ehdr_start before size_dynamic_sections and restore afterwards.
168 2014-01-10 Alan Modra <amodra@gmail.com>
173 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
174 adjust. Tidy comments.
175 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
177 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
179 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
181 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
186 * ldlang.c (lang_size_sections): Properly align RELRO base.
188 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
190 * ldver.c (ldversion): Update copyright year to 2014.
192 For older changes see ChangeLog-2013
194 Copyright (C) 2014 Free Software Foundation, Inc.
196 Copying and distribution of this file, with or without modification,
197 are permitted in any medium without royalty provided the copyright
198 notice and this notice are preserved.
204 version-control: never