[AArch64] Define LP64 LE loader name.
[platform/upstream/binutils.git] / ld / ChangeLog
1 2014-01-20  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2
3         * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
4
5 2014-01-20  Alan Modra  <amodra@gmail.com>
6
7         * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
8         by_script.  Make iteration a single bit field.
9         (lang_track_definedness, lang_symbol_definition_iteration): Delete.
10         (lang_symbol_defined): Declare.
11         * ldlang.c (lang_statement_iteration): Expand comment a little.
12         (lang_init <lang_definedness_table>): Make it bigger.
13         (lang_track_definedness, lang_symbol_definition): Delete.
14         (lang_definedness_newfunc): Update.
15         (lang_symbol_defined): New function.
16         (lang_update_definedness): Create entries here.  Do track whether
17         script definition of symbol is valid, even when also defined in
18         an object file.
19         * ldexp.c (fold_name <DEFINED>): Update.
20         (fold_name <NAME>): Allow self-assignment for absolute symbols
21         defined in a linker script.
22
23 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
24             Alan Modra  <amodra@gmail.com>
25
26         * ldlang.h (lang_output_section_get): Define.
27         * ldlang.c (lang_output_section_get): Likewise.
28         (init_os): Set the output_section userdata to the output
29         section statement.
30         * emultempl/hppaelf.em: Use lang_output_section_get instead of
31         lang_output_section_find where applicable.
32         * emultempl/aarch64elf.em: Likewise.
33         * emultempl/aix.em: Likewise.
34         * emultempl/armelf.em: Likewise.
35         * emultempl/m68hc1xelf.em: Likewise.
36         * emultempl/metagelf.em: Likewise.
37         * emultempl/mipself.em: Likewise.
38         * emultempl/ppc64elf.em: Likewise.
39         * emultempl/spuelf.em: Likewise.
40
41 2014-01-17  Alan Modra  <amodra@gmail.com>
42
43         * genscripts.sh (COMPILE_IN): Don't set if already set.
44         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
45         COMPILE_IN=no.
46         * emulparams/nds32elf16m.sh: Likewise.
47         * emulparams/nds32elf_linux.sh: Likewise.
48         * emultempl/aix.em: Test COMPILE_IN value is "yes".
49         * emultempl/armcoff.em: Likewise.
50         * emultempl/elf32.em: Likewise.
51         * emultempl/generic.em: Likewise.
52         * emultempl/gld960.em: Likewise.
53         * emultempl/gld960c.em: Likewise.
54         * emultempl/linux.em: Likewise.
55         * emultempl/lnk960.em: Likewise.
56         * emultempl/m68kcoff.em: Likewise.
57         * emultempl/sunos.em: Likewise.
58         * emultempl/ticoff.em: Likewise.
59
60 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
61
62         PR ld/16456
63         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
64         suffix.
65         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
66         for elf32_x86_64 emulation.
67         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
68         for elf_i386 emulation.
69
70 2014-01-16  Alan Modra  <amodra@gmail.com>
71
72         * ld.h (fat_section_userdata_type, get_userdata): Move to..
73         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
74         * ldlang.c (init_map_userdata): Delete.  Fold into..
75         (sort_def_symbol): ..here.  Don't attach input section userdata
76         to output sections or global bfd sections.
77         (lang_map): Don't pre-allocate input section userdata.
78         (init_os): Don't allocate userdata for output sections.
79         (print_all_symbols): Update.
80
81 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
82
83         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
84         Silence uninitialized warning on ehdr_start_save with older
85         GCC.
86
87 2014-01-15  Alan Modra  <amodra@gmail.com>
88
89         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
90         __ehdr_start before size_dynamic_sections and restore afterwards.
91
92 2014-01-10  Alan Modra  <amodra@gmail.com>
93
94         PR ld/14207
95         PR ld/16322
96         PR binutils/16323
97         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
98         adjust.  Tidy comments.
99         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
100
101 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
102
103         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
104
105 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
106
107         PR ld/14207
108         PR ld/16322
109         PR binutils/16323
110         * ldlang.c (lang_size_sections): Properly align RELRO base.
111
112 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
113
114         * ldver.c (ldversion): Update copyright year to 2014.
115
116 For older changes see ChangeLog-2013
117 \f
118 Copyright (C) 2014 Free Software Foundation, Inc.
119
120 Copying and distribution of this file, with or without modification,
121 are permitted in any medium without royalty provided the copyright
122 notice and this notice are preserved.
123
124 Local Variables:
125 mode: change-log
126 left-margin: 8
127 fill-column: 74
128 version-control: never
129 End: