xlc -z relro toc section fixes
[binutils-gdb.git] / ld / ChangeLog
1 2015-02-02 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ppc64elf.em (toc_section_name): New var.
4 (ppc_after_open): Set it.
5 (ppc_before_allocation): Use it.
6 (gld${EMULATION_NAME}_after_allocation): Here too.
7
8 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
9
10 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
11 with link_info.lto_plugin_active.
12 * ldlang.c (lang_process): Likewise.
13 * ldmain.c (add_archive_element): Likewise.
14 * plugin.c (plugin_active_plugins_p): Removed.
15 * plugin.h (plugin_active_plugins_p): Likewise.
16
17 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
18
19 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
20 ...
21 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
22
23 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/17878
26 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
27 (get_view): New function.
28 (set_tv_header): Handle LDPT_GET_VIEW.
29 * testplug.c (tag_names): Add LDPT_GET_VIEW.
30 (tv_get_view): New.
31 (dump_tv_tag): Handle LDPT_GET_VIEW.
32 (parse_tv_tag): Likewise.
33
34 2015-01-28 Alan Modra <amodra@gmail.com>
35
36 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
37 * emultempl/ppc64elf.em (params): Init new field.
38 (ppc_after_open): New function.
39 (LDEMUL_AFTER_OPEN): Define.
40 * ldlang.c (lang_final): Whitespace fix.
41
42 2015-01-28 James Bowman <james.bowman@ftdichip.com>
43
44 * Makefile.am: Add FT32 files.
45 * configure.tgt: Handle FT32 target.
46 * emulparams/elf32ft32.sh: New file.
47 * scripttempl/ft32.sc: New file.
48 * Makefile.in: Regenerate.
49
50 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
51
52 PR 4643
53 * ldexp.c (fold_name): Fold LENGTH only after
54 lang_first_phase_enum.
55 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
56 rightaway.
57 * ldlang.h (struct memory_region_struct): Add origin_exp and
58 length_exp fields.
59 * ldlang.c (lang_do_memory_regions): New.
60 (lang_memory_region_lookup): Initialize origin_exp and
61 length_exp fields.
62 (lang_process): Call lang_do_memory_regions.
63
64 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * ldlang.c (print_assignment): Only evaluate the expression for a
67 PROVIDE'd assignment when the destination is being defined.
68 Display a special message for PROVIDE'd symbols that are not being
69 provided.
70
71 2015-01-20 Alan Modra <amodra@gmail.com>
72
73 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
74 (OTHER_BSS_SYMBOLS): ..this.
75 (OTHER_PLT_RELOC_SECTIONS): Don't define.
76 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
77 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
78 (OTHER_RELRO_SECTIONS_2): ..here.
79 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
80
81 2015-01-20 Alan Modra <amodra@gmail.com>
82
83 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
84 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
85 (OTHER_RELRO_SECTIONS_2): ..here.
86 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
87 PLT_BEFORE_GOT): Define.
88 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
89 PLT_BEFORE_GOT combination.
90 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
91
92 2015-01-20 Alan Modra <amodra@gmail.com>
93
94 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
95 (OTHER_RELRO_SECTIONS_2): ..here, new define.
96 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
97
98 2015-01-19 Alan Modra <amodra@gmail.com>
99
100 PR ld/17615
101 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
102
103 2015-01-14 Jiong Wang <jiong.wang@arm.com>
104
105 * ld-arm/elf32-reject.s: New testcase.
106 * ld-arm/elf32-reject.d: Likewise.
107 * ld-arm/elf32-reject-pie.s: Likewise.
108 * ld-arm/elf32-reject-pie.d: Likewise.
109 * ld-arm/arm-elf.exp: Run new testcases.
110 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
111 * ld-arm/ifunc-7.rd: Likewise.
112 * ld-arm/ifunc-7.gd: Likewise.
113 * ld-arm/ifunc-7.dd: Likewise.
114 * ld-arm/ifunc-8.s: Likewise.
115 * ld-arm/ifunc-8.rd: Likewise.
116 * ld-arm/ifunc-8.gd: Likewise.
117 * ld-arm/ifunc-8.dd: Likewise.
118
119 2015-01-01 Alan Modra <amodra@gmail.com>
120
121 * ldver.c (ldversion): Just print current year.
122
123 2015-01-01 Alan Modra <amodra@gmail.com>
124
125 Update year range in copyright notice of all files.
126
127 For older changes see ChangeLog-2014
128 \f
129 Copyright (C) 2015 Free Software Foundation, Inc.
130
131 Copying and distribution of this file, with or without modification,
132 are permitted in any medium without royalty provided the copyright
133 notice and this notice are preserved.
134
135 Local Variables:
136 mode: change-log
137 left-margin: 8
138 fill-column: 74
139 version-control: never
140 End: