]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
libthread_db: attaching to terminated/joined threads, debug output
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
119d62ff
L
12015-02-05 H.J. Lu <hongjiu.lu@intel.com>
2
3 * plugin.c (release_input_file): Set fd to -1 after closing it.
4 (plugin_maybe_claim): Close fd only if fd != -1.
5
f4b78d18
L
62015-02-05 H.J. Lu <hongjiu.lu@intel.com>
7
8 PR ld/17878
9 * plugin.c: Include <errno.h>.
10 (errno): New. Declare if needed.
11 (plugin_input_file_t): New.
12 (get_input_file): Implemented.
13 (get_view): Likewise.
14 (release_input_file): Likewise.
15 (add_symbols): Updated.
16 (get_symbols): Likewise.
17 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
18 only for a bfd_object input.
19
6c2573b7
AM
202015-02-02 Alan Modra <amodra@gmail.com>
21
22 * emultempl/ppc64elf.em (toc_section_name): New var.
23 (ppc_after_open): Set it.
24 (ppc_before_allocation): Use it.
25 (gld${EMULATION_NAME}_after_allocation): Here too.
26
716db898
L
272015-01-29 H.J. Lu <hongjiu.lu@intel.com>
28
29 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
30 with link_info.lto_plugin_active.
31 * ldlang.c (lang_process): Likewise.
32 * ldmain.c (add_archive_element): Likewise.
33 * plugin.c (plugin_active_plugins_p): Removed.
34 * plugin.h (plugin_active_plugins_p): Likewise.
35
37a3056a
L
362015-01-28 H.J. Lu <hongjiu.lu@intel.com>
37
38 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
39 ...
40 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
41
15f7a26b
L
422015-01-28 H.J. Lu <hongjiu.lu@intel.com>
43
44 PR ld/17878
45 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
46 (get_view): New function.
47 (set_tv_header): Handle LDPT_GET_VIEW.
48 * testplug.c (tag_names): Add LDPT_GET_VIEW.
49 (tv_get_view): New.
50 (dump_tv_tag): Handle LDPT_GET_VIEW.
51 (parse_tv_tag): Likewise.
52
dbd1e97e
AM
532015-01-28 Alan Modra <amodra@gmail.com>
54
55 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
56 * emultempl/ppc64elf.em (params): Init new field.
57 (ppc_after_open): New function.
58 (LDEMUL_AFTER_OPEN): Define.
59 * ldlang.c (lang_final): Whitespace fix.
60
3f8107ab
AM
612015-01-28 James Bowman <james.bowman@ftdichip.com>
62
63 * Makefile.am: Add FT32 files.
64 * configure.tgt: Handle FT32 target.
65 * emulparams/elf32ft32.sh: New file.
66 * scripttempl/ft32.sc: New file.
67 * Makefile.in: Regenerate.
68
cc9ad334
SKS
692015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
70
71 PR 4643
72 * ldexp.c (fold_name): Fold LENGTH only after
73 lang_first_phase_enum.
74 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
75 rightaway.
76 * ldlang.h (struct memory_region_struct): Add origin_exp and
77 length_exp fields.
78 * ldlang.c (lang_do_memory_regions): New.
79 (lang_memory_region_lookup): Initialize origin_exp and
80 length_exp fields.
81 (lang_process): Call lang_do_memory_regions.
82
c05b575a
AB
832015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
84
85 * ldlang.c (print_assignment): Only evaluate the expression for a
86 PROVIDE'd assignment when the destination is being defined.
87 Display a special message for PROVIDE'd symbols that are not being
88 provided.
89
5ad18f16
AM
902015-01-20 Alan Modra <amodra@gmail.com>
91
92 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
93 (OTHER_BSS_SYMBOLS): ..this.
94 (OTHER_PLT_RELOC_SECTIONS): Don't define.
95 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
96 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
97 (OTHER_RELRO_SECTIONS_2): ..here.
98 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
99
23283c1b
AM
1002015-01-20 Alan Modra <amodra@gmail.com>
101
102 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
103 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
104 (OTHER_RELRO_SECTIONS_2): ..here.
105 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
106 PLT_BEFORE_GOT): Define.
107 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
108 PLT_BEFORE_GOT combination.
109 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
110
3e2b0f31
AM
1112015-01-20 Alan Modra <amodra@gmail.com>
112
113 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
114 (OTHER_RELRO_SECTIONS_2): ..here, new define.
115 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
116
c4621b33
AM
1172015-01-19 Alan Modra <amodra@gmail.com>
118
3e2aa5bb 119 PR ld/17615
c4621b33
AM
120 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
121
52db4ec2
JW
1222015-01-14 Jiong Wang <jiong.wang@arm.com>
123
124 * ld-arm/elf32-reject.s: New testcase.
125 * ld-arm/elf32-reject.d: Likewise.
126 * ld-arm/elf32-reject-pie.s: Likewise.
127 * ld-arm/elf32-reject-pie.d: Likewise.
128 * ld-arm/arm-elf.exp: Run new testcases.
129 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
130 * ld-arm/ifunc-7.rd: Likewise.
131 * ld-arm/ifunc-7.gd: Likewise.
132 * ld-arm/ifunc-7.dd: Likewise.
133 * ld-arm/ifunc-8.s: Likewise.
134 * ld-arm/ifunc-8.rd: Likewise.
135 * ld-arm/ifunc-8.gd: Likewise.
136 * ld-arm/ifunc-8.dd: Likewise.
137
efd321f9
AM
1382015-01-01 Alan Modra <amodra@gmail.com>
139
140 * ldver.c (ldversion): Just print current year.
141
b90efa5b 1422015-01-01 Alan Modra <amodra@gmail.com>
ca0694ad 143
b90efa5b 144 Update year range in copyright notice of all files.
ca0694ad 145
b90efa5b 146For older changes see ChangeLog-2014
252b5132 147\f
b90efa5b 148Copyright (C) 2015 Free Software Foundation, Inc.
752937aa
NC
149
150Copying and distribution of this file, with or without modification,
151are permitted in any medium without royalty provided the copyright
152notice and this notice are preserved.
153
252b5132
RH
154Local Variables:
155mode: change-log
156left-margin: 8
157fill-column: 74
158version-control: never
159End: