1 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
3 * ld.texinfo: Document -z text, -z notext and -z textoff.
4 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add
5 -z text, -z notext and -z textoff.
7 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
9 * configure.ac: Add AC_FUNC_MMAP.
10 * config.in: Regenerated.
11 * configure: Likewise.
12 * plugin.c: Include <sys/mman.h>.
13 (MAP_FAILED): New. Defined if not defined.
14 (PROT_READ): Likewise.
15 (MAP_PRIVATE): Likewise.
17 (plugin_input_file_t): Add view_buffer.
18 (get_view): Try mmap and cache the view buffer.
19 (plugin_maybe_claim): Initialize view_buffer.
21 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
23 * plugin.c (release_input_file): Set fd to -1 after closing it.
24 (plugin_maybe_claim): Close fd only if fd != -1.
26 2015-02-05 H.J. Lu <hongjiu.lu@intel.com>
29 * plugin.c: Include <errno.h>.
30 (errno): New. Declare if needed.
31 (plugin_input_file_t): New.
32 (get_input_file): Implemented.
34 (release_input_file): Likewise.
35 (add_symbols): Updated.
36 (get_symbols): Likewise.
37 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd
38 only for a bfd_object input.
40 2015-02-02 Alan Modra <amodra@gmail.com>
42 * emultempl/ppc64elf.em (toc_section_name): New var.
43 (ppc_after_open): Set it.
44 (ppc_before_allocation): Use it.
45 (gld${EMULATION_NAME}_after_allocation): Here too.
47 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
49 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p()
50 with link_info.lto_plugin_active.
51 * ldlang.c (lang_process): Likewise.
52 * ldmain.c (add_archive_element): Likewise.
53 * plugin.c (plugin_active_plugins_p): Removed.
54 * plugin.h (plugin_active_plugins_p): Likewise.
56 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
58 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to
60 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static.
62 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
65 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW.
66 (get_view): New function.
67 (set_tv_header): Handle LDPT_GET_VIEW.
68 * testplug.c (tag_names): Add LDPT_GET_VIEW.
70 (dump_tv_tag): Handle LDPT_GET_VIEW.
71 (parse_tv_tag): Likewise.
73 2015-01-28 Alan Modra <amodra@gmail.com>
75 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define.
76 * emultempl/ppc64elf.em (params): Init new field.
77 (ppc_after_open): New function.
78 (LDEMUL_AFTER_OPEN): Define.
79 * ldlang.c (lang_final): Whitespace fix.
81 2015-01-28 James Bowman <james.bowman@ftdichip.com>
83 * Makefile.am: Add FT32 files.
84 * configure.tgt: Handle FT32 target.
85 * emulparams/elf32ft32.sh: New file.
86 * scripttempl/ft32.sc: New file.
87 * Makefile.in: Regenerate.
89 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
92 * ldexp.c (fold_name): Fold LENGTH only after
93 lang_first_phase_enum.
94 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH
96 * ldlang.h (struct memory_region_struct): Add origin_exp and
98 * ldlang.c (lang_do_memory_regions): New.
99 (lang_memory_region_lookup): Initialize origin_exp and
101 (lang_process): Call lang_do_memory_regions.
103 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
105 * ldlang.c (print_assignment): Only evaluate the expression for a
106 PROVIDE'd assignment when the destination is being defined.
107 Display a special message for PROVIDE'd symbols that are not being
110 2015-01-20 Alan Modra <amodra@gmail.com>
112 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of..
113 (OTHER_BSS_SYMBOLS): ..this.
114 (OTHER_PLT_RELOC_SECTIONS): Don't define.
115 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss.
116 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to..
117 (OTHER_RELRO_SECTIONS_2): ..here.
118 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA.
120 2015-01-20 Alan Modra <amodra@gmail.com>
122 * emulparams/elf64ppc.sh (BSS_PLT): Don't define.
123 (OTHER_READWRITE_SECTIONS): Move .branch_lt to..
124 (OTHER_RELRO_SECTIONS_2): ..here.
125 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT,
126 PLT_BEFORE_GOT): Define.
127 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/
128 PLT_BEFORE_GOT combination.
129 (DATA_GOT, SDATA_GOT): Don't define if either is already defined.
131 2015-01-20 Alan Modra <amodra@gmail.com>
133 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to..
134 (OTHER_RELRO_SECTIONS_2): ..here, new define.
135 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2.
137 2015-01-19 Alan Modra <amodra@gmail.com>
140 * ldlang.c (lang_process): Run lang_common before lang_gc_sections.
142 2015-01-14 Jiong Wang <jiong.wang@arm.com>
144 * ld-arm/elf32-reject.s: New testcase.
145 * ld-arm/elf32-reject.d: Likewise.
146 * ld-arm/elf32-reject-pie.s: Likewise.
147 * ld-arm/elf32-reject-pie.d: Likewise.
148 * ld-arm/arm-elf.exp: Run new testcases.
149 * ld-arm/ifunc-7.s: Delete f2/f4 test items.
150 * ld-arm/ifunc-7.rd: Likewise.
151 * ld-arm/ifunc-7.gd: Likewise.
152 * ld-arm/ifunc-7.dd: Likewise.
153 * ld-arm/ifunc-8.s: Likewise.
154 * ld-arm/ifunc-8.rd: Likewise.
155 * ld-arm/ifunc-8.gd: Likewise.
156 * ld-arm/ifunc-8.dd: Likewise.
158 2015-01-01 Alan Modra <amodra@gmail.com>
160 * ldver.c (ldversion): Just print current year.
162 2015-01-01 Alan Modra <amodra@gmail.com>
164 Update year range in copyright notice of all files.
166 For older changes see ChangeLog-2014
168 Copyright (C) 2015 Free Software Foundation, Inc.
170 Copying and distribution of this file, with or without modification,
171 are permitted in any medium without royalty provided the copyright
172 notice and this notice are preserved.
178 version-control: never