x86: Add explicit -mx86-used-note=[yes|no] to tests
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
6c0d3bde
L
12018-08-31 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/binutils-all/i386/compressed-1b.d: Pass
4 -mx86-used-note=no to assembler.
5 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
6 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
7 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
8 * testsuite/binutils-all/i386/empty.d: Pass -mx86-used-note=yes
9 to assembler and update expected output from "readelf -n".
10 * testsuite/binutils-all/i386/ibt.d: Likewise.
11 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
12 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
13 * testsuite/binutils-all/i386/shstk.d: Likewise.
14 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
15 * testsuite/binutils-all/x86-64/empty.d: Likewise.
16 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
17 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
18 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
19 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
20 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
21 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
22 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
23 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
24 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
25 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
26 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
27 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
28 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
30 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
31 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
32
385e5b90
L
332018-08-30 H.J. Lu <hongjiu.lu@intel.com>
34
35 * readelf.c (process_section_headers): Treat SHT_FINI_ARRAY and
36 SHT_PREINIT_ARRAY as relocatable sections.
37
4c971803
CX
382018-08-30 Chenghua Xu <paul.hua.gm@gmail.com>
39
40 * MAINTAINERS: Add myself as a MIPS port maintainer.
41
9108bc33
CX
422018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
43
44 * NEWS: Mention Loongson 2K1000 proccessor support.
45 * readelf.c (get_machine_flags): Handle gs264e.
46
bd782c07
CX
472018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
48
49 * NEWS: Mention Loongson 3A2000/3A3000 proccessor support.
50 * readelf.c (get_machine_flags): Handle gs464e.
51
ac8cb70f
CX
522018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
53
54 * NEWS: Mention Loongson 3A1000 proccessor support.
55 * readelf.c (get_machine_flags): Rename loongson-3a to gs464.
56 (print_mips_isa_ext): Delete AFL_EXT_LOONGSON_3A.
57
a693765e
CX
582018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
59
60 * readelf.c (print_mips_ases): Add Loongson EXT2 extension.
61
bdc6c06e
CX
622018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
63
64 * readelf.c (print_mips_ases): Add Loongson EXT extension.
65
716c08de
CX
662018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
67
68 * readelf.c (print_mips_ases): Add CAM extension.
69
90c745dc
L
702018-08-27 H.J. Lu <hongjiu.lu@intel.com>
71
72 * readelf.c (decode_x86_isa): Print <None> if bitmask only
73 contains the GNU_PROPERTY_X86_UINT32_VALID bit.
74 (decode_x86_feature_1): Likewise.
75 (decode_x86_feature_2): Likewise.
76 (print_gnu_property_note): Don't mask out the
77 GNU_PROPERTY_X86_UINT32_VALID bit.
78 * testsuite/binutils-all/i386/pr21231b.d: Updated.
79 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
80
65b3d26e
L
812018-08-27 H.J. Lu <hongjiu.lu@intel.com>
82
83 * readelf.c (decode_x86_compat_isa): Break multi-statement line.
84 (decode_x86_isa): Likewise.
85 (decode_x86_feature_2): Likewise.
86
7a815dd5
L
872018-08-25 H.J. Lu <hongjiu.lu@intel.com>
88
89 PR ld/23499
90 * readelf.c (get_symbol_version_string): Return _("<corrupt>")
91 for corrupt symbol version info.
92
a9eafb08
L
932018-08-24 H.J. Lu <hongjiu.lu@intel.com>
94
95 * readelf.c (decode_x86_compat_isa): New function.
96 (decode_x86_feature_2): Likewise.
97 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
98 (decode_x86_feature): Renamed to ...
99 (decode_x86_feature_1): This. Remove the type argument.
100 (print_gnu_property_note): Handle X86_COMPAT_ISA_1_USED,
101 X86_COMPAT_ISA_1_NEEDED, X86_UINT32_AND_LO, X86_UINT32_AND_HI,
102 X86_UINT32_OR_LO, X86_UINT32_OR_HI, X86_UINT32_OR_AND_LO and
103 X86_UINT32_OR_AND_HI instead of X86_ISA_1_USED, X86_ISA_1_NEEDED
104 and X86_FEATURE_1_AND.
105 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
106 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
107 values.
108 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
109 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
110 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
111 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
112 * testsuite/binutils-all/i386/pr21231b.d: Updated.
113 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
114 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
115 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
116 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
117 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
118 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
119 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
120 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
121 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
122
aa7bca9b
L
1232018-08-24 H.J. Lu <hongjiu.lu@intel.com>
124
125 * readelf.c (print_gnu_property_note): Check the
126 GNU_PROPERTY_X86_UINT32_VALID bit for invalid GNU property note.
127
14732552
AM
1282018-08-23 Alan Modra <amodra@gmail.com>
129
130 * readelf.c (get_ppc64_symbol_other): Return NULL if st_other
131 field contains unrecognised or reserved values. Handle
132 localentry:1 value.
133
7dd36a6f
L
1342018-08-23 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR ld/23536
137 * Makefile.am (development.exp): New target.
138 (EXTRA_DEJAGNU_SITE_CONFIG): New.
139 (DISTCLEANFILES): Add development.exp.
140 * Makefile.in: Regenerated.
141 * testsuite/binutils-all/objcopy.exp (strip_test): Call
142 prune_warnings to prune BFD output.
143 (strip_test_with_saving_a_symbol): Likewise.
144 (objcopy_test_without_global_symbol): Likewise.
145 * testsuite/lib/binutils-common.exp (prune_warnings_extra):
146 New proc.
147 (prune_warnings): Likewise.
148
44c2eb66
L
1492018-08-23 H.J. Lu <hongjiu.lu@intel.com>
150
151 * README-how-to-make-a-release: Document setting "experimental"
152 to false.
153
e8a64888
AM
1542018-08-22 Alan Modra <amodra@gmail.com>
155
156 * readelf.c (process_file_header): Assign updated values from
157 section_header[0] fields to e_phnum, e_shnum and e_shstrndx
158 during printing of header. Correct e_shstrndx range check.
159 Remove unnecessary casts and use %u rather than %ld for
160 unsigned int header fields. Don't print a random %lx when
161 reporting an unknown EI_VERSION.
162
06d743b7
NC
1632018-08-21 Nick Clifton <nickc@redhat.com>
164
165 * MAINTAINERS: Note that Arnold Metselaar has retired as the z80
166 maintainer.
167
66b09c7e
S
1682018-08-21 L. Simon <l.simon@samsung.com>
169
170 PR 23531
171 * readelf.c (hppa_process_unwind): Only dump the unwind table if
172 the data was successfully read in.
173
506b86a4
AM
1742018-08-18 Alan Modra <amodra@gmail.com>
175
176 * testsuite/lib/binutils-common.exp (is_elf64): Use directory of
177 input file for readelf.out.
178 (is_rela): New proc.
179 * testsuite/binutils-all/objcopy.exp (elf64): Set new variable
180 from first result of is_elf64 test.
181 (reloc_format): Set using is_rela.
182 (strip-13): Pass RELOC and ELF64 to assembler.
183 (strip-14, strip-15): Use elf64 rather than calling is_elf64 again.
184 * testsuite/binutils-all/strip-13.d: Run for more targets.
185 * testsuite/binutils-all/strip-13mips64.s: Use RELOC and set
186 addend to zero.
187 * testsuite/binutils-all/strip-13rel.s: Use RELOC and ELF64.
188 Don't add _NONE reloc.
189 * testsuite/binutils-all/strip-13rela.s: Likewise.
190
9c973a29
L
1912018-08-10 H.J. Lu <hongjiu.lu@intel.com>
192
193 PR binutils/23494
194 * testsuite/binutils-all/x86-64/pr23494c.s: New file.
195 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
196 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
197
11459a79
L
1982018-08-10 H.J. Lu <hongjiu.lu@intel.com>
199
200 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl
201 targets.
202 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
203 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
204 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
205 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
206 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
207 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
208 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
209
6404ab99
L
2102018-08-08 H.J. Lu <hongjiu.lu@intel.com>
211
212 PR binutils/23494
213 * testsuite/binutils-all/x86-64/pr23494a-x32.d: New file.
214 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
215 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
216 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
217 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
218 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
219 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
220 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
221 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
222 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
223
f384a1f0
KB
2242018-08-08 Kevin Buettner <kevinb@redhat.com>
225
226 * dwarf.c (decode_location_expresion): Add case for
227 DW_OP_GNU_variable_value.
228
db1e1b45 2292018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
230
231 * readelf.c (display_arc_attribute): Print Tag_ARC_ATR_version.
232
4aae6e5a
NC
2332018-08-03 Nick Clifton <nickc@redhat.com>
234
235 * objcopy.c (merge_gnu_build_notes): Delete empty notes. Merge
236 identical function notes.
237
e2561448
NC
2382018-08-01 Nick Clifton <nickc@redhat.com>
239
240 * README-how-to-make-a-release: Add note about regenerating the
241 info files prior to the release.
242
2409af1e
AJ
2432018-07-30 Andrew Jenner <andrew@codesourcery.com>
244
245 * MAINTAINERS (C-SKY): Add Yunhai Shang as co-maintainer.
246
d0ba5758
AJ
2472018-07-30 Andrew Jenner <andrew@codesourcery.com>
248
249 * MAINTAINERS (C-SKY): Add Lifang Xia as maintainer.
250
b8891f8d
AJ
2512018-07-30 Andrew Jenner <andrew@codesourcery.com>
252
253 * readelf.c: Include elf/csky.h.
254 (guess_is_rela): Handle EM_CSKY.
255 (dump_relocations): Likewise.
256 (get_machine_name): Likewise.
257 (is_32bit_abs_reloc): Likewise.
258
e3d39609
NC
2592018-07-25 Nick Clifton <nickc@redhat.com>
260
261 * rdcoff.c (parse_coff_struct_type): Free fields array upon early
262 exit.
263 (parse_coff_enum_type): Free names and vals arrays upon early
264 exit.
265 * rddbg.c (read_section_stabs_debugging_info): Free shandle and
266 strings and stabs arrays upon early exit.
267 * readelf.c (get_32bit_section_headers): Free shdrs structure upon
268 early exit.
269 (get_64bit_section_headers): Likewise.
270 (get_32bit_elf_symbols): Generate an error if multiple symbol
271 table index sections are associated with the same symbol section.
272 (get_64bit_elf_symbols): Likewise.
273 (process_dynamic_section): Generate an error if there are multiple
274 dynamic symbol table sections, multiple dynamic string tables or
275 multiple dynamic symbol information sections.
276
1d97232a
NC
2772018-07-24 Nick Clifton <nickc@redhat.com>
278
279 * po/sv.po: Updated Swedish translation.
280
7b8d9e8c
AM
2812018-07-24 Alan Modra <amodra@gmail.com>
282
283 PR 23431
284 * dwarf.c (display_formatted_table): Replace "what" parameter
285 with "is_dir". Expand messages. Fix capitalisation.
286 * testsuite/binutils-all/dw5.W: Update expected output.
287
67ce483b
AM
2882018-07-24 Alan Modra <amodra@gmail.com>
289
290 PR 23430
291 * elfcomm.h (struct archive_info): Rename uses_64bit_indicies
292 to uses_64bit_indices.
293 * elfcomm.c (setup_archive): Update uses of above.
294 * readelf.c (process_archive): Likewise.
295 (get_section_type_name): Rename indicies to indices.
296 (get_32bit_elf_symbols, get_64bit_elf_symbols): Likewise.
297 (process_section_groups): Likewise.
298
e2e31f10
MR
2992018-07-20 Maciej W. Rozycki <macro@mips.com>
300
301 * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV
302 ISA maintenance.
303
3391569f
NC
3042018-07-20 Nick Clifton <nickc@redhat.com>
305
306 * objcopy.c (add_specific_symbols): Free buffer on exit.
307 (add_redefine_syms_file): Close file handle on exit.
308 (copy_object): Close file handle on early exit.
309 Free buffer on early exit.
310 Free gaps buffers once they are no longer needed.
311 * dwarf.c (display_debug_frames): Free allocated memory on exit.
312 (load_separate_debug_info): Free allocate memory on early exit.
313
8095d2f7
CX
3142018-07-20 Chenghua Xu <paul.hua.gm@gmail.com>
315 Maciej W. Rozycki <macro@mips.com>
316
317 * readelf.c (print_mips_ases): Add MMI extension.
318
79f5b65e
DD
3192018-07-19 DJ Delorie <dj@redhat.com>
320
321 * MAINTAINERS (RL78, RX): Remove myself as maintainer.
322
442a6ce8
NC
3232018-07-19 Nick Clifton <nickc@redhat.com>
324
325 * dwarf.c (read_cie): Free allocated memory before returning with
326 a failure result.
327
3fd21718
PFC
3282018-07-16 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
329
330 * readelf.c (get_note_type): Fix typo in NT_PPC_TM_CVSX note
331 description.
332
ad96220c
NC
3332018-07-16 Nick Clifton <nickc@redhat.com>
334
335 * README-how-to-make-a-release: Add note to check for new top
336 level files and add them to the src-release.sh script.
337
6cb624f8
NC
3382018-07-14 Nick Clifton <nickc@redhat.com>
339
340 * README-how-to-make-a-release: Updated with corrections based on
341 the 2.31 release experience.
342
55cc53e9
FT
3432018-07-12 Francois H. Theron <francois.theron@netronome.com>
344
345 * readelf.c (process_section_headers): Don't print section type
346 twice for --section-details.
347
be570f06
AM
3482018-07-10 Alan Modra <amodra@gmail.com>
349
350 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Return
351 zero for xgate.
352
d20e98ab
NC
3532018-07-06 Nick Clifton <nickc@redhat.com>
354
355 * readelf.c (same_section): New function.
356 (print_gnu_build_attribute_description): Do not complain about
357 gaps that cross a section boundary.
358
d8dab054
NC
3592018-07-05 Nick Clifton <nickc@redhat.com>
360
361 * po/bg.po: Updated Bulgarian translation.
362
a05a5b64
TP
3632018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
364
365 * NEWS: Use command-line consistently when used in a compount word.
366 * doc/binutils.texi: Likewise and fix trailing whitespace on same
367 line.
368
30aa1306
NC
3692018-06-26 Nick Clifton <nickc@redhat.com>
370
371 * po/sv.po: Updated Swedish translation.
372 * po/uk.po: Updated Ukranian translation.
373
eca4b721
NC
3742018-06-26 Nick Clifton <nickc@redhat.com>
375
376 * doc/binutils.texi: Fix spelling mistakes.
377 * README--how-to-make-a-release: Likewise.
378
1021d1cb
TT
3792018-06-25 Tom Tromey <tom@tromey.com>
380
381 * dwarf-mode.el (dwarf-mode-syntax-table): New variable.
382 Bump version number.
383
71300e2c
NC
3842018-06-24 Nick Clifton <nickc@redhat.com>
385
386 * README-how-to-make-a-release: Update with experiences from
387 making 2.31 branch.
388 * po/binutils.pot: Regenerate.
389 * configure: Regenerate.
390
719d8288
NC
3912018-06-24 Nick Clifton <nickc@redhat.com>
392
393 2.31 branch created.
394 * NEWS: Add marker for 2.31.
395
d388f643
AM
3962018-06-21 Alan Modra <amodra@gmail.com>
397
398 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add "foreign".
399 * doc/Makefile.in: Regenerate.
400
d0ac1c44
SM
4012018-06-19 Simon Marchi <simon.marchi@ericsson.com>
402
403 * configure.ac: Remove AC_PREREQ.
404 * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add
405 info-in-builddir no-texinfo.tex.
406 * Makefile.in: Re-generate.
407 * aclocal.m4: Re-generate.
408 * config.in: Re-generate.
409 * configure: Re-generate.
410 * doc/Makefile.in: Re-generate.
411
3a075e56
AS
4122018-06-19 Andreas Schwab <schwab@suse.de>
413
414 * readelf.c (is_16bit_abs_reloc): Handle R_RISCV_SET16.
415 (is_8bit_abs_reloc): New function.
416 (is_6bit_abs_reloc): New function.
417 (is_6bit_inplace_sub_reloc): New function.
418 (apply_relocations): Use them. Handle 6-bit relocations.
419
6f20c942
FS
4202018-06-14 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
421
422 * readelf.c (print_mips_ases): Add GINV extension.
423
1f6f5dba
L
4242018-06-14 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR binutils/23267
427 * readelf.c (get_symbol_version_string): Check if the first
428 symbol version is base version.
429
730c3174
SE
4302018-06-13 Scott Egerton <scott.egerton@imgtec.com>
431 Faraz Shahbazker <Faraz.Shahbazker@mips.com>
432
433 * readelf.c (print_mips_ases): Add CRC.
434
7a486e6d
NC
4352018-06-13 Nick Clifton <nickc@redhat.com>
436
437 * doc/binutils.texi (objdump): Add missing closing square
438 parenthesis to listing of objcopy's command line options.
439
5a485b38
NC
4402018-06-11 Nick Clifton <nickc@redhat.com>
441
442 * po/es.po: Updated Spanish translation.
443
55e99962
L
4442018-06-01 H.J. Lu <hongjiu.lu@intel.com>
445
446 * configure: Regenerated.
447
0034eed0
AM
4482018-05-31 Alan Modra <amodra@gmail.com>
449
450 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Don't
451 set CC_FOR_TARGET. Run test non-native.
452 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
453 Likewise.
454 (test_follow_debuglink): Run test non-native.
455
1869e86f
AB
4562018-05-30 Ant Bikeneev <ant.bikineev@gmail.com>
457
458 PR 23107
459 * ar.c (display_offsets): New variable.
460 (usage): Add description of 'O' operator.
461 (decode_option): Handle 'O' operator.
462 (print_descr): Pass display_offsets to print_arelt_descr.
463 * arsup.c: Update call to printy_arelt_descr.
464 * objdump.c: Likewise.
465 * bucomm.c (print_arelt_descr): If offsets parameter is true then
466 display offset of archive element within the archive.
467 * bucomm.h: Update prototype for print_arelt_descr.
468 * doc/binutils.texi: Update description of ar command.
469 * NEWS: Mention the new feature.
470 * testsuite/binutils-all/ar.exp: Add text of new feature.
471
bb3b5316
AM
4722018-05-28 Alan Modra <amodra@gmail.com>
473
474 PR 23235
475 * testsuite/binutils-all/compress.exp (test_gnu_debuglink): Return
476 unsupported rather than fail on compile errors.
477 * testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
478 Likewise. Save and restore CFLAGS_FOR_TARGET.
479
7f999549
JW
4802018-05-18 Kito Cheng <kito.cheng@gmail.com>
481
482 * readelf.c (get_machine_flags): Handle EF_RISCV_RVE.
483
7b4ae824
JD
4842018-05-18 John Darrington <john@darrington.wattle.id.au>
485
486 * readelf.c: Add support for s12z architecture.
487 * testsuite/lib/binutils-common.exp (is_elf_format): Excluse s12z
488 targets.
489
f9830ec1
TC
4902018-05-15 Tamar Christina <tamar.christina@arm.com>
491
492 PR binutils/21446
493 * doc/binutils.texi (-M): Document AArch64 options.
494
7d02540a
TC
4952018-05-15 Tamar Christina <tamar.christina@arm.com>
496
497 PR binutils/21446
498 * doc/binutils.texi (-M): Document AArch64 options.
499 * NEWS: Document notes and warnings.
500
679ca975
AM
5012018-05-15 Alan Modra <amodra@gmail.com>
502
503 * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
504 cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
505 and *uclinux* into *linux*.
506 * testsuite/binutils-all/objcopy.exp: Accept armeb for rel
507 strip-13 test, exclude arm-vxworks and arm-windiss.
508
637b1970
JD
5092018-05-10 John Darrington <john@darrington.wattle.id.au>
510
511 * readelf.c (get_machine_name): EM_S12Z - handle new case.
512
60cb2c8a
AM
5132018-05-09 Alan Modra <amodra@gmail.com>
514
515 * od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
516
84f9f8c3
AM
5172018-05-09 Sebastian Rasmussen <sebras@gmail.com>
518
519 * od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
520
886d5428
AM
5212018-05-08 Alan Modra <amodra@gmail.com>
522
523 PR 23141
524 * objcopy.c (is_strip_section): Strip groups without a valid
525 signature symbol.
526
ce4ec1a9
AM
5272018-05-07 Alan Modra <amodra@gmail.com>
528
529 PR 23142
530 * objcopy.c (group_signature): Don't accept groups that use a
531 symbol table other than the one we've read.
532
fe944acf
FT
5332018-04-30 Francois H. Theron <francois.theron@netronome.com>
534
535 * readelf.c: Very basic support for EM_NFP and its section types.
536 * testsuite/binutils-all/nfp: New directory.
537 * testsuite/binutils-all/nfp/objdump.exp: New file. Run new
538 tests.
539 * testsuite/binutils-all/nfp/test2_ctx8.d: New file.
540 * testsuite/binutils-all/nfp/test2_no-pc_ctx4.d: New file.
541 * testsuite/binutils-all/nfp/test1.d: New file.
542 * testsuite/binutils-all/nfp/nfp6000.nffw: New file.
543 * testsuite/binutils-all/nfp/test2_nfp6000.nffw: New file.
544 * NEWS: Mention the new support.
545
6d9dabbb
MR
5462018-04-27 Maciej W. Rozycki <macro@mips.com>
547
548 * testsuite/lib/binutils-common.exp (match_target): New procedure.
549 * testsuite/lib/utils-lib.exp (run_dump_test): Use it in place
550 of `istarget' for matching with `target', `not-target', `skip'
551 and `not-skip' options.
552
0df8ad28
NC
5532018-04-26 Nick Clifton <nickc@redhat.com>
554
555 * readelf.c (is_32bit_abs_reloc): Support R_PARISC_DIR32 as a
556 32-bit absolute reloc for the HPPA target.
557 * testsuite/binutils-all/note-5.d: New test.
558 * testsuite/binutils-all/note-5.s: Source file for new test.
559 * testsuite/binutils-all/objcopy.exp: Run new test.
560
f1ac0afe
CL
5612018-04-25 Christophe Lyon <christophe.lyon@st.com>
562
563 * testsuite/binutils-all/elfedit-2.d: Accept arm*-*-uclinuxfdpiceabi.
564 * testsuite/binutils-all/elfedit-3.d: Likewise.
565 * testsuite/binutils-all/objcopy.exp: Likewise.
566 * testsuite/binutils-all/strip-3.d: Likewise.
567 * testsuite/lib/binutils-common.exp: Likewise.
568
18a20338
CL
5692018-04-25 Christophe Lyon <christophe.lyon@st.com>
570 Mickaël Guêné <mickael.guene@st.com>
571
572 * readelf.c (decode_ARM_machine_flags): Support EF_ARM_PIC.
573 (get_osabi_name): Support ELFOSABI_ARM_FDPIC.
574
2ac93be7
AM
5752018-04-25 Alan Modra <amodra@gmail.com>
576
577 * testsuite/binutils-all/arm/objdump.exp: Remove arm-aout and
578 arm-coff support.
579 * testsuite/binutils-all/objcopy.exp: Likewise.
580 * testsuite/lib/binutils-common.exp: Likewise.
581
a7504f87
NC
5822018-04-18 Nick Clifton <nickc@redhat.com>
583
584 PR 23062
585 * dwarf.c (read_and_display_attr_value): Replace assertions with
586 test and warning message.
587
c65c21e1
AM
5882018-04-18 Alan Modra <amodra@gmail.com>
589
590 * testsuite/lib/binutils-common.exp: Remove support for assorted
591 aout targets.
592
6aea08d9
NC
5932018-04-17 Nick Clifton <nickc@redhat.com>
594
c4a91159 595 PR 23063
56d8f8a9
NC
596 * readelf.c (print_symbol): If the width is zero, return straight
597 away.
598
6aea08d9
NC
599 PR 23064
600 * dwarf.c (process_cu_tu_index): Test for a potential buffer
601 overrun before copying signature pointer.
602
f954747f
AM
6032018-04-17 Alan Modra <amodra@gmail.com>
604
605 * readelf.c: Revert 2018-04-16 and 2018-04-11 changes.
606
d7867d17
AM
6072018-04-16 Alan Modra <amodra@gmail.com>
608
609 * readelf.c (get_machine_name): Correct typo.
610
ddb00039
AM
6112018-04-16 Alan Modra <amodra@gmail.com>
612
613 * configure.ac: Remove arm-epoc-pe support.
614 * dlltool.c: Likewise.
615 * configure: Regenerate.
616
c9098af4
AM
6172018-04-16 Alan Modra <amodra@gmail.com>
618
619 * testsuite/lib/binutils-common.exp: Remove sparc-aout and
620 sparc-coff support.
621
dc12032b
AM
6222018-04-16 Alan Modra <amodra@gmail.com>
623
624 * testsuite/binutils-all/copy-2.d: Remove m68k-aout and m68k-coff
625 support.
626 * testsuite/binutils-all/copy-3.d: Likewise.
627 * testsuite/binutils-all/objcopy.exp: Likewise.
628 * testsuite/lib/binutils-common.exp: Likewise.
629
211dc24b
AM
6302018-04-16 Alan Modra <amodra@gmail.com>
631
632 * testsuite/binutils-all/objcopy.exp: Remove sh5 and sh64 support.
633
a9a4b302
AM
6342018-04-16 Alan Modra <amodra@gmail.com>
635
636 * testsuite/binutils-all/objcopy.exp: Remove w65 support.
637
04cb01fd
AM
6382018-04-16 Alan Modra <amodra@gmail.com>
639
640 * testsuite/binutils-all/objdump.exp: Remove we32k support.
641
c2bf1eec
AM
6422018-04-16 Alan Modra <amodra@gmail.com>
643
644 * MAINTAINERS (Mark Kettenis): Move to past maintainers.
645 * testsuite/binutils-all/objdump.exp: Remove m88k support.
646
6793974d
AM
6472018-04-16 Alan Modra <amodra@gmail.com>
648
649 * readelf.c: Remove i370 support.
650 * testsuite/binutils-all/objdump.exp: Likewise.
651
e82aa794
AM
6522018-04-16 Alan Modra <amodra@gmail.com>
653
654 * testsuite/binutils-all/objcopy.exp: Remove h8500 support.
655 * testsuite/lib/binutils-common.exp: Likewise.
656
fe0bf0fd
AM
6572018-04-16 Alan Modra <amodra@gmail.com>
658
659 * testsuite/binutils-all/objcopy.exp: Remove h8300-coff support.
660
fdef3943
AM
6612018-04-16 Alan Modra <amodra@gmail.com>
662
663 * Makefile.am: Remove IEEE 695 support.
664 * budbg.h: Likewise.
665 * doc/binutils.texi: Likewise.
666 * makefile.vms: Likewise.
667 * objcopy.c: Likewise.
668 * objdump.c: Likewise.
669 * rddbg.c: Likewise.
670 * ieee.c: Delete.
671 * Makefile.in: Regenerate.
672 * po/POTFILES.in: Regenerate.
673
5972ac73
AM
6742018-04-16 Alan Modra <amodra@gmail.com>
675
676 * testsuite/binutils-all/copy-2.d: Remove newsos3 support.
677 * testsuite/binutils-all/nm.exp: Likewise.
678
b4b594e3
AM
6792018-04-16 Alan Modra <amodra@gmail.com>
680
681 * .gitignore: Remove netware support.
682 * Makefile.am: Likewise.
683 * configure.ac: Likewise.
684 * doc/Makefile.am: Likewise.
685 * doc/binutils.texi: Likewise.
686 * testsuite/binutils-all/nm.exp: Likewise.
687 * nlmconv.c: Delete.
688 * nlmconv.h: Delete.
689 * nlmheader.y: Delete.
690 * Makefile.in: Regenerate.
691 * configure: Regenerate.
692 * doc/Makefile.in: Regenerate.
693 * po/POTFILES.in: Regenerate.
694
fceadf09
AM
6952018-04-16 Alan Modra <amodra@gmail.com>
696
697 * testsuite/binutils-all/objdump.exp: Remove tahoe support.
698
fb70ec17
AM
6992018-04-14 Alan Modra <amodra@gmail.com>
700
701 * readelf.c (get_machine_name): Revert 2018-04-11 change.
702
86c6c6df
NC
7032018-04-12 Nick Clifton <nickc@redhat.com>
704
705 PR 23050
706 * readelf.c (process_dynamic_section): Correct dynamic string
707 table size calculation.
708
a8eb42a8
AM
7092018-04-11 Alan Modra <amodra@gmail.com>
710
711 * ieee.c: Remove i960 support.
712 * od-macho.c: Remove i860 support.
713 * readelf.c: Remove i860 and i960 support.
714 * testsuite/binutils-all/objcopy.exp: Likewise.
715 * testsuite/binutils-all/objdump.exp: Likewise.
716 * testsuite/lib/binutils-common.exp: Likewise.
717
c43b2c54
MR
7182018-04-11 Maciej W. Rozycki <macro@mips.com>
719
720 * testsuite/lib/binutils-common.exp (is_elf_format): Also return
721 1 for `*-*-lynxos*' and `*-*-symbianelf*' targets.
722
d4ae1932
AM
7232018-04-10 Alan Modra <amodra@gmail.com>
724
725 * testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
726 reloc=11 for pru and reloc=50 for nds32.
727 * testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
728
d52e3d06
MR
7292018-04-09 Maciej W. Rozycki <macro@mips.com>
730
731 * testsuite/binutils-all/strip-15.d: New test.
732 * testsuite/binutils-all/strip-15rel.s: New test source.
733 * testsuite/binutils-all/strip-15rela.s: New test source.
734 * testsuite/binutils-all/strip-15mips64.s: New test source.
735 * testsuite/binutils-all/objcopy.exp: Run the new test.
736
3f97ba9f
MR
7372018-04-09 Maciej W. Rozycki <macro@mips.com>
738
739 * testsuite/binutils-all/strip-14.d: New test.
740 * testsuite/binutils-all/strip-14rel.s: New test source.
741 * testsuite/binutils-all/strip-14rela.s: New test source.
742 * testsuite/binutils-all/strip-14mips64.s: New test source.
743 * testsuite/binutils-all/objcopy.exp: Run the new test.
744
2008a0db
TT
7452018-04-06 Tom Tromey <tom@tromey.com>
746
747 * dwarf.c (read_and_display_attr_value): Add missing DW_LANG
748 constants from DWARF 5.
749
3cba8b6c
L
7502018-04-05 H.J. Lu <hongjiu.lu@intel.com>
751
752 PR gas/22318
753 * configure: Regenerated.
754
2d8c1a23
MR
7552018-04-05 Maciej W. Rozycki <macro@mips.com>
756
757 * testsuite/binutils-all/strip-13mips64.s: Use `.dc.l' rather
758 than `.dc.w' in second relocation.
759
65bd2045
MR
7602018-04-05 Maciej W. Rozycki <macro@mips.com>
761
762 * testsuite/binutils-all/strip-13.d: Also expect `unsupported
763 relocation type 0x8f' error message.
764
2f8ceb38
MR
7652018-04-05 Maciej W. Rozycki <macro@mips.com>
766
767 * testsuite/binutils-all/strip-13.s: Rename to...
768 * testsuite/binutils-all/strip-13rela.s: ... this.
769 * testsuite/binutils-all/strip-13rel.s: New test source.
770 * testsuite/binutils-all/strip-13mips64.s: New test source.
771 * testsuite/binutils-all/strip-13.d: Remove `arm-*', `d10v-*',
772 `dlx-*' and `xgate-*' from `not-target' list. Add `m6811-*' and
773 `m68hc11-*' to `not-target' list.
774 * testsuite/binutils-all/objcopy.exp: Switch between sources for
775 `strip-13'.
776
aad7be45
MR
7772018-04-05 Maciej W. Rozycki <macro@mips.com>
778
779 * testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
780 241 (0xf1) for the relocation number and RELA addend.
781 * testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
782 `not-target' list.
783
89f60df2
JDA
7842018-04-04 John David Anglin <danglin@gcc.gnu.org>
785
786 * MAINTAINERS: Update my e-mail address.
787
f1ca0d6d
NC
7882018-04-04 Nick Clifton <nickc@redhat.com>
789
790 * MAINTAINERS: Move Jason Eckhardt to past maintainers section.
791
8fd75781
NC
7922018-03-23 Nick Clifton <nickc@redhat.com>
793
794 * readelf.c (get_symbol_for_build_attribute): Skip ARM mapping
795 symbols.
796 (print_gnu_build_attribute_description): If no file start symbol
797 could be found, look for one two bytes into the file.
798 * testsuite/binutils-all/note-4-64.s: Set the address of the file
799 start symbol to two bytes into the file.
800 * testsuite/binutils-all/note-4-32.s: Likewise.
801
b1202ffa
L
8022018-03-21 H.J. Lu <hongjiu.lu@intel.com>
803
804 * readelf.c (process_dynamic_section): Also dump DF_1_KMOD,
805 DF_1_WEAKFILTER and DF_1_NOCOMMON.
806
7e100140
NC
8072018-03-20 Nick Clifton <nickc@redhat.com>
808
809 * po/es.po: Updated Spanish translation.
810 * po/ru.po: Updated Russian translation.
811
e45ad123
NC
8122018-03-13 Nick Clifton <nickc@redhat.com>
813
814 PR 22957
815 * stabs.c (pop_binincl): Fail if the file index is off the end of
816 the stack.
817
81db3241
NC
8182018-03-13 Nick Clifton <nickc@redhat.com>
819
820 PR 22955
821 * stabs.c (parse_number): Add p_end parameter and use it to check
822 the validity of the pp parameter. Add checks to prevent walking
823 off the end of the string buffer.
824 (parse_stab_string): Likewise.
825 (parse_stab_type): Likewise.
826 (parse_stab_type_number): Likewise.
827 (parse_stab_range_type): Likewise.
828 (parse_stab_sun_builtin_type): Likewise.
829 (parse_stab_sun_floating_type): Likewise.
830 (parse_stab_enum_type): Likewise.
831 (parse_stab_struct_type): Likewise.
832 (parse_stab_baseclasses): Likewise.
833 (parse_stab_struct_fields): Likewise.
834 (parse_stab_cpp_abbrev): Likewise.
835 (parse_stab_one_struct_field): Likewise.
836 (parse_stab_members): Likewise.
837 (parse_stab_tilde_field): Likewise.
838 (parse_stab_array_type): Likewise.
e45ad123 839
81db3241
NC
840 * parse_stab: Compute the end of the string and then pass it on to
841 individual parser functions.
842
6d4f21f6
PP
8432018-03-07 Paul Pluzhnikov <ppluzhnikov@google.com>
844
845 PR binutils/22923
846 * binutils/readelf.c (get_ver_flags): Expand buffer to avoid
847 overflow.
848
52fe4420
AM
8492018-03-07 Alan Modra <amodra@gmail.com>
850
851 * configure.ac: Add objdump_private_desc_xcoff for rs6000.
852 * configure: Regenerate.
853
0e70b27b
L
8542018-03-05 H.J. Lu <hongjiu.lu@intel.com>
855
856 PR binutils/22911
857 * objdump.c (is_significant_symbol_name): Return TRUE for all
858 .plt* sections.
859 (find_symbol_for_address): Replace linear search with binary
860 search on dynamic relocations.
861
d11ae95e
NC
8622018-03-01 Nick Clifton <nickc@redhat.com>
863
864 PR 22905
865 * dwarf.c (display_debug_ranges): Check that the offset loaded
866 from the range_entry structure is valid.
867
e184813f
AM
8682018-03-01 Alan Modra <amodra@gmail.com>
869
870 * configure.ac (ALL_LINGUAS): Add sr. Sort.
871 * configure: Regenerate.
872
bc7c0509
NC
8732018-02-27 Nick Clifton <nickc@redhat.com>
874
875 * po/pt.po: New Portuguese translation.
876 * configure.ac (ALL_LINGUAS): Add pt.
877 * configure: Regenerate.
878
f3185997
NC
8792018-02-27 Nick Clifton <nickc@redhat.com>
880
881 PR 22875
882 * objcopy.c (copy_object): Check the error status after marking
883 symbols used in relocations.
884 * testsuite/binutils-all/strip-13.s: New test source file.
885 * testsuite/binutils-all/strip-13.s: New test driver file.
886 * testsuite/binutils-all/objcopy.exp: Run the new test.
887
2c1c9679
AM
8882018-02-26 Alan Modra <amodra@gmail.com>
889
890 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
891 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
892
6e05870c
AM
8932018-02-23 Alan Modra <amodra@gmail.com>
894
895 * testsuite/binutils-all/mips/mips-reginfo-n32.d,
896 * testsuite/binutils-all/mips/mips-reginfo.d: Update.
897
b0ab9c45
RH
8982018-02-20 Ronald Hoogenboom <hoogenboom30@zonnet.nl>
899
900 * doc/binutils.texi (objcopy): Add missing closing square
901 parenthesis to listing of objcopy's command line options.
902
e535d0dd
MK
9032018-02-19 Matthias Klose <doko@debian.org>
904
905 * strings.c (long_options): Include-all-whitespace does not take
906 an extra agument.
907
6e5e9d58
AM
9082018-02-13 Alan Modra <amodra@gmail.com>
909
910 PR 22836
911 * testsuite/binutils-all/group-7.s,
912 * testsuite/binutils-all/group-7a.d,
913 * testsuite/binutils-all/group-7b.d,
914 * testsuite/binutils-all/group-7c.d: New tests.
915 * testsuite/binutils-all/objcopy.exp: Run them.
916
8de3a6e2
NC
9172018-02-08 Nick Clifton <nickc@redhat.com>
918
919 PR 22802
920 * dwarf.c (load_separate_debug_file): Return early if the user is
921 not interested in debug links.
922
68807c3c
NC
9232018-02-06 Nick Clifton <nickc@redhat.com>
924
925 PR 22793
926 * readelf.c (find_section): Replace assertion with test and return
927 of NULL.
928 (find_section_by_address): Add test of section header table
929 existance.
930 (find_section_by_type): Likewise.
931 (find_section_in_set): Likewise.
932
2d6dda71
MR
9332018-02-05 Maciej W. Rozycki <macro@mips.com>
934
935 * testsuite/binutils-all/mips/mips-reginfo.d: New test.
936 * testsuite/binutils-all/mips/mips-reginfo-n32.d: New test.
937 * testsuite/binutils-all/mips/mips-reginfo.s: New test source.
938 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
939
78c88364
MR
9402018-02-05 Maciej W. Rozycki <macro@mips.com>
941
942 * testsuite/config/default.exp (binutils_run): Document
943 `binutils_run_status'.
944 * testsuite/lib/utils-lib.exp (default_binutils_run): Likewise,
945 and set it.
946 (run_dump_test): Add `error', `error_output', `warning' and
947 `warning_output' options. Update documentation accordingly.
948
5bb0830d
AB
9492018-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
950
951 * dwarf.c (dwarf_regnames_riscv): New register name table.
952 (init_dwarf_regnames_riscv): New function.
953 (init_dwarf_regnames): Add call to initialise RiscV register
954 names.
955 * dwarf.h (init_dwarf_regnames_riscv): Declare.
956 * objdump.c (dump_dwarf): Add call to initialise RiscV register
957 names.
958
f2023ce7
AM
9592018-02-01 Alan Modra <amodra@gmail.com>
960
961 PR 22769
962 * objdump.c (load_specific_debug_section): Check for overflow
963 when adding one to section size for a string section terminator.
964
fcabedd5
NC
9652018-01-30 Nick Clifton <nickc@redhat.com>
966
967 PR 22734
968 * doc/binutils.texi (nm): Update description to point out that
969 zero-initialized values can also be shown as type B, b, S or s
970 since they can be stored in the BSS section.
971
f49db8be
AM
9722018-01-30 Alan Modra <amodra@gmail.com>
973
974 * objcopy.c (merge_gnu_build_notes): Use (bfd_vma) -1 as
975 "artificially large" end address.
976
a8d6d6ac
NC
9772018-01-28 Nick Clifton <nickc@redhat.com>
978
979 * README-how-to-make-a-release: Add note about checking gpg key
980 and the results of gnupload.
981
9a5db26e
NC
9822018-01-27 Nick Clifton <nickc@redhat.com>
983
984 * README-how-to-make-a-release: Add details on how to actually
985 make the release.
986
94c2436b
NC
9872018-01-26 Nick Clifton <nickc@redhat.com>
988
989 * README-how-to-make-a-release: Add more details on updating
990 version numbers.
991
1ea332d6
MR
9922018-01-22 Maciej W. Rozycki <macro@mips.com>
993
994 * doc/binutils.texi (objcopy): Fix a typo in `--rename-section'
995 option description.
996
d65ce302
MR
9972018-01-22 Maciej W. Rozycki <macro@mips.com>
998
999 * MAINTAINERS: Update my company e-mail address.
1000
f433138f
NC
10012018-01-22 Nick Clifton <nickc@redhat.com>
1002
1003 * po/sv.po: Updated Swedish translation.
1004
7ab82037
NC
10052018-01-18 Nick Clifton <nickc@redhat.com>
1006
1007 * po/bg.po: Updated Bulgarian translation.
1008
0dd86f32
JB
10092018-01-16 Joel Brobecker <brobecker@adacore.com>
1010
1011 * README-how-to-make-a-release: Add reminder to update the
1012 branch name in gdbadmin's crontab on sourceware.
1013
a960d29f
JB
10142018-01-16 Joel Brobecker <brobecker@adacore.com>
1015
1016 * README-how-to-make-a-release: Remove trailing spaces.
1017
f6efed01
NC
10182018-01-16 Nick Clifton <nickc@redhat.com>
1019
1020 * po/fr.po: Updated French translation.
1021
616dcb87
NC
10222018-01-15 Nick Clifton <nickc@redhat.com>
1023
1024 * po/uk.po: Updated Ukranian translation.
1025
3957a496
NC
10262018-01-13 Nick Clifton <nickc@redhat.com>
1027
19e2900b 1028 * README-how-to-make-a-release: Update notes.
3957a496
NC
1029 * po/binutils.pot: Regenerated.
1030
769c7ea5
NC
10312018-01-13 Nick Clifton <nickc@redhat.com>
1032
1033 * configure: Regenerate.
1034
9176ac5b
NC
10352018-01-13 Nick Clifton <nickc@redhat.com>
1036
faf766e3 1037 2.30 branch created.
9176ac5b
NC
1038 * NEWS: Add marker for 2.30.
1039
98ab9e96
NC
10402018-01-12 Nick Clifton <nickc@redhat.com>
1041
1042 * README-how-to-make-a-release: Add notes on how to make the
1043 branch and prelease snapshot.
1044 * BRANCHES: Add binutils-2_29-branch.
1045
bf41f30d
NC
10462018-01-10 Nick Clifton <nickc@redhat.com>
1047
1048 * MAINTAINERS: Note that it is now the configure.ac file and not
1049 the configure.in file that needs to be kept in sync with gcc.
1050 Add a note about sending patches for libiberty to gcc.
1051
f13974bd
NC
10522018-01-03 Nick Clifton <nickc@redhat.com>
1053
1054 * objcopy.c (merge_gnu_build_notes): Add cast to maximum address
1055 constants.
1056
6f156d7a
NC
10572018-01-03 Nick Clifton <nickc@redhat.com>
1058
1059 * objcopy.c (objcopy_internal_note): New structure.
1060 (gap_exists): New function.
1061 (is_open_note): New function.
1062 (is_func_note): New function.
1063 (is_64bit): New function.
1064 (merge_gnu_build_notes): Handle v3 notes. Do not merge
1065 if there are relocations against the notes.
1066 * readelf.c (get_note_type): Use short names for build attribute
1067 notes.
1068 (print_symbol_for_build_attribute): Rename to
1069 get_symbol_for_build_attribute. Returns the found symbol rather
1070 than printing it.
1071 (print_gnu_build_attribute_description): Maintain address ranges
1072 for function notes as well as global notes. Handle v3 notes.
1073 (print_gnu_build_attribute_name): Use more space for printing the
1074 name in wide mode.
1075 * testsuite/binutils-all/note-2-32.s: Use .dc.l instead of .word.
1076 Eliminate symbol references in order to remove the need for
1077 relocations.
1078 * testsuite/binutils-all/note-2-64.s: Likewise.
1079 * testsuite/binutils-all/note-3-32.s: Add a size to the note_1
1080 symbol.
1081 * testsuite/binutils-all/note-3-64.s: Likewise.
1082 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Update expected
1083 output.
1084 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
1085 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
1086 * testsuite/binutils-all/note-2-32.d: Likewise.
1087 * testsuite/binutils-all/note-2-64.d: Likewise.
1088 * testsuite/binutils-all/note-3-32.d: Likewise.
1089 * testsuite/binutils-all/note-3-64.d: Likewise.
1090 * testsuite/binutils-all/note-4-64.s: New test. Checks v3 notes.
1091 * testsuite/binutils-all/note-4-32.s: New test.
1092 * testsuite/binutils-all/note-4-64.d: New test result file.
1093 * testsuite/binutils-all/note-4-32.d: New test result file.
1094
219d1afa
AM
10952018-01-03 Alan Modra <amodra@gmail.com>
1096
1097 Update year range in copyright notice of all files.
1098
1e563868 1099For older changes see ChangeLog-2017
3499769a 1100\f
1e563868 1101Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1102
1103Copying and distribution of this file, with or without modification,
1104are permitted in any medium without royalty provided the copyright
1105notice and this notice are preserved.
1106
1107Local Variables:
1108mode: change-log
1109left-margin: 8
1110fill-column: 74
1111version-control: never
1112End:
This page took 0.182333 seconds and 4 git commands to generate.