Recognize more targets as ELF for testing
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
679ca975
AM
12018-05-15 Alan Modra <amodra@gmail.com>
2
3 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
4 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
5 and *uclinux* into *linux*.
6 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
7 strip-13 test, exclude arm-vxworks and arm-windiss.
8
637b1970
JD
92018-05-10 John Darrington <john@darrington.wattle.id.au>
10
11 * readelf.c (get_machine_name): EM_S12Z - handle new case.
12
60cb2c8a
AM
132018-05-09 Alan Modra <amodra@gmail.com>
14
15 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
16
84f9f8c3
AM
172018-05-09 Sebastian Rasmussen <sebras@gmail.com>
18
19 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
20
886d5428
AM
212018-05-08 Alan Modra <amodra@gmail.com>
22
23 PR 23141
24 * objcopy.c (is_strip_section): Strip groups without a valid
25 signature symbol.
26
ce4ec1a9
AM
272018-05-07 Alan Modra <amodra@gmail.com>
28
29 PR 23142
30 * objcopy.c (group_signature): Don't accept groups that use a
31 symbol table other than the one we've read.
32
fe944acf
FT
332018-04-30 Francois H. Theron <francois.theron@netronome.com>
34
35 * readelf.c: Very basic support for EM_NFP and its section types.
36 * testsuite/binutils-all/nfp: New directory.
37 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
38 tests.
39 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
40 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
41 * testsuite/binutils-all/nfp/test1.d: New file.
42 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
43 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
44 * NEWS: Mention the new support.
45
6d9dabbb
MR
462018-04-27 Maciej W. Rozycki <macro@mips.com>
47
48 * testsuite/lib/binutils-common.exp (match_target): New procedure.
49 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
50 of `istarget' for matching with `target', `not-target', `skip'
51 and `not-skip' options.
52
0df8ad28
NC
532018-04-26 Nick Clifton <nickc@redhat.com>
54
55 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
56 32-bit absolute reloc for the HPPA target.
57 * testsuite/binutils-all/note-5.d: New test.
58 * testsuite/binutils-all/note-5.s: Source file for new test.
59 * testsuite/binutils-all/objcopy.exp: Run new test.
60
f1ac0afe
CL
612018-04-25 Christophe Lyon <christophe.lyon@st.com>
62
63 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
64 * testsuite/binutils-all/elfedit-3.d: Likewise.
65 * testsuite/binutils-all/objcopy.exp: Likewise.
66 * testsuite/binutils-all/strip-3.d: Likewise.
67 * testsuite/lib/binutils-common.exp: Likewise.
68
18a20338
CL
692018-04-25 Christophe Lyon <christophe.lyon@st.com>
70 Mickaël Guêné <mickael.guene@st.com>
71
72 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
73 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
74
2ac93be7
AM
752018-04-25 Alan Modra <amodra@gmail.com>
76
77 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
78 arm-coff support.
79 * testsuite/binutils-all/objcopy.exp: Likewise.
80 * testsuite/lib/binutils-common.exp: Likewise.
81
a7504f87
NC
822018-04-18 Nick Clifton <nickc@redhat.com>
83
84 PR 23062
85 * dwarf.c (read_and_display_attr_value): Replace assertions with
86 test and warning message.
87
c65c21e1
AM
882018-04-18 Alan Modra <amodra@gmail.com>
89
90 * testsuite/lib/binutils-common.exp: Remove support for assorted
91 aout targets.
92
6aea08d9
NC
932018-04-17 Nick Clifton <nickc@redhat.com>
94
c4a91159 95 PR 23063
56d8f8a9
NC
96 * readelf.c (print_symbol): If the width is zero, return straight
97 away.
98
6aea08d9
NC
99 PR 23064
100 * dwarf.c (process_cu_tu_index): Test for a potential buffer
101 overrun before copying signature pointer.
102
f954747f
AM
1032018-04-17 Alan Modra <amodra@gmail.com>
104
105 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
106
d7867d17
AM
1072018-04-16 Alan Modra <amodra@gmail.com>
108
109 * readelf.c (get_machine_name): Correct typo.
110
ddb00039
AM
1112018-04-16 Alan Modra <amodra@gmail.com>
112
113 * configure.ac: Remove arm-epoc-pe support.
114 * dlltool.c: Likewise.
115 * configure: Regenerate.
116
c9098af4
AM
1172018-04-16 Alan Modra <amodra@gmail.com>
118
119 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
120 sparc-coff support.
121
dc12032b
AM
1222018-04-16 Alan Modra <amodra@gmail.com>
123
124 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
125 support.
126 * testsuite/binutils-all/copy-3.d: Likewise.
127 * testsuite/binutils-all/objcopy.exp: Likewise.
128 * testsuite/lib/binutils-common.exp: Likewise.
129
211dc24b
AM
1302018-04-16 Alan Modra <amodra@gmail.com>
131
132 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
133
a9a4b302
AM
1342018-04-16 Alan Modra <amodra@gmail.com>
135
136 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
137
04cb01fd
AM
1382018-04-16 Alan Modra <amodra@gmail.com>
139
140 * testsuite/binutils-all/objdump.exp: Remove we32k support.
141
c2bf1eec
AM
1422018-04-16 Alan Modra <amodra@gmail.com>
143
144 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
145 * testsuite/binutils-all/objdump.exp: Remove m88k support.
146
6793974d
AM
1472018-04-16 Alan Modra <amodra@gmail.com>
148
149 * readelf.c: Remove i370 support.
150 * testsuite/binutils-all/objdump.exp: Likewise.
151
e82aa794
AM
1522018-04-16 Alan Modra <amodra@gmail.com>
153
154 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
155 * testsuite/lib/binutils-common.exp: Likewise.
156
fe0bf0fd
AM
1572018-04-16 Alan Modra <amodra@gmail.com>
158
159 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
160
fdef3943
AM
1612018-04-16 Alan Modra <amodra@gmail.com>
162
163 * Makefile.am: Remove IEEE 695 support.
164 * budbg.h: Likewise.
165 * doc/binutils.texi: Likewise.
166 * makefile.vms: Likewise.
167 * objcopy.c: Likewise.
168 * objdump.c: Likewise.
169 * rddbg.c: Likewise.
170 * ieee.c: Delete.
171 * Makefile.in: Regenerate.
172 * po/POTFILES.in: Regenerate.
173
5972ac73
AM
1742018-04-16 Alan Modra <amodra@gmail.com>
175
176 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
177 * testsuite/binutils-all/nm.exp: Likewise.
178
b4b594e3
AM
1792018-04-16 Alan Modra <amodra@gmail.com>
180
181 * .gitignore: Remove netware support.
182 * Makefile.am: Likewise.
183 * configure.ac: Likewise.
184 * doc/Makefile.am: Likewise.
185 * doc/binutils.texi: Likewise.
186 * testsuite/binutils-all/nm.exp: Likewise.
187 * nlmconv.c: Delete.
188 * nlmconv.h: Delete.
189 * nlmheader.y: Delete.
190 * Makefile.in: Regenerate.
191 * configure: Regenerate.
192 * doc/Makefile.in: Regenerate.
193 * po/POTFILES.in: Regenerate.
194
fceadf09
AM
1952018-04-16 Alan Modra <amodra@gmail.com>
196
197 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
198
fb70ec17
AM
1992018-04-14 Alan Modra <amodra@gmail.com>
200
201 * readelf.c (get_machine_name): Revert 2018-04-11 change.
202
86c6c6df
NC
2032018-04-12 Nick Clifton <nickc@redhat.com>
204
205 PR 23050
206 * readelf.c (process_dynamic_section): Correct dynamic string
207 table size calculation.
208
a8eb42a8
AM
2092018-04-11 Alan Modra <amodra@gmail.com>
210
211 * ieee.c: Remove i960 support.
212 * od-macho.c: Remove i860 support.
213 * readelf.c: Remove i860 and i960 support.
214 * testsuite/binutils-all/objcopy.exp: Likewise.
215 * testsuite/binutils-all/objdump.exp: Likewise.
216 * testsuite/lib/binutils-common.exp: Likewise.
217
c43b2c54
MR
2182018-04-11 Maciej W. Rozycki <macro@mips.com>
219
220 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
221 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
222
d4ae1932
AM
2232018-04-10 Alan Modra <amodra@gmail.com>
224
225 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
226 reloc=11 for pru and reloc=50 for nds32.
227 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
228
d52e3d06
MR
2292018-04-09 Maciej W. Rozycki <macro@mips.com>
230
231 * testsuite/binutils-all/strip-15.d: New test.
232 * testsuite/binutils-all/strip-15rel.s: New test source.
233 * testsuite/binutils-all/strip-15rela.s: New test source.
234 * testsuite/binutils-all/strip-15mips64.s: New test source.
235 * testsuite/binutils-all/objcopy.exp: Run the new test.
236
3f97ba9f
MR
2372018-04-09 Maciej W. Rozycki <macro@mips.com>
238
239 * testsuite/binutils-all/strip-14.d: New test.
240 * testsuite/binutils-all/strip-14rel.s: New test source.
241 * testsuite/binutils-all/strip-14rela.s: New test source.
242 * testsuite/binutils-all/strip-14mips64.s: New test source.
243 * testsuite/binutils-all/objcopy.exp: Run the new test.
244
2008a0db
TT
2452018-04-06 Tom Tromey <tom@tromey.com>
246
247 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
248 constants from DWARF 5.
249
3cba8b6c
L
2502018-04-05 H.J. Lu <hongjiu.lu@intel.com>
251
252 PR gas/22318
253 * configure: Regenerated.
254
2d8c1a23
MR
2552018-04-05 Maciej W. Rozycki <macro@mips.com>
256
257 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
258 than `.dc.w' in second relocation.
259
65bd2045
MR
2602018-04-05 Maciej W. Rozycki <macro@mips.com>
261
262 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
263 relocation type 0x8f' error message.
264
2f8ceb38
MR
2652018-04-05 Maciej W. Rozycki <macro@mips.com>
266
267 * testsuite/binutils-all/strip-13.s: Rename to...
268 * testsuite/binutils-all/strip-13rela.s: ... this.
269 * testsuite/binutils-all/strip-13rel.s: New test source.
270 * testsuite/binutils-all/strip-13mips64.s: New test source.
271 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
272 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
273 `m68hc11-*' to `not-target' list.
274 * testsuite/binutils-all/objcopy.exp: Switch between sources for
275 `strip-13'.
276
aad7be45
MR
2772018-04-05 Maciej W. Rozycki <macro@mips.com>
278
279 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
280 241 (0xf1) for the relocation number and RELA addend.
281 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
282 `not-target' list.
283
89f60df2
JDA
2842018-04-04 John David Anglin <danglin@gcc.gnu.org>
285
286 * MAINTAINERS: Update my e-mail address.
287
f1ca0d6d
NC
2882018-04-04 Nick Clifton <nickc@redhat.com>
289
290 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
291
8fd75781
NC
2922018-03-23 Nick Clifton <nickc@redhat.com>
293
294 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
295 symbols.
296 (print_gnu_build_attribute_description): If no file start symbol
297 could be found, look for one two bytes into the file.
298 * testsuite/binutils-all/note-4-64.s: Set the address of the file
299 start symbol to two bytes into the file.
300 * testsuite/binutils-all/note-4-32.s: Likewise.
301
b1202ffa
L
3022018-03-21 H.J. Lu <hongjiu.lu@intel.com>
303
304 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
305 DF_1_WEAKFILTER and DF_1_NOCOMMON.
306
7e100140
NC
3072018-03-20 Nick Clifton <nickc@redhat.com>
308
309 * po/es.po: Updated Spanish translation.
310 * po/ru.po: Updated Russian translation.
311
e45ad123
NC
3122018-03-13 Nick Clifton <nickc@redhat.com>
313
314 PR 22957
315 * stabs.c (pop_binincl): Fail if the file index is off the end of
316 the stack.
317
81db3241
NC
3182018-03-13 Nick Clifton <nickc@redhat.com>
319
320 PR 22955
321 * stabs.c (parse_number): Add p_end parameter and use it to check
322 the validity of the pp parameter. Add checks to prevent walking
323 off the end of the string buffer.
324 (parse_stab_string): Likewise.
325 (parse_stab_type): Likewise.
326 (parse_stab_type_number): Likewise.
327 (parse_stab_range_type): Likewise.
328 (parse_stab_sun_builtin_type): Likewise.
329 (parse_stab_sun_floating_type): Likewise.
330 (parse_stab_enum_type): Likewise.
331 (parse_stab_struct_type): Likewise.
332 (parse_stab_baseclasses): Likewise.
333 (parse_stab_struct_fields): Likewise.
334 (parse_stab_cpp_abbrev): Likewise.
335 (parse_stab_one_struct_field): Likewise.
336 (parse_stab_members): Likewise.
337 (parse_stab_tilde_field): Likewise.
338 (parse_stab_array_type): Likewise.
e45ad123 339
81db3241
NC
340 * parse_stab: Compute the end of the string and then pass it on to
341 individual parser functions.
342
6d4f21f6
PP
3432018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
344
345 PR binutils/22923
346 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
347 overflow.
348
52fe4420
AM
3492018-03-07 Alan Modra <amodra@gmail.com>
350
351 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
352 * configure: Regenerate.
353
0e70b27b
L
3542018-03-05 H.J. Lu <hongjiu.lu@intel.com>
355
356 PR binutils/22911
357 * objdump.c (is_significant_symbol_name): Return TRUE for all
358 .plt* sections.
359 (find_symbol_for_address): Replace linear search with binary
360 search on dynamic relocations.
361
d11ae95e
NC
3622018-03-01 Nick Clifton <nickc@redhat.com>
363
364 PR 22905
365 * dwarf.c (display_debug_ranges): Check that the offset loaded
366 from the range_entry structure is valid.
367
e184813f
AM
3682018-03-01 Alan Modra <amodra@gmail.com>
369
370 * configure.ac (ALL_LINGUAS): Add sr. Sort.
371 * configure: Regenerate.
372
bc7c0509
NC
3732018-02-27 Nick Clifton <nickc@redhat.com>
374
375 * po/pt.po: New Portuguese translation.
376 * configure.ac (ALL_LINGUAS): Add pt.
377 * configure: Regenerate.
378
f3185997
NC
3792018-02-27 Nick Clifton <nickc@redhat.com>
380
381 PR 22875
382 * objcopy.c (copy_object): Check the error status after marking
383 symbols used in relocations.
384 * testsuite/binutils-all/strip-13.s: New test source file.
385 * testsuite/binutils-all/strip-13.s: New test driver file.
386 * testsuite/binutils-all/objcopy.exp: Run the new test.
387
2c1c9679
AM
3882018-02-26 Alan Modra <amodra@gmail.com>
389
390 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
391 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
392
6e05870c
AM
3932018-02-23 Alan Modra <amodra@gmail.com>
394
395 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
396 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
397
b0ab9c45
RH
3982018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
399
400 * doc/binutils.texi (objcopy): Add missing closing square
401 parenthesis to listing of objcopy's command line options.
402
e535d0dd
MK
4032018-02-19 Matthias Klose <doko@debian.org>
404
405 * strings.c (long_options): Include-all-whitespace does not take
406 an extra agument.
407
6e5e9d58
AM
4082018-02-13 Alan Modra <amodra@gmail.com>
409
410 PR 22836
411 * testsuite/binutils-all/group-7.s,
412 * testsuite/binutils-all/group-7a.d,
413 * testsuite/binutils-all/group-7b.d,
414 * testsuite/binutils-all/group-7c.d: New tests.
415 * testsuite/binutils-all/objcopy.exp: Run them.
416
8de3a6e2
NC
4172018-02-08 Nick Clifton <nickc@redhat.com>
418
419 PR 22802
420 * dwarf.c (load_separate_debug_file): Return early if the user is
421 not interested in debug links.
422
68807c3c
NC
4232018-02-06 Nick Clifton <nickc@redhat.com>
424
425 PR 22793
426 * readelf.c (find_section): Replace assertion with test and return
427 of NULL.
428 (find_section_by_address): Add test of section header table
429 existance.
430 (find_section_by_type): Likewise.
431 (find_section_in_set): Likewise.
432
2d6dda71
MR
4332018-02-05 Maciej W. Rozycki <macro@mips.com>
434
435 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
436 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
437 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
438 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
439
78c88364
MR
4402018-02-05 Maciej W. Rozycki <macro@mips.com>
441
442 * testsuite/config/default.exp (binutils_run): Document
443 `binutils_run_status'.
444 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
445 and set it.
446 (run_dump_test): Add `error', `error_output', `warning' and
447 `warning_output' options. Update documentation accordingly.
448
5bb0830d
AB
4492018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
450
451 * dwarf.c (dwarf_regnames_riscv): New register name table.
452 (init_dwarf_regnames_riscv): New function.
453 (init_dwarf_regnames): Add call to initialise RiscV register
454 names.
455 * dwarf.h (init_dwarf_regnames_riscv): Declare.
456 * objdump.c (dump_dwarf): Add call to initialise RiscV register
457 names.
458
f2023ce7
AM
4592018-02-01 Alan Modra <amodra@gmail.com>
460
461 PR 22769
462 * objdump.c (load_specific_debug_section): Check for overflow
463 when adding one to section size for a string section terminator.
464
fcabedd5
NC
4652018-01-30 Nick Clifton <nickc@redhat.com>
466
467 PR 22734
468 * doc/binutils.texi (nm): Update description to point out that
469 zero-initialized values can also be shown as type B, b, S or s
470 since they can be stored in the BSS section.
471
f49db8be
AM
4722018-01-30 Alan Modra <amodra@gmail.com>
473
474 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
475 "artificially large" end address.
476
a8d6d6ac
NC
4772018-01-28 Nick Clifton <nickc@redhat.com>
478
479 * README-how-to-make-a-release: Add note about checking gpg key
480 and the results of gnupload.
481
9a5db26e
NC
4822018-01-27 Nick Clifton <nickc@redhat.com>
483
484 * README-how-to-make-a-release: Add details on how to actually
485 make the release.
486
94c2436b
NC
4872018-01-26 Nick Clifton <nickc@redhat.com>
488
489 * README-how-to-make-a-release: Add more details on updating
490 version numbers.
491
1ea332d6
MR
4922018-01-22 Maciej W. Rozycki <macro@mips.com>
493
494 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
495 option description.
496
d65ce302
MR
4972018-01-22 Maciej W. Rozycki <macro@mips.com>
498
499 * MAINTAINERS: Update my company e-mail address.
500
f433138f
NC
5012018-01-22 Nick Clifton <nickc@redhat.com>
502
503 * po/sv.po: Updated Swedish translation.
504
7ab82037
NC
5052018-01-18 Nick Clifton <nickc@redhat.com>
506
507 * po/bg.po: Updated Bulgarian translation.
508
0dd86f32
JB
5092018-01-16 Joel Brobecker <brobecker@adacore.com>
510
511 * README-how-to-make-a-release: Add reminder to update the
512 branch name in gdbadmin's crontab on sourceware.
513
a960d29f
JB
5142018-01-16 Joel Brobecker <brobecker@adacore.com>
515
516 * README-how-to-make-a-release: Remove trailing spaces.
517
f6efed01
NC
5182018-01-16 Nick Clifton <nickc@redhat.com>
519
520 * po/fr.po: Updated French translation.
521
616dcb87
NC
5222018-01-15 Nick Clifton <nickc@redhat.com>
523
524 * po/uk.po: Updated Ukranian translation.
525
3957a496
NC
5262018-01-13 Nick Clifton <nickc@redhat.com>
527
19e2900b 528 * README-how-to-make-a-release: Update notes.
3957a496
NC
529 * po/binutils.pot: Regenerated.
530
769c7ea5
NC
5312018-01-13 Nick Clifton <nickc@redhat.com>
532
533 * configure: Regenerate.
534
9176ac5b
NC
5352018-01-13 Nick Clifton <nickc@redhat.com>
536
faf766e3 537 2.30 branch created.
9176ac5b
NC
538 * NEWS: Add marker for 2.30.
539
98ab9e96
NC
5402018-01-12 Nick Clifton <nickc@redhat.com>
541
542 * README-how-to-make-a-release: Add notes on how to make the
543 branch and prelease snapshot.
544 * BRANCHES: Add binutils-2_29-branch.
545
bf41f30d
NC
5462018-01-10 Nick Clifton <nickc@redhat.com>
547
548 * MAINTAINERS: Note that it is now the configure.ac file and not
549 the configure.in file that needs to be kept in sync with gcc.
550 Add a note about sending patches for libiberty to gcc.
551
f13974bd
NC
5522018-01-03 Nick Clifton <nickc@redhat.com>
553
554 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
555 constants.
556
6f156d7a
NC
5572018-01-03 Nick Clifton <nickc@redhat.com>
558
559 * objcopy.c (objcopy_internal_note): New structure.
560 (gap_exists): New function.
561 (is_open_note): New function.
562 (is_func_note): New function.
563 (is_64bit): New function.
564 (merge_gnu_build_notes): Handle v3 notes. Do not merge
565 if there are relocations against the notes.
566 * readelf.c (get_note_type): Use short names for build attribute
567 notes.
568 (print_symbol_for_build_attribute): Rename to
569 get_symbol_for_build_attribute. Returns the found symbol rather
570 than printing it.
571 (print_gnu_build_attribute_description): Maintain address ranges
572 for function notes as well as global notes. Handle v3 notes.
573 (print_gnu_build_attribute_name): Use more space for printing the
574 name in wide mode.
575 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
576 Eliminate symbol references in order to remove the need for
577 relocations.
578 * testsuite/binutils-all/note-2-64.s: Likewise.
579 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
580 symbol.
581 * testsuite/binutils-all/note-3-64.s: Likewise.
582 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
583 output.
584 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
585 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
586 * testsuite/binutils-all/note-2-32.d: Likewise.
587 * testsuite/binutils-all/note-2-64.d: Likewise.
588 * testsuite/binutils-all/note-3-32.d: Likewise.
589 * testsuite/binutils-all/note-3-64.d: Likewise.
590 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
591 * testsuite/binutils-all/note-4-32.s: New test.
592 * testsuite/binutils-all/note-4-64.d: New test result file.
593 * testsuite/binutils-all/note-4-32.d: New test result file.
594
219d1afa
AM
5952018-01-03 Alan Modra <amodra@gmail.com>
596
597 Update year range in copyright notice of all files.
598
1e563868 599For older changes see ChangeLog-2017
3499769a 600\f
1e563868 601Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
602
603Copying and distribution of this file, with or without modification,
604are permitted in any medium without royalty provided the copyright
605notice and this notice are preserved.
606
607Local Variables:
608mode: change-log
609left-margin: 8
610fill-column: 74
611version-control: never
612End:
This page took 0.140601 seconds and 4 git commands to generate.