PR binutils/22875: HPPA/ELF: Also fail with relocation placeholders
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
8fd75781
NC
12018-03-23 Nick Clifton <nickc@redhat.com>
2
3 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
4 symbols.
5 (print_gnu_build_attribute_description): If no file start symbol
6 could be found, look for one two bytes into the file.
7 * testsuite/binutils-all/note-4-64.s: Set the address of the file
8 start symbol to two bytes into the file.
9 * testsuite/binutils-all/note-4-32.s: Likewise.
10
b1202ffa
L
112018-03-21 H.J. Lu <hongjiu.lu@intel.com>
12
13 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
14 DF_1_WEAKFILTER and DF_1_NOCOMMON.
15
7e100140
NC
162018-03-20 Nick Clifton <nickc@redhat.com>
17
18 * po/es.po: Updated Spanish translation.
19 * po/ru.po: Updated Russian translation.
20
e45ad123
NC
212018-03-13 Nick Clifton <nickc@redhat.com>
22
23 PR 22957
24 * stabs.c (pop_binincl): Fail if the file index is off the end of
25 the stack.
26
81db3241
NC
272018-03-13 Nick Clifton <nickc@redhat.com>
28
29 PR 22955
30 * stabs.c (parse_number): Add p_end parameter and use it to check
31 the validity of the pp parameter. Add checks to prevent walking
32 off the end of the string buffer.
33 (parse_stab_string): Likewise.
34 (parse_stab_type): Likewise.
35 (parse_stab_type_number): Likewise.
36 (parse_stab_range_type): Likewise.
37 (parse_stab_sun_builtin_type): Likewise.
38 (parse_stab_sun_floating_type): Likewise.
39 (parse_stab_enum_type): Likewise.
40 (parse_stab_struct_type): Likewise.
41 (parse_stab_baseclasses): Likewise.
42 (parse_stab_struct_fields): Likewise.
43 (parse_stab_cpp_abbrev): Likewise.
44 (parse_stab_one_struct_field): Likewise.
45 (parse_stab_members): Likewise.
46 (parse_stab_tilde_field): Likewise.
47 (parse_stab_array_type): Likewise.
e45ad123 48
81db3241
NC
49 * parse_stab: Compute the end of the string and then pass it on to
50 individual parser functions.
51
6d4f21f6
PP
522018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
53
54 PR binutils/22923
55 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
56 overflow.
57
52fe4420
AM
582018-03-07 Alan Modra <amodra@gmail.com>
59
60 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
61 * configure: Regenerate.
62
0e70b27b
L
632018-03-05 H.J. Lu <hongjiu.lu@intel.com>
64
65 PR binutils/22911
66 * objdump.c (is_significant_symbol_name): Return TRUE for all
67 .plt* sections.
68 (find_symbol_for_address): Replace linear search with binary
69 search on dynamic relocations.
70
d11ae95e
NC
712018-03-01 Nick Clifton <nickc@redhat.com>
72
73 PR 22905
74 * dwarf.c (display_debug_ranges): Check that the offset loaded
75 from the range_entry structure is valid.
76
e184813f
AM
772018-03-01 Alan Modra <amodra@gmail.com>
78
79 * configure.ac (ALL_LINGUAS): Add sr. Sort.
80 * configure: Regenerate.
81
bc7c0509
NC
822018-02-27 Nick Clifton <nickc@redhat.com>
83
84 * po/pt.po: New Portuguese translation.
85 * configure.ac (ALL_LINGUAS): Add pt.
86 * configure: Regenerate.
87
f3185997
NC
882018-02-27 Nick Clifton <nickc@redhat.com>
89
90 PR 22875
91 * objcopy.c (copy_object): Check the error status after marking
92 symbols used in relocations.
93 * testsuite/binutils-all/strip-13.s: New test source file.
94 * testsuite/binutils-all/strip-13.s: New test driver file.
95 * testsuite/binutils-all/objcopy.exp: Run the new test.
96
2c1c9679
AM
972018-02-26 Alan Modra <amodra@gmail.com>
98
99 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
100 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
101
6e05870c
AM
1022018-02-23 Alan Modra <amodra@gmail.com>
103
104 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
105 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
106
b0ab9c45
RH
1072018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
108
109 * doc/binutils.texi (objcopy): Add missing closing square
110 parenthesis to listing of objcopy's command line options.
111
e535d0dd
MK
1122018-02-19 Matthias Klose <doko@debian.org>
113
114 * strings.c (long_options): Include-all-whitespace does not take
115 an extra agument.
116
6e5e9d58
AM
1172018-02-13 Alan Modra <amodra@gmail.com>
118
119 PR 22836
120 * testsuite/binutils-all/group-7.s,
121 * testsuite/binutils-all/group-7a.d,
122 * testsuite/binutils-all/group-7b.d,
123 * testsuite/binutils-all/group-7c.d: New tests.
124 * testsuite/binutils-all/objcopy.exp: Run them.
125
8de3a6e2
NC
1262018-02-08 Nick Clifton <nickc@redhat.com>
127
128 PR 22802
129 * dwarf.c (load_separate_debug_file): Return early if the user is
130 not interested in debug links.
131
68807c3c
NC
1322018-02-06 Nick Clifton <nickc@redhat.com>
133
134 PR 22793
135 * readelf.c (find_section): Replace assertion with test and return
136 of NULL.
137 (find_section_by_address): Add test of section header table
138 existance.
139 (find_section_by_type): Likewise.
140 (find_section_in_set): Likewise.
141
2d6dda71
MR
1422018-02-05 Maciej W. Rozycki <macro@mips.com>
143
144 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
145 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
146 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
147 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
148
78c88364
MR
1492018-02-05 Maciej W. Rozycki <macro@mips.com>
150
151 * testsuite/config/default.exp (binutils_run): Document
152 `binutils_run_status'.
153 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
154 and set it.
155 (run_dump_test): Add `error', `error_output', `warning' and
156 `warning_output' options. Update documentation accordingly.
157
5bb0830d
AB
1582018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
159
160 * dwarf.c (dwarf_regnames_riscv): New register name table.
161 (init_dwarf_regnames_riscv): New function.
162 (init_dwarf_regnames): Add call to initialise RiscV register
163 names.
164 * dwarf.h (init_dwarf_regnames_riscv): Declare.
165 * objdump.c (dump_dwarf): Add call to initialise RiscV register
166 names.
167
f2023ce7
AM
1682018-02-01 Alan Modra <amodra@gmail.com>
169
170 PR 22769
171 * objdump.c (load_specific_debug_section): Check for overflow
172 when adding one to section size for a string section terminator.
173
fcabedd5
NC
1742018-01-30 Nick Clifton <nickc@redhat.com>
175
176 PR 22734
177 * doc/binutils.texi (nm): Update description to point out that
178 zero-initialized values can also be shown as type B, b, S or s
179 since they can be stored in the BSS section.
180
f49db8be
AM
1812018-01-30 Alan Modra <amodra@gmail.com>
182
183 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
184 "artificially large" end address.
185
a8d6d6ac
NC
1862018-01-28 Nick Clifton <nickc@redhat.com>
187
188 * README-how-to-make-a-release: Add note about checking gpg key
189 and the results of gnupload.
190
9a5db26e
NC
1912018-01-27 Nick Clifton <nickc@redhat.com>
192
193 * README-how-to-make-a-release: Add details on how to actually
194 make the release.
195
94c2436b
NC
1962018-01-26 Nick Clifton <nickc@redhat.com>
197
198 * README-how-to-make-a-release: Add more details on updating
199 version numbers.
200
1ea332d6
MR
2012018-01-22 Maciej W. Rozycki <macro@mips.com>
202
203 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
204 option description.
205
d65ce302
MR
2062018-01-22 Maciej W. Rozycki <macro@mips.com>
207
208 * MAINTAINERS: Update my company e-mail address.
209
f433138f
NC
2102018-01-22 Nick Clifton <nickc@redhat.com>
211
212 * po/sv.po: Updated Swedish translation.
213
7ab82037
NC
2142018-01-18 Nick Clifton <nickc@redhat.com>
215
216 * po/bg.po: Updated Bulgarian translation.
217
0dd86f32
JB
2182018-01-16 Joel Brobecker <brobecker@adacore.com>
219
220 * README-how-to-make-a-release: Add reminder to update the
221 branch name in gdbadmin's crontab on sourceware.
222
a960d29f
JB
2232018-01-16 Joel Brobecker <brobecker@adacore.com>
224
225 * README-how-to-make-a-release: Remove trailing spaces.
226
f6efed01
NC
2272018-01-16 Nick Clifton <nickc@redhat.com>
228
229 * po/fr.po: Updated French translation.
230
616dcb87
NC
2312018-01-15 Nick Clifton <nickc@redhat.com>
232
233 * po/uk.po: Updated Ukranian translation.
234
3957a496
NC
2352018-01-13 Nick Clifton <nickc@redhat.com>
236
19e2900b 237 * README-how-to-make-a-release: Update notes.
3957a496
NC
238 * po/binutils.pot: Regenerated.
239
769c7ea5
NC
2402018-01-13 Nick Clifton <nickc@redhat.com>
241
242 * configure: Regenerate.
243
9176ac5b
NC
2442018-01-13 Nick Clifton <nickc@redhat.com>
245
faf766e3 246 2.30 branch created.
9176ac5b
NC
247 * NEWS: Add marker for 2.30.
248
98ab9e96
NC
2492018-01-12 Nick Clifton <nickc@redhat.com>
250
251 * README-how-to-make-a-release: Add notes on how to make the
252 branch and prelease snapshot.
253 * BRANCHES: Add binutils-2_29-branch.
254
bf41f30d
NC
2552018-01-10 Nick Clifton <nickc@redhat.com>
256
257 * MAINTAINERS: Note that it is now the configure.ac file and not
258 the configure.in file that needs to be kept in sync with gcc.
259 Add a note about sending patches for libiberty to gcc.
260
f13974bd
NC
2612018-01-03 Nick Clifton <nickc@redhat.com>
262
263 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
264 constants.
265
6f156d7a
NC
2662018-01-03 Nick Clifton <nickc@redhat.com>
267
268 * objcopy.c (objcopy_internal_note): New structure.
269 (gap_exists): New function.
270 (is_open_note): New function.
271 (is_func_note): New function.
272 (is_64bit): New function.
273 (merge_gnu_build_notes): Handle v3 notes. Do not merge
274 if there are relocations against the notes.
275 * readelf.c (get_note_type): Use short names for build attribute
276 notes.
277 (print_symbol_for_build_attribute): Rename to
278 get_symbol_for_build_attribute. Returns the found symbol rather
279 than printing it.
280 (print_gnu_build_attribute_description): Maintain address ranges
281 for function notes as well as global notes. Handle v3 notes.
282 (print_gnu_build_attribute_name): Use more space for printing the
283 name in wide mode.
284 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
285 Eliminate symbol references in order to remove the need for
286 relocations.
287 * testsuite/binutils-all/note-2-64.s: Likewise.
288 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
289 symbol.
290 * testsuite/binutils-all/note-3-64.s: Likewise.
291 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
292 output.
293 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
294 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
295 * testsuite/binutils-all/note-2-32.d: Likewise.
296 * testsuite/binutils-all/note-2-64.d: Likewise.
297 * testsuite/binutils-all/note-3-32.d: Likewise.
298 * testsuite/binutils-all/note-3-64.d: Likewise.
299 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
300 * testsuite/binutils-all/note-4-32.s: New test.
301 * testsuite/binutils-all/note-4-64.d: New test result file.
302 * testsuite/binutils-all/note-4-32.d: New test result file.
303
219d1afa
AM
3042018-01-03 Alan Modra <amodra@gmail.com>
305
306 Update year range in copyright notice of all files.
307
1e563868 308For older changes see ChangeLog-2017
3499769a 309\f
1e563868 310Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
311
312Copying and distribution of this file, with or without modification,
313are permitted in any medium without royalty provided the copyright
314notice and this notice are preserved.
315
316Local Variables:
317mode: change-log
318left-margin: 8
319fill-column: 74
320version-control: never
321End:
This page took 0.121252 seconds and 4 git commands to generate.