Fix copying Solaris binaries with objcopy.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2016-04-14 Nick Clifton <nickc@redhat.com>
2
3 PR target/19938
4 * testsuite/binutils-all/i386/compressed-1b.d: Allow for the
5 string sections possibly having the SHF_STRINGS flag bit set.
6 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
7 * testsuite/binutils-all/readelf.s: Likewise.
8 * testsuite/binutils-all/readelf.s-64: Likewise.
9 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
10 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
11
12 2016-04-13 Nick Clifton <nickc@redhat.com>
13
14 PR target/19938
15 * readelf.c (get_solaris_section_type): New function: Returns the
16 name of Solaris specific section types.
17 (get_solaris_dynamic_type): New function: Return the name of
18 Solaris specific dynamic types.
19 (get_dynamic_type): Use get_solaris_dynamic_type.
20 (get_section_type_name): Use get_solaris_section_type.
21 (get_solaris_symbol_visibility): New function: Returns Solaris
22 specific symbol visibilities.
23 (print_dynamic_symbol): Use get_solaris_symbol_visibility.
24 (process_symbol_table): Likewise.
25
26 2016-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
27
28 * dwarf.h (init_dwarf_regnames_s390): Declare.
29 * dwarf.c (dwarf_regnames_s390): New.
30 (init_dwarf_regnames_s390): New.
31 (init_dwarf_regnames): Call it.
32 * objdump.c (dump_dwarf): Likewise.
33
34 2016-04-11 Maciej W. Rozycki <macro@imgtec.com>
35
36 * testsuite/binutils-all/mips/mips16-undecoded.d: New test.
37 * testsuite/binutils-all/mips/mips16-undecoded.s: New test
38 source.
39 * testsuite/binutils-all/mips/mips.exp: Run the new test.
40
41 2016-04-04 Nick Clifton <nickc@redhat.com>
42
43 PR 19872
44 * dwarf.c (display_debug_aranges): Skip warning about unrecognised
45 version number if the version is zero.
46
47 2016-03-29 Alan Modra <amodra@gmail.com>
48
49 * readelf.c (get_data): Use BFD_VMA_FMT to print bfd_size_type vars.
50 (get_dynamic_data): Likewise.
51
52 2016-03-22 Nick Clifton <nickc@redhat.com>
53
54 PR 19851
55 * dwarf.c (SAFE_BYTE_GET): Replace local dynamic array allocation
56 with run time size check.
57
58 * configure: Regenerate.
59
60 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
61
62 * readelf.c (decode_ARC_machine_flags): Handle nps400.
63
64 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
65
66 * readelf.c (get_machine_flags): Move arc processing into...
67 (decode_ARC_machine_flags): ... new function. Remove use of
68 EF_ARC_CPU_GENERIC, change default case from "generic arc" to
69 "unknown arc". Merged ABI printing between two machine types.
70
71 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
72
73 * testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
74 to the architecture list.
75
76 2016-03-21 Nick Clifton <nickc@redhat.com>
77
78 * dlltool.c: Replace use of alloca with call to xmalloc.
79 * dllwrap.c: Likewise.
80 * nlmconv.c: Likewise.
81 * objdump.c: Likewise.
82 * resrc.c: Likewise.
83 * winduni.c: Likewise.
84 * configure: Regenerate.
85
86 2016-03-07 Nick Clifton <nickc@redhat.com>
87
88 PR binutils/19775
89 * testsuite/binutils-all/ar.exp (proc empty_archive): New proc.
90 Run the new proc.
91 * testsuite/binutils-all/empty: New, empty, file.
92
93 2016-03-04 Matthew Wahab <matthew.wahab@arm.com>
94
95 * readelf.c (arm_attry_tag_FP_arch): Add "NEON for ARMv8.1".
96
97 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
98
99 PR ld/19645
100 * NEWS: Mention --elf-stt-common= for objcopy.
101 * doc/binutils.texi: Document --elf-stt-common= for objcopy.
102 * objcopy.c (do_elf_stt_common): New.
103 (command_line_switch): Add OPTION_ELF_STT_COMMON.
104 (copy_options): Add --elf-stt-common=.
105 (copy_usage): Add --elf-stt-common=.
106 (copy_object): Also check do_elf_stt_common for ELF targets.
107 (copy_file): Handle do_elf_stt_common.
108 (copy_main): Handle OPTION_ELF_STT_COMMON.
109 * readelf.c (apply_relocations): Support STT_COMMON.
110 * testsuite/binutils-all/common-1.s: New file.
111 * testsuite/binutils-all/common-1a.d: Likewise.
112 * testsuite/binutils-all/common-1b.d: Likewise.
113 * testsuite/binutils-all/common-1c.d: Likewise.
114 * testsuite/binutils-all/common-1d.d: Likewise.
115 * testsuite/binutils-all/common-1e.d: Likewise.
116 * testsuite/binutils-all/common-1f.d: Likewise.
117 * testsuite/binutils-all/common-2.s: Likewise.
118 * testsuite/binutils-all/common-2a.d: Likewise.
119 * testsuite/binutils-all/common-2b.d: Likewise.
120 * testsuite/binutils-all/common-2c.d: Likewise.
121 * testsuite/binutils-all/common-2d.d: Likewise.
122 * testsuite/binutils-all/common-2e.d: Likewise.
123 * testsuite/binutils-all/common-2f.d: Likewise.
124 * testsuite/binutils-all/objcopy.exp
125 (objcopy_test_elf_common_symbols): New proc.
126 Run objcopy_test_elf_common_symbols for ELF targets
127
128 2016-02-16 H.J. Lu <hongjiu.lu@intel.com>
129
130 PR binutils/19647
131 * readelf.c (get_section_type_name): Add a missing break.
132
133 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
134
135 * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
136
137 2016-02-15 Nick Clifton <nickc@redhat.com>
138
139 * readelf.c (get_section_type_name): Add hex prefix to offsets
140 printed for LOPROC and LOOS values. Ensure that a result is
141 always returned for the V850 target, even when an unrecognised
142 processor specific value is encountered.
143 (process_section_headers): Display key values in the order in
144 which they appear to the user. Add the "C (compressed)" value to
145 the list.
146
147 2016-02-12 H.J. Lu <hongjiu.lu@intel.com>
148
149 * doc/binutils.texi: Fix a typo.
150
151 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
152
153 * testsuite/binutils-all/objdump.exp: Update expected default
154 architecture value for ARC binaries.
155
156 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
157
158 PR binutils/19547
159 * testsuite/binutils-all/objcopy.exp
160 (objcopy_test_without_global_symbol): New proc.
161 Run objcopy_test_without_global_symbol.
162 * testsuite/binutils-all/pr19547.c: New file.
163
164 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
165
166 PR binutils/19523
167 * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
168 runtest.
169 * Makefile.in: Regenerated.
170 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
171 proc.
172 Run test_gnu_debuglink for native ELF build.
173
174 2016-01-20 Nick Clifton <nickc@redhat.com>
175
176 PR 19495
177 * testsuite/binutils-all/dlltool.exp: Fix tests for targets which
178 do not support inserting leading underscores.
179
180 2016-01-20 Mickael Guene <mickael.guene@st.com>
181
182 * readelf.c (get_elf_section_flags): Display y letter for section
183 with SHF_ARM_NOREAD section flag in readelf section output.
184 (process_section_headers): Add y letter in readelf section output
185 key mapping for ARM architecture.
186 * objdump.c (dump_section_header): Display NOREAD attributes as
187 well.
188 * doc/binutils.texi (objdump): Note that it is correct for
189 sections to have both the READONLY and NOREAD attributes.
190
191 2016-01-19 John Baldwin <jhb@FreeBSD.org>
192
193 * readelf.c (get_freebsd_elfcore_note_type): Remove unused variable.
194
195 2016-01-19 John Baldwin <jhb@FreeBSD.org>
196
197 * readelf.c (get_freebsd_elfcore_note_type): New
198 (process_note): Add support for FreeBSD core notes.
199
200 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
201 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
202
203 * readelf.c (get_machine_flags): Add support for newer ARC ELF
204 header flags.
205
206 2016-01-18 Alan Modra <amodra@gmail.com>
207
208 * configure: Regenerate.
209
210 2016-01-17 Alan Modra <amodra@gmail.com>
211
212 * configure: Regenerate.
213
214 2016-01-17 Alan Modra <amodra@gmail.com>
215
216 * testsuite/lib/binutils-common.exp (is_elf_format): Return true
217 for m68hc11/12 and xgate triples.
218
219 2016-01-17 Alan Modra <amodra@gmail.com>
220
221 * readelf.c (is_32bit_abs_reloc): Add R_M68HC11_32.
222
223 2016-01-01 Alan Modra <amodra@gmail.com>
224
225 Update year range in copyright notice of all files.
226
227 For older changes see ChangeLog-2015 and testsuite/ChangeLog-1215
228 \f
229 Copyright (C) 2016 Free Software Foundation, Inc.
230
231 Copying and distribution of this file, with or without modification,
232 are permitted in any medium without royalty provided the copyright
233 notice and this notice are preserved.
234
235 Local Variables:
236 mode: change-log
237 left-margin: 8
238 fill-column: 74
239 version-control: never
240 End:
This page took 0.033864 seconds and 4 git commands to generate.