1 2014-01-22 Alan Modra <amodra@gmail.com>
3 * ld.texinfo (Output Section Discarding): Mention assigning to dot
4 as a way of keeping otherwise empty sections.
5 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
6 is_dot_plus_0, is_align_conditional): New predicates.
7 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
8 output section, except for some special cases.
9 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
10 end of .heap and .stack.
12 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
14 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
16 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
18 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
20 2014-01-20 Alan Modra <amodra@gmail.com>
22 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
23 by_script. Make iteration a single bit field.
24 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
25 (lang_symbol_defined): Declare.
26 * ldlang.c (lang_statement_iteration): Expand comment a little.
27 (lang_init <lang_definedness_table>): Make it bigger.
28 (lang_track_definedness, lang_symbol_definition): Delete.
29 (lang_definedness_newfunc): Update.
30 (lang_symbol_defined): New function.
31 (lang_update_definedness): Create entries here. Do track whether
32 script definition of symbol is valid, even when also defined in
34 * ldexp.c (fold_name <DEFINED>): Update.
35 (fold_name <NAME>): Allow self-assignment for absolute symbols
36 defined in a linker script.
38 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
39 Alan Modra <amodra@gmail.com>
41 * ldlang.h (lang_output_section_get): Define.
42 * ldlang.c (lang_output_section_get): Likewise.
43 (init_os): Set the output_section userdata to the output
45 * emultempl/hppaelf.em: Use lang_output_section_get instead of
46 lang_output_section_find where applicable.
47 * emultempl/aarch64elf.em: Likewise.
48 * emultempl/aix.em: Likewise.
49 * emultempl/armelf.em: Likewise.
50 * emultempl/m68hc1xelf.em: Likewise.
51 * emultempl/metagelf.em: Likewise.
52 * emultempl/mipself.em: Likewise.
53 * emultempl/ppc64elf.em: Likewise.
54 * emultempl/spuelf.em: Likewise.
56 2014-01-17 Alan Modra <amodra@gmail.com>
58 * genscripts.sh (COMPILE_IN): Don't set if already set.
59 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
61 * emulparams/nds32elf16m.sh: Likewise.
62 * emulparams/nds32elf_linux.sh: Likewise.
63 * emultempl/aix.em: Test COMPILE_IN value is "yes".
64 * emultempl/armcoff.em: Likewise.
65 * emultempl/elf32.em: Likewise.
66 * emultempl/generic.em: Likewise.
67 * emultempl/gld960.em: Likewise.
68 * emultempl/gld960c.em: Likewise.
69 * emultempl/linux.em: Likewise.
70 * emultempl/lnk960.em: Likewise.
71 * emultempl/m68kcoff.em: Likewise.
72 * emultempl/sunos.em: Likewise.
73 * emultempl/ticoff.em: Likewise.
75 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
78 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
80 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
81 for elf32_x86_64 emulation.
82 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
83 for elf_i386 emulation.
85 2014-01-16 Alan Modra <amodra@gmail.com>
87 * ld.h (fat_section_userdata_type, get_userdata): Move to..
88 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
89 * ldlang.c (init_map_userdata): Delete. Fold into..
90 (sort_def_symbol): ..here. Don't attach input section userdata
91 to output sections or global bfd sections.
92 (lang_map): Don't pre-allocate input section userdata.
93 (init_os): Don't allocate userdata for output sections.
94 (print_all_symbols): Update.
96 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
98 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
99 Silence uninitialized warning on ehdr_start_save with older
102 2014-01-15 Alan Modra <amodra@gmail.com>
104 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
105 __ehdr_start before size_dynamic_sections and restore afterwards.
107 2014-01-10 Alan Modra <amodra@gmail.com>
112 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
113 adjust. Tidy comments.
114 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
116 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
118 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
120 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
125 * ldlang.c (lang_size_sections): Properly align RELRO base.
127 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
129 * ldver.c (ldversion): Update copyright year to 2014.
131 For older changes see ChangeLog-2013
133 Copyright (C) 2014 Free Software Foundation, Inc.
135 Copying and distribution of this file, with or without modification,
136 are permitted in any medium without royalty provided the copyright
137 notice and this notice are preserved.
143 version-control: never