1 2014-01-28 Nick Clifton <nickc@redhat.com>
3 * Makefile.am: Remove obsolete MSP430 emulations.
4 * configure.tgt: Likewise.
5 * emulparams/msp430all.sh: Likewise.
6 * Makefile.in: Regenerate.
8 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
11 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
12 orphaned TLS section handling.
14 2014-01-24 Alan Modra <amodra@gmail.com>
16 * ldlang.c (lang_output_section_find_by_flags): Be careful to
17 test look->bfd_section->flags if available rather than
18 look->flags. Separate SEC_THREAD_LOCAL handling from
19 SEC_READONLY loop, and rewrite.
21 2014-01-22 Alan Modra <amodra@gmail.com>
23 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
24 (lang_init): Initialise them.
25 (lang_print_asneeded): New function.
26 (lang_process): Call lang_print_asneeded.
27 * ldlang.h (struct asneeded_minfo): New.
28 (asneeded_list_tail): Declare.
29 * ldmain.c (add_archive_element): Improve archive map heading.
30 * ldmisc.c (minfo): Stash --as-needed info.
32 2014-01-22 Alan Modra <amodra@gmail.com>
34 * ld.h (struct map_symbol_def): Move to..
36 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
38 2014-01-22 Alan Modra <amodra@gmail.com>
40 * ld.texinfo (Output Section Discarding): Mention assigning to dot
41 as a way of keeping otherwise empty sections.
42 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
43 is_dot_plus_0, is_align_conditional): New predicates.
44 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
45 output section, except for some special cases.
46 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
47 end of .heap and .stack.
49 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
51 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
53 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
55 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
57 2014-01-20 Alan Modra <amodra@gmail.com>
59 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
60 by_script. Make iteration a single bit field.
61 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
62 (lang_symbol_defined): Declare.
63 * ldlang.c (lang_statement_iteration): Expand comment a little.
64 (lang_init <lang_definedness_table>): Make it bigger.
65 (lang_track_definedness, lang_symbol_definition): Delete.
66 (lang_definedness_newfunc): Update.
67 (lang_symbol_defined): New function.
68 (lang_update_definedness): Create entries here. Do track whether
69 script definition of symbol is valid, even when also defined in
71 * ldexp.c (fold_name <DEFINED>): Update.
72 (fold_name <NAME>): Allow self-assignment for absolute symbols
73 defined in a linker script.
75 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
76 Alan Modra <amodra@gmail.com>
78 * ldlang.h (lang_output_section_get): Define.
79 * ldlang.c (lang_output_section_get): Likewise.
80 (init_os): Set the output_section userdata to the output
82 * emultempl/hppaelf.em: Use lang_output_section_get instead of
83 lang_output_section_find where applicable.
84 * emultempl/aarch64elf.em: Likewise.
85 * emultempl/aix.em: Likewise.
86 * emultempl/armelf.em: Likewise.
87 * emultempl/m68hc1xelf.em: Likewise.
88 * emultempl/metagelf.em: Likewise.
89 * emultempl/mipself.em: Likewise.
90 * emultempl/ppc64elf.em: Likewise.
91 * emultempl/spuelf.em: Likewise.
93 2014-01-17 Alan Modra <amodra@gmail.com>
95 * genscripts.sh (COMPILE_IN): Don't set if already set.
96 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
98 * emulparams/nds32elf16m.sh: Likewise.
99 * emulparams/nds32elf_linux.sh: Likewise.
100 * emultempl/aix.em: Test COMPILE_IN value is "yes".
101 * emultempl/armcoff.em: Likewise.
102 * emultempl/elf32.em: Likewise.
103 * emultempl/generic.em: Likewise.
104 * emultempl/gld960.em: Likewise.
105 * emultempl/gld960c.em: Likewise.
106 * emultempl/linux.em: Likewise.
107 * emultempl/lnk960.em: Likewise.
108 * emultempl/m68kcoff.em: Likewise.
109 * emultempl/sunos.em: Likewise.
110 * emultempl/ticoff.em: Likewise.
112 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
115 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
117 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
118 for elf32_x86_64 emulation.
119 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
120 for elf_i386 emulation.
122 2014-01-16 Alan Modra <amodra@gmail.com>
124 * ld.h (fat_section_userdata_type, get_userdata): Move to..
125 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
126 * ldlang.c (init_map_userdata): Delete. Fold into..
127 (sort_def_symbol): ..here. Don't attach input section userdata
128 to output sections or global bfd sections.
129 (lang_map): Don't pre-allocate input section userdata.
130 (init_os): Don't allocate userdata for output sections.
131 (print_all_symbols): Update.
133 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
135 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
136 Silence uninitialized warning on ehdr_start_save with older
139 2014-01-15 Alan Modra <amodra@gmail.com>
141 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
142 __ehdr_start before size_dynamic_sections and restore afterwards.
144 2014-01-10 Alan Modra <amodra@gmail.com>
149 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
150 adjust. Tidy comments.
151 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
153 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
155 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
157 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
162 * ldlang.c (lang_size_sections): Properly align RELRO base.
164 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
166 * ldver.c (ldversion): Update copyright year to 2014.
168 For older changes see ChangeLog-2013
170 Copyright (C) 2014 Free Software Foundation, Inc.
172 Copying and distribution of this file, with or without modification,
173 are permitted in any medium without royalty provided the copyright
174 notice and this notice are preserved.
180 version-control: never