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