Fix duplicate output section statement lookup
[platform/upstream/binutils.git] / ld / ChangeLog
1 2014-01-20  Guy Martin <gmsoft@tuxicoman.be>
2             Alan Modra  <amodra@gmail.com>
3
4         * ldlang.h (lang_output_section_get): Define.
5         * ldlang.c (lang_output_section_get): Likewise.
6         (init_os): Set the output_section userdata to the output
7         section statement.
8         * emultempl/hppaelf.em: Use lang_output_section_get instead of
9         lang_output_section_find where applicable.
10         * emultempl/aarch64elf.em: Likewise.
11         * emultempl/aix.em: Likewise.
12         * emultempl/armelf.em: Likewise.
13         * emultempl/m68hc1xelf.em: Likewise.
14         * emultempl/metagelf.em: Likewise.
15         * emultempl/mipself.em: Likewise.
16         * emultempl/ppc64elf.em: Likewise.
17         * emultempl/spuelf.em: Likewise.
18
19 2014-01-17  Alan Modra  <amodra@gmail.com>
20
21         * genscripts.sh (COMPILE_IN): Don't set if already set.
22         * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
23         COMPILE_IN=no.
24         * emulparams/nds32elf16m.sh: Likewise.
25         * emulparams/nds32elf_linux.sh: Likewise.
26         * emultempl/aix.em: Test COMPILE_IN value is "yes".
27         * emultempl/armcoff.em: Likewise.
28         * emultempl/elf32.em: Likewise.
29         * emultempl/generic.em: Likewise.
30         * emultempl/gld960.em: Likewise.
31         * emultempl/gld960c.em: Likewise.
32         * emultempl/linux.em: Likewise.
33         * emultempl/lnk960.em: Likewise.
34         * emultempl/m68kcoff.em: Likewise.
35         * emultempl/sunos.em: Likewise.
36         * emultempl/ticoff.em: Likewise.
37
38 2014-01-16  H.J. Lu  <hongjiu.lu@intel.com>
39
40         PR ld/16456
41         * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
42         suffix.
43         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
44         for elf32_x86_64 emulation.
45         * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
46         for elf_i386 emulation.
47
48 2014-01-16  Alan Modra  <amodra@gmail.com>
49
50         * ld.h (fat_section_userdata_type, get_userdata): Move to..
51         * ldlang.h (input_section_userdata_type, get_userdata): ..here.
52         * ldlang.c (init_map_userdata): Delete.  Fold into..
53         (sort_def_symbol): ..here.  Don't attach input section userdata
54         to output sections or global bfd sections.
55         (lang_map): Don't pre-allocate input section userdata.
56         (init_os): Don't allocate userdata for output sections.
57         (print_all_symbols): Update.
58
59 2014-01-15  H.J. Lu  <hongjiu.lu@intel.com>
60
61         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
62         Silence uninitialized warning on ehdr_start_save with older
63         GCC.
64
65 2014-01-15  Alan Modra  <amodra@gmail.com>
66
67         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
68         __ehdr_start before size_dynamic_sections and restore afterwards.
69
70 2014-01-10  Alan Modra  <amodra@gmail.com>
71
72         PR ld/14207
73         PR ld/16322
74         PR binutils/16323
75         * ldlang.c (lang_size_sections): Remove unneeded RELRO base
76         adjust.  Tidy comments.
77         * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
78
79 2014-01-10  Hans-Peter Nilsson  <hp@axis.com>
80
81         * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
82
83 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
84
85         PR ld/14207
86         PR ld/16322
87         PR binutils/16323
88         * ldlang.c (lang_size_sections): Properly align RELRO base.
89
90 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
91
92         * ldver.c (ldversion): Update copyright year to 2014.
93
94 For older changes see ChangeLog-2013
95 \f
96 Copyright (C) 2014 Free Software Foundation, Inc.
97
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.
101
102 Local Variables:
103 mode: change-log
104 left-margin: 8
105 fill-column: 74
106 version-control: never
107 End: