2020-03-10 10:52:25 +08:00
|
|
|
|
2020-03-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (disassemble_section): Don't call qsort unless
|
|
|
|
|
sym count is at least two.
|
|
|
|
|
(disassemble_data): Don't call memcpy with NULL src.
|
|
|
|
|
|
2020-03-09 18:56:05 +08:00
|
|
|
|
2020-03-09 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25645
|
|
|
|
|
* readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
|
|
|
|
|
to get_data rather than multiplying.
|
|
|
|
|
(dump_ia64_vms_dynamic_relocs): Likewise.
|
|
|
|
|
(process_version_sections): Correct order of size and nmemb args
|
|
|
|
|
in get_data call.
|
|
|
|
|
(process_mips_specific): Likewise.
|
|
|
|
|
|
2020-03-09 09:43:42 +08:00
|
|
|
|
2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_dynamic_data): Replace "memory chekers" with
|
|
|
|
|
"memory checkers" in comments.
|
|
|
|
|
|
2020-03-07 11:06:34 +08:00
|
|
|
|
2020-03-06 Simon Marchi <simon.marchi@efficios.com>
|
|
|
|
|
|
|
|
|
|
PR 25491
|
|
|
|
|
* doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
|
|
|
|
|
* doc/Makefile.in: Re-generate.
|
|
|
|
|
|
2020-03-06 18:09:22 +08:00
|
|
|
|
2020-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (check_new_section_flags): New function. Reject the
|
|
|
|
|
SEC_COFF_SHARED flag if the target is not a COFF binary.
|
|
|
|
|
(copy_object): Call check_new_section_flags.
|
|
|
|
|
(setup_section): Likewise.
|
|
|
|
|
* doc/binutils.texi (objcopy): Add a note that the 'share' section
|
|
|
|
|
flag cannot be applied to ELF binaries.
|
|
|
|
|
|
2020-03-06 08:03:10 +08:00
|
|
|
|
2020-03-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25637
|
|
|
|
|
* objcopy.c (filter_symbols): Correct rem_leading_char logic.
|
|
|
|
|
|
2020-03-05 12:27:47 +08:00
|
|
|
|
2020-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25629
|
|
|
|
|
* objcopy.c (filter_symbols): Don't segfault on NULL
|
|
|
|
|
prefix_symbols_string.
|
|
|
|
|
|
2020-03-03 05:08:20 +08:00
|
|
|
|
2020-03-04 Christian Eggers <ceggers@gmx.de>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (copy_object): Convert from bytes to octets for
|
|
|
|
|
--gap-fill and --pad-to.
|
|
|
|
|
|
2020-03-04 00:11:12 +08:00
|
|
|
|
2020-03-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25625
|
|
|
|
|
* prdbg.c (pr_tag_type): Remove call to abort.
|
|
|
|
|
|
2020-03-02 20:46:47 +08:00
|
|
|
|
2020-03-02 Aaron Merey <amerey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* binutils/testsuite/binutils-all/debuginfod.exp: Improve port
|
|
|
|
|
selection.
|
|
|
|
|
|
2020-03-02 18:02:02 +08:00
|
|
|
|
2020-03-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25543
|
|
|
|
|
* readelf.c (dump_section_as_strings): Display new-line characters
|
|
|
|
|
as \n and then insert a line break.
|
|
|
|
|
* testsuite/binutils-all/pr25543.s: New test.
|
|
|
|
|
* testsuite/binutils-all/pr25543.d: Test driver.
|
|
|
|
|
* testsuite/binutils-all/readelf.exp: Run the new test.
|
|
|
|
|
|
2020-02-28 00:28:25 +08:00
|
|
|
|
2020-02-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25526
|
|
|
|
|
* readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
|
|
|
|
|
get_data is unable to load the string table.
|
|
|
|
|
|
2020-02-25 13:04:46 +08:00
|
|
|
|
2020-02-26 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* elfedit.c: Indent labels correctly.
|
|
|
|
|
* readelf.c: Likewise.
|
|
|
|
|
* resres.c: Likewise.
|
|
|
|
|
|
2020-02-25 19:30:33 +08:00
|
|
|
|
2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/25584
|
|
|
|
|
* ar.c (main): Pass 0 to bfd_plugin_set_program_name.
|
|
|
|
|
* nm.c (main): Pass 1 to bfd_plugin_set_program_name.
|
|
|
|
|
|
2020-02-24 22:39:34 +08:00
|
|
|
|
2020-02-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25499
|
|
|
|
|
* doc/binutils.texi (objdump): Fix typo in description of
|
|
|
|
|
objdump's -g option.
|
|
|
|
|
|
RISC-V: Support the ISA-dependent CSR checking.
According to the riscv privilege spec, some CSR are only valid when rv32 or
the specific extension is set. We extend the DECLARE_CSR and DECLARE_CSR_ALIAS
to record more informaton we need, and then check whether the CSR is valid
according to these information. We report warning message when the CSR is
invalid, so we have a choice between error and warning by --fatal-warnings
option. Also, a --no-warn/-W option is used to turn the warnings off, if
people don't want the warnings.
gas/
* config/tc-riscv.c (enum riscv_csr_class): New enum. Used to decide
whether or not this CSR is legal in the current ISA string.
(struct riscv_csr_extra): New structure to hold all extra information
of CSR.
(riscv_init_csr_hash): New function. According to the DECLARE_CSR and
DECLARE_CSR_ALIAS, insert CSR extra information into csr_extra_hash.
Call hash_reg_name to insert CSR address into reg_names_hash.
(md_begin): Call riscv_init_csr_hashes for each DECLARE_CSR.
(reg_csr_lookup_internal, riscv_csr_class_check): New functions.
Decide whether the CSR is valid according to the csr_extra_hash.
(init_opcode_hash): Update 'if (hash_error != NULL)' as hash_error is
not a boolean. This is same as riscv_init_csr_hash, so keep the
consistent usage.
* testsuite/gas/riscv/csr-dw-regnums.d: Add -march=rv32if option.
* testsuite/gas/riscv/priv-reg.d: Add f-ext by -march option.
* testsuite/gas/riscv/priv-reg-fail-fext.d: New testcase. The source
file is `priv-reg.s`, and the ISA is rv32i without f-ext, so the
f-ext CSR are not allowed.
* testsuite/gas/riscv/priv-reg-fail-fext.l: Likewise.
* testsuite/gas/riscv/priv-reg-fail-rv32-only.d: New testcase. The
source file is `priv-reg.s`, and the ISA is rv64if, so the
rv32-only CSR are not allowed.
* testsuite/gas/riscv/priv-reg-fail-rv32-only.l: Likewise.
include/
* opcode/riscv-opc.h: Extend DECLARE_CSR and DECLARE_CSR_ALIAS to
record riscv_csr_class.
opcodes/
* riscv-dis.c (print_insn_args): Updated since the DECLARE_CSR is changed.
gdb/
* riscv-tdep.c: Updated since the DECLARE_CSR is changed.
* riscv-tdep.h: Likewise.
* features/riscv/rebuild-csr-xml.sh: Generate the 64bit-csr.xml without
rv32-only CSR.
* features/riscv/64bit-csr.xml: Regernated.
binutils/
* dwarf.c: Updated since the DECLARE_CSR is changed.
2020-02-12 18:18:49 +08:00
|
|
|
|
2020-02-20 Nelson Chu <nelson.chu@sifive.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
|
|
|
|
|
is changed.
|
|
|
|
|
|
2020-02-20 05:55:25 +08:00
|
|
|
|
2020-02-19 Jordan Rupprecht <rupprecht@google.com>
|
|
|
|
|
|
|
|
|
|
* objdump.c (show_line): call bfd_demangle when using do_demangle.
|
|
|
|
|
|
Merge changes from GCC for the config/ directory
GCC's config/ChangeLog since the last time this merge was done
(in the binutils-gdb commit 0b4d000cc4e8e77c823) is included at the
end of this commit message.
It is worth noting that the binutils-gdb commit 301a9420d947da1458
added the file config/debuginfod.m4 which is not present in GCC's
config/ directory. This file is preserved, unmodified, after this
commit.
In order to regenerate all of the configure files, I configured with
--enable-maintainer-mode, and built the 'all' target. I then did the
same thing on a source tree without this patch, and only committed
those files that changed when this patch was added.
GCC's config/ChangeLog entries:
2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
PR libstdc++/79193
PR libstdc++/88999
* no-executables.m4: Use a non-empty program to test for linker
support.
2020-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.
2020-01-27 Andrew Burgess <andrew.burgess@embecosm.com>
* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Add new
--with-libXXX-type=... option. Use this to guide the selection of
either a shared library or a static library.
2020-01-24 Maciej W. Rozycki <macro@wdc.com>
* toolexeclibdir.m4: New file.
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
* futex.m4: Handle *-uclinux*.
* tls.m4 (GCC_CHECK_TLS): Likewise.
2019-09-06 Florian Weimer <fweimer@redhat.com>
* futex.m4 (GCC_LINUX_FUTEX): Include <unistd.h> for the syscall
function.
2019-07-08 Richard Sandiford <richard.sandiford@arm.com>
* bootstrap-Og.mk: New file.
2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>
* gthr.m4 (GCC_AC_THREAD_HEADER): Add case for gcn.
2019-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* ax_count_cpus.m4: New file.
2019-05-02 Richard Biener <rguenther@suse.de>
PR bootstrap/85574
* bootstrap-lto.mk (extra-compare): Set to gcc/lto1$(exeext).
2019-04-16 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: Filter out -flto in STAGEtrain_CFLAGS.
2019-04-09 Martin Liska <mliska@suse.cz>
* bootstrap-lto-lean.mk: New file.
2019-03-02 Johannes Pfau <johannespfau@gmail.com>
* mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code.
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
config/ChangeLog:
* ax_count_cpus.m4: New file, backported from GCC.
* bootstrap-Og.mk: New file, backported from GCC.
* bootstrap-lto-lean.mk: New file, backported from GCC.
* bootstrap-lto.mk: Changes backported from GCC.
* futex.m4: Changes backported from GCC.
* gthr.m4: Changes backported from GCC.
* lib-link.m4: Changes backported from GCC.
* mh-mingw: Changes backported from GCC.
* no-executables.m4: Changes backported from GCC.
* tls.m4: Changes backported from GCC.
* toolexeclibdir.m4: New file, backported from GCC.
binutils/ChangeLog:
* configure: Regenerate.
gdb/ChangeLog:
* configure: Regenerate.
gdbserver/ChangeLog:
* configure: Regenerate.
gdbsupport/ChangeLog:
* configure: Regenerate.
intl/ChangeLog:
* configure: Regenerate.
libiberty/ChangeLog:
* configure: Regenerate.
zlib/ChangeLog.bin-gdb:
* configure: Regenerate.
2020-02-05 19:50:07 +08:00
|
|
|
|
2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2020-02-11 00:22:00 +08:00
|
|
|
|
2020-02-10 Fangrui Song <maskray@google.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (parse_flags): Handle "exclude".
|
|
|
|
|
* doc/binutils.texi: Document the support.
|
|
|
|
|
|
2020-02-10 23:20:41 +08:00
|
|
|
|
2020-02-10 Aaron Merey <amerey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* binutils/testsuite/binutils-all/debuginfod.exp:
|
|
|
|
|
Replace set ::env with setenv.
|
2020-02-10 23:24:57 +08:00
|
|
|
|
Start server before setting environment variable.
|
|
|
|
|
Specify tmpdir as the location of the server's
|
|
|
|
|
database.
|
|
|
|
|
Check additional server metrics at start-up.
|
2020-02-10 23:20:41 +08:00
|
|
|
|
|
2020-02-07 23:13:23 +08:00
|
|
|
|
2020-02-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Add note about updating the
|
|
|
|
|
GAS/NEWS URL in the next release.
|
|
|
|
|
|
2020-02-07 22:53:46 +08:00
|
|
|
|
2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25469
|
|
|
|
|
* readelf.c (get_machine_flags): Add support for Z80N machine
|
|
|
|
|
number.
|
|
|
|
|
|
2020-02-07 20:49:42 +08:00
|
|
|
|
2020-02-07 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* dwarf.c (display_debug_lines_decoded): Force a NUL termination
|
|
|
|
|
of the truncated file name.
|
|
|
|
|
|
2020-02-06 21:34:00 +08:00
|
|
|
|
2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
|
2020-02-06 21:17:19 +08:00
|
|
|
|
|
|
|
|
|
* objdump.c (print_jump_visualisation): New function.
|
|
|
|
|
(disassemble_bytes): Call new function.
|
|
|
|
|
|
2020-02-05 13:49:17 +08:00
|
|
|
|
2020-02-06 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (match_target): Accept '!' before
|
|
|
|
|
TCL procedure.
|
|
|
|
|
(supports_gnu_osabi): New procedure.
|
|
|
|
|
(is_generic): New, from ld-lib.exp.
|
|
|
|
|
(supports_gnu_unique): Use the above.
|
|
|
|
|
|
2020-02-04 13:44:55 +08:00
|
|
|
|
2020-02-04 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (CFILES): Add od-elf32_avr.c.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2020-02-02 17:15:22 +08:00
|
|
|
|
2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
|
|
|
|
|
|
|
|
|
|
* readelf.c (dump_relocations, dump_relocations)
|
|
|
|
|
(decode_arm_unwind_bytecode, process_dynamic_section)
|
|
|
|
|
(get_symbol_visibility, get_alpha_symbol_other): Add newline to
|
|
|
|
|
error message.
|
|
|
|
|
|
2020-02-02 07:16:11 +08:00
|
|
|
|
2020-02-03 Sergei Trofimovich <siarheit@google.com>
|
|
|
|
|
|
|
|
|
|
* coffdump.c (program_name): Drop redundant definition.
|
|
|
|
|
* srconv.c (program_name): Likewise
|
|
|
|
|
* sysdump.c (program_name): Likewise
|
|
|
|
|
|
ELF: Add support for unique section ID to assembler
Clang's integrated assembler supports multiple section with the same
name:
.section .text,"ax",@progbits,unique,1
nop
.section .text,"ax",@progbits,unique,2
nop
"unique,N" assigns the number, N, as the section ID, to a section. The
valid values of the section ID are between 0 and 4294967295. It can be
used to distinguish different sections with the same section name.
This is useful with -fno-unique-section-names -ffunction-sections.
-ffunction-sections by default generates .text.foo, .text.bar, etc.
Using the same string can save lots of space in .strtab.
This patch adds section_id to bfd_section and reuses the linker
internal bit in BFD section flags, SEC_LINKER_CREATED, for assmebler
internal use to mark valid section_id. It also updates objdump to
compare section pointers if 2 sections comes from the same file since
2 different sections can have the same section name.
bfd/
PR gas/25380
* bfd-in2.h: Regenerated.
* ecoff.c (bfd_debug_section): Add section_id.
* section.c (bfd_section): Add section_id.
(SEC_ASSEMBLER_SECTION_ID): New.
(BFD_FAKE_SECTION): Add section_id.
binutils/
PR gas/25380
* objdump.c (sym_ok): Return FALSE if 2 sections are in the
same file with different section pointers.
gas/
PR gas/25380
* config/obj-elf.c (section_match): Removed.
(get_section): Also match SEC_ASSEMBLER_SECTION_ID and
section_id.
(obj_elf_change_section): Replace info and group_name arguments
with match_p. Also update the section ID and flags from match_p.
(obj_elf_section): Handle "unique,N". Update call to
obj_elf_change_section.
* config/obj-elf.h (elf_section_match): New.
(obj_elf_change_section): Updated.
* config/tc-arm.c (start_unwind_section): Update call to
obj_elf_change_section.
* config/tc-ia64.c (obj_elf_vms_common): Likewise.
* config/tc-microblaze.c (microblaze_s_data): Likewise.
(microblaze_s_sdata): Likewise.
(microblaze_s_rdata): Likewise.
(microblaze_s_bss): Likewise.
* config/tc-mips.c (s_change_section): Likewise.
* config/tc-msp430.c (msp430_profiler): Likewise.
* config/tc-rx.c (parse_rx_section): Likewise.
* config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
* doc/as.texi: Document "unique,N" in .section directive.
* testsuite/gas/elf/elf.exp: Run "unique,N" tests.
* testsuite/gas/elf/section15.d: New file.
* testsuite/gas/elf/section15.s: Likewise.
* testsuite/gas/elf/section16.s: Likewise.
* testsuite/gas/elf/section16a.d: Likewise.
* testsuite/gas/elf/section16b.d: Likewise.
* testsuite/gas/elf/section17.d: Likewise.
* testsuite/gas/elf/section17.l: Likewise.
* testsuite/gas/elf/section17.s: Likewise.
* testsuite/gas/i386/unique.d: Likewise.
* testsuite/gas/i386/unique.s: Likewise.
* testsuite/gas/i386/x86-64-unique.d: Likewise.
* testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
ld/
PR gas/25380
* testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
directives.
* testsuite/ld-i386/tls-gd1.S: Likewise.
* testsuite/ld-x86-64/pr21481b.S: Likewise.
2020-02-03 09:07:51 +08:00
|
|
|
|
2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/25380
|
|
|
|
|
* objdump.c (sym_ok): Return FALSE if 2 sections are in the
|
|
|
|
|
same file with different section pointers.
|
|
|
|
|
|
2020-02-01 21:14:16 +08:00
|
|
|
|
2020-02-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Update with more details on the
|
|
|
|
|
release making process.
|
|
|
|
|
|
2020-01-31 22:45:51 +08:00
|
|
|
|
2020-01-31 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/sv.po: Updated Swedish translation.
|
|
|
|
|
|
2020-01-28 19:30:55 +08:00
|
|
|
|
2020-01-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_build_id): Simplify warning message about corrupt
|
|
|
|
|
notes encountered whilst scanning for the build-id.
|
|
|
|
|
|
2020-01-28 03:14:33 +08:00
|
|
|
|
2020-01-27 Roland McGrath <mcgrathr@google.com>
|
|
|
|
|
|
|
|
|
|
* objcopy.c (compare_gnu_build_notes): Fix comparison results
|
|
|
|
|
for overlapping ranges so that (A == B) == (B == A) holds.
|
|
|
|
|
|
2020-01-27 08:21:52 +08:00
|
|
|
|
2020-01-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
|
|
|
|
|
case statement with switch statement.
|
|
|
|
|
|
2020-01-24 19:55:12 +08:00
|
|
|
|
2020-01-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c (get_build_id): Fix warning messages about corrupt
|
|
|
|
|
notes.
|
|
|
|
|
|
2020-01-23 22:33:36 +08:00
|
|
|
|
2020-01-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/fr.po: Updated French translation.
|
|
|
|
|
|
2020-01-19 22:24:06 +08:00
|
|
|
|
2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
|
|
|
|
|
|
|
|
|
|
PR 25417
|
|
|
|
|
* readelf.c (get_alpha_symbol_other): Fix error message typo.
|
|
|
|
|
|
2020-01-20 23:10:23 +08:00
|
|
|
|
2020-01-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/pt.po: Updated Portuguese translation.
|
|
|
|
|
* po/uk.po: Updated Ukranian translation.
|
|
|
|
|
|
2020-01-18 22:37:55 +08:00
|
|
|
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* README-how-to-make-a-release: Update notes on how to cut a
|
|
|
|
|
branch for a release.
|
|
|
|
|
|
2020-01-18 22:12:07 +08:00
|
|
|
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/binutils.pot: Regenerate.
|
|
|
|
|
|
2020-01-18 21:50:25 +08:00
|
|
|
|
2020-01-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
Binutils 2.34 branch created.
|
|
|
|
|
|
2020-01-17 23:27:31 +08:00
|
|
|
|
2020-01-17 Thomas Troeger <tstroege@gmx.de>
|
|
|
|
|
|
|
|
|
|
* objdump.c (jump_info_visualize_address): Discard jumps that are
|
|
|
|
|
no longer needed.
|
|
|
|
|
(disassemble_bytes): Only compute the maximum level if jumps were
|
|
|
|
|
detected.
|
|
|
|
|
|
2020-01-13 23:18:57 +08:00
|
|
|
|
2020-01-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2020-01-14 01:28:41 +08:00
|
|
|
|
* objdump.c (disassemble_bytes): Remove C99-ism.
|
2020-01-13 23:18:57 +08:00
|
|
|
|
* testsuite/binutils-all/debuginfod.exp: New tests.
|
|
|
|
|
|
Add an option to objdump's disassembler to generate ascii art diagrams showing the destinations of flow control instructions.
binutils* objdump.c (visualize_jumps, color_output, extended_color_output)
(detected_jumps): New variables.
(usage): Add the new jump visualization options.
(option_values): Add new option value.
(long_options): Add the new option.
(jump_info_new, jump_info_free): New functions.
(jump_info_min_address, jump_info_max_address): Likewise.
(jump_info_end_address, jump_info_is_start_address): Likewise.
(jump_info_is_end_address, jump_info_size): Likewise.
(jump_info_unlink, jump_info_insert): Likewise.
(jump_info_add_front, jump_info_move_linked): Likewise.
(jump_info_intersect, jump_info_merge): Likewise.
(jump_info_sort, jump_info_visualize_address): Likewise.
(disassemble_jumps): New function - used to locate jumps.
(disassemble_bytes): Add ascii art generation.
(disassemble_section): Add scan to locate jumps.
(main): Parse the new visualization option.
* doc/binutils.texi: Document the new feature.
* NEWS: Mention the new feature.
opcodes * arm-dis.c (print_insn_arm): Fill in insn info fields for control
flow instructions.
(print_insn_thumb16, print_insn_thumb32): Likewise.
(print_insn): Initialize the insn info.
* i386-dis.c (print_insn): Initialize the insn info fields, and
detect jumps.
2020-01-13 20:36:55 +08:00
|
|
|
|
2020-01-13 Thomas Troeger <tstroege@gmx.de>
|
|
|
|
|
|
|
|
|
|
* objdump.c (visualize_jumps, color_output, extended_color_output)
|
|
|
|
|
(detected_jumps): New variables.
|
|
|
|
|
(usage): Add the new jump visualization options.
|
|
|
|
|
(option_values): Add new option value.
|
|
|
|
|
(long_options): Add the new option.
|
|
|
|
|
(jump_info_new, jump_info_free): New functions.
|
|
|
|
|
(jump_info_min_address, jump_info_max_address): Likewise.
|
|
|
|
|
(jump_info_end_address, jump_info_is_start_address): Likewise.
|
|
|
|
|
(jump_info_is_end_address, jump_info_size): Likewise.
|
|
|
|
|
(jump_info_unlink, jump_info_insert): Likewise.
|
|
|
|
|
(jump_info_add_front, jump_info_move_linked): Likewise.
|
|
|
|
|
(jump_info_intersect, jump_info_merge): Likewise.
|
|
|
|
|
(jump_info_sort, jump_info_visualize_address): Likewise.
|
|
|
|
|
(disassemble_jumps): New function - used to locate jumps.
|
|
|
|
|
(disassemble_bytes): Add ascii art generation.
|
|
|
|
|
(disassemble_section): Add scan to locate jumps.
|
|
|
|
|
(main): Parse the new visualization option.
|
|
|
|
|
* doc/binutils.texi: Document the new feature.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2020-01-13 20:00:46 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
2020-01-13 20:23:02 +08:00
|
|
|
|
PR 25360
|
|
|
|
|
PR 25361
|
2020-01-13 20:00:46 +08:00
|
|
|
|
* dwarf.c (display_debug_frames): Move fde_fc earlier. Free
|
|
|
|
|
fde_fc col_type and col_offset.
|
|
|
|
|
* readelf.c (apply_relocations): Move symsec check earlier.
|
|
|
|
|
(free_debug_section): Free reloc_info.
|
|
|
|
|
(process_notes_at): Free pnotes on error path.
|
|
|
|
|
(process_object): Free dump_sects here..
|
|
|
|
|
(process_archive): ..not here.
|
|
|
|
|
|
2020-01-13 17:06:13 +08:00
|
|
|
|
2020-01-13 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR 25362
|
|
|
|
|
* nm.c (display_rel_file): Free dyn_syms.
|
|
|
|
|
|
2020-01-10 00:51:04 +08:00
|
|
|
|
2020-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 25220
|
|
|
|
|
* objcopy.c (empty_name): New variable.
|
|
|
|
|
(need_sym_before): Prevent an attempt to free a static variable.
|
|
|
|
|
(filter_symbols): Avoid strcmp test by checking for pointer
|
|
|
|
|
equality.
|
|
|
|
|
|
2020-01-09 21:36:22 +08:00
|
|
|
|
2020-01-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/zh_TW.po: Updated Traditional Chinese translation.
|
|
|
|
|
|
|
|
|
|
2020-01-09 Aaron Merey <amerey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* NEWS: Update.
|
|
|
|
|
* config.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* configure.ac: Call AC_DEBUGINFOD.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* doc/binutils.texi: Add section on using binutils
|
|
|
|
|
with debuginfod.
|
|
|
|
|
* dwarf.c (debuginfod_fetch_separate_debug_info): New function.
|
|
|
|
|
Query debuginfod servers for the target debug file.
|
|
|
|
|
(load_separate_debug_info): Call
|
|
|
|
|
debuginfod_fetch_separate_debug_info if configured with
|
|
|
|
|
debuginfod.
|
|
|
|
|
(load_separate_debug_files): Add file argument to
|
|
|
|
|
load_separate_debug_info calls.
|
|
|
|
|
* dwarf.h (get_build_id): Add declaration.
|
|
|
|
|
* objdump.c (get_build_id): New function. Get build-id of file.
|
|
|
|
|
* readelf.c (get_build_id): Likewise.
|
|
|
|
|
* testsuite/binutils-all/debuginfod.exp: New tests.
|
|
|
|
|
* testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
|
|
|
|
|
section.
|
|
|
|
|
|
2020-01-02 22:10:40 +08:00
|
|
|
|
2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
|
|
|
|
|
|
|
|
|
|
* readelf.c: Add support for new Z*) relocations and machine
|
|
|
|
|
types.
|
|
|
|
|
|
2020-01-01 16:22:19 +08:00
|
|
|
|
2020-01-01 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update year range in copyright notice of all files.
|
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
For older changes see ChangeLog-2019
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
2020-01-01 15:37:11 +08:00
|
|
|
|
Copyright (C) 2020 Free Software Foundation, Inc.
|
2016-01-01 18:44:31 +08:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|