]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
GDB Administrator [Thu, 30 Sep 2021 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 29 Sep 2021 00:00:39 +0000 (00:00 +0000)]
Automatic date update in version.in
Gleb Fotengauer-Malinovskiy [Tue, 28 Sep 2021 10:41:26 +0000 (20:11 +0930)]
PR28391, strip/objcopy --preserve-dates *.a: cannot set time
After commit
985e0264516 copy_archive function began to pass invalid
values to the utimensat(2) function when it tries to preserve
timestamps in ar archives. This happens because the bfd_stat_arch_elt
implementation for ar archives fills only the st_mtim.tv_sec part of
the st_mtim timespec structure, but leaves the st_mtim.tv_nsec part
and the whole st_atim timespec untouched leaving them uninitialized
PR 28391
* ar.c (extract_file): Clear buf for preserve_dates.
* objcopy.c (copy_archive): Likewise.
(cherry picked from commit
0d62064867c74286360e821b75ef6799bedc4b34 )
GDB Administrator [Tue, 28 Sep 2021 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 27 Sep 2021 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 26 Sep 2021 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 25 Sep 2021 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 24 Sep 2021 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 23 Sep 2021 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 22 Sep 2021 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 21 Sep 2021 00:00:39 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 20 Sep 2021 00:00:39 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 19 Sep 2021 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 18 Sep 2021 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 17 Sep 2021 00:00:35 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 16 Sep 2021 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 15 Sep 2021 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 14 Sep 2021 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 13 Sep 2021 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 12 Sep 2021 00:00:27 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 11 Sep 2021 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 10 Sep 2021 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 9 Sep 2021 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 8 Sep 2021 00:00:37 +0000 (00:00 +0000)]
Automatic date update in version.in
Luis Machado [Tue, 7 Sep 2021 13:35:11 +0000 (10:35 -0300)]
Revert: [AArch64] MTE corefile support
bfd * elf.c (elfcore_make_memtag_note_section): New function.
(elfcore_grok_note): Handle NT_MEMTAG note types.
binutils* readelf.c (get_note_type): Handle NT_MEMTAG note types.
include * elf/common.h (NT_MEMTAG): New constant.
(NT_MEMTAG_TYPE_AARCH_MTE): New constant.
GDB Administrator [Tue, 7 Sep 2021 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 6 Sep 2021 00:00:37 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 5 Sep 2021 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 4 Sep 2021 00:00:34 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 3 Sep 2021 00:00:48 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 2 Sep 2021 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 1 Sep 2021 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 31 Aug 2021 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 30 Aug 2021 00:00:28 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 29 Aug 2021 00:00:31 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 28 Aug 2021 00:00:32 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 27 Aug 2021 00:00:34 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 26 Aug 2021 00:00:39 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 25 Aug 2021 00:00:33 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 24 Aug 2021 00:00:35 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 23 Aug 2021 00:00:29 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 22 Aug 2021 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 21 Aug 2021 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 20 Aug 2021 00:00:30 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Wed, 18 Aug 2021 03:13:46 +0000 (12:43 +0930)]
[GOLD] PowerPC64 relocation overflow for -Os register save/restore funcs
Fixes a silly mistake in calculating the address of -Os out-of-line
register save/restore function copies. Copies of these linker defined
functions are added to stub sections when the original (in
target->savres_section) can't be reached.
* powerpc.cc (Target_powerpc::Relocate::relocate): Correct address
calculation of out-of-line save/restore function copies.
(cherry picked from commit
89c905a342d2cb35ebc4d66ad7cdca581b5134c3 )
GDB Administrator [Thu, 19 Aug 2021 00:01:24 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 18 Aug 2021 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 17 Aug 2021 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 16 Aug 2021 00:00:52 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 15 Aug 2021 00:01:51 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 14 Aug 2021 00:00:50 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 13 Aug 2021 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 12 Aug 2021 00:01:28 +0000 (00:01 +0000)]
Automatic date update in version.in
Alan Modra [Wed, 11 Aug 2021 00:41:19 +0000 (10:11 +0930)]
Revert "ld script expression parsing"
This reverts commit
40726f16a8d7105761e36398054860a923d4efc9 .
Alan Modra [Wed, 11 Aug 2021 00:43:27 +0000 (10:13 +0930)]
Revert "ld --defsym"
This reverts commit
fb6c220ebdae893d7d955827363010342fa1afa5 .
Alan Modra [Wed, 11 Aug 2021 00:39:02 +0000 (10:09 +0930)]
Revert "Re: ld script expression parsing"
This reverts commit
6afc66a7772e69ac3888b496e12d3c8f257c693c .
GDB Administrator [Wed, 11 Aug 2021 00:00:54 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 10 Aug 2021 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 9 Aug 2021 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 8 Aug 2021 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Sat, 7 Aug 2021 04:40:38 +0000 (14:10 +0930)]
PR28186, SEGV elf.c:7991:30 in _bfd_elf_fixup_group_sections
PR 28186
* elf.c (_bfd_elf_fixup_group_sections): Don't segfault on
objcopy/strip with NULL output_section.
(cherry picked from commit
182ad37589e3931390d0c43f1d52a9a6e0062a61 )
GDB Administrator [Sat, 7 Aug 2021 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 6 Aug 2021 00:00:51 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 5 Aug 2021 00:01:14 +0000 (00:01 +0000)]
Automatic date update in version.in
Andreas Krebbel [Wed, 7 Jul 2021 12:05:00 +0000 (14:05 +0200)]
IBM Z: Add another arch14 instruction
opcodes/
* opcodes/s390-opc.txt: Add qpaci.
gas/
* testsuite/gas/s390/zarch-arch14.d: Add qpaci.
* testsuite/gas/s390/zarch-arch14.s: Add qpaci.
(cherry picked from commit
e4cc3b47ec2c4bdb1892db7e9759f90576742f31 )
Andreas Krebbel [Wed, 4 Aug 2021 14:51:36 +0000 (16:51 +0200)]
IBM Z: Remove lpswey parameter
opcodes/
* s390-opc.c (INSTR_SIY_RD): New instruction format.
(MASK_SIY_RD): New instruction mask.
* s390-opc.txt: Change instruction format of lpswey to SIY_RD.
gas/
* testsuite/gas/s390/zarch-arch14.d: Remove last operand of
lpswey.
* testsuite/gas/s390/zarch-arch14.s: Likewise.
(cherry picked from commit
a164bbda300d1da6f97bfa14ba7fa22475e61d17 )
Alan Modra [Wed, 4 Aug 2021 05:14:08 +0000 (14:44 +0930)]
PR28156, rename.c doesn't compile with MinGW
Guard against lack of struct timespec definition.
PR 28156
* rename.c (get_stat_atime, get_stat_mtime): Don't compile
unless HAVE_UTIMENSAT is defined.
(cherry picked from commit
47fcfcbadce36c7ccc00c69b4c80717a0d6b9288 )
GDB Administrator [Wed, 4 Aug 2021 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 3 Aug 2021 00:01:02 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 2 Aug 2021 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 1 Aug 2021 00:00:55 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 31 Jul 2021 00:01:06 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 30 Jul 2021 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
H.J. Lu [Mon, 26 Jul 2021 12:59:55 +0000 (05:59 -0700)]
bfd: Close the file descriptor if there is no archive fd
Close the file descriptor if there is no archive plugin file descriptor
to avoid running out of file descriptors on thin archives with many
archive members.
bfd/
PR ld/28138
* plugin.c (bfd_plugin_close_file_descriptor): Close the file
descriptor there is no archive plugin file descriptor.
ld/
PR ld/28138
* testsuite/ld-plugin/lto.exp: Run tmpdir/pr28138 only for
native build.
PR ld/28138
* testsuite/ld-plugin/lto.exp: Run ld/28138 tests.
* testsuite/ld-plugin/pr28138.c: New file.
* testsuite/ld-plugin/pr28138-1.c: Likewise.
* testsuite/ld-plugin/pr28138-2.c: Likewise.
* testsuite/ld-plugin/pr28138-3.c: Likewise.
* testsuite/ld-plugin/pr28138-4.c: Likewise.
* testsuite/ld-plugin/pr28138-5.c: Likewise.
* testsuite/ld-plugin/pr28138-6.c: Likewise.
* testsuite/ld-plugin/pr28138-7.c: Likewise.
(cherry picked from commit
5a98fb7513b559e20dfebdbaa2a471afda3b4742 )
(cherry picked from commit
7dc37e1e1209c80e0bab784df6b6bac335e836f2 )
Alan Modra [Sat, 3 Jul 2021 02:09:24 +0000 (11:39 +0930)]
Re: opcodes: constify & local meps macros
Commit
f375d32b35ce changed a generated file. Edit the source instead.
* mep.opc (macros): Make static and const.
(lookup_macro): Return and use const pointer.
(expand_macro): Make mac param const.
(expand_string): Make pmacro const.
(cherry picked from commit
4dcdbbd1bc1d14f2caff3bb4f8fe1f0e5dabcb85 )
Sergei Trofimovich [Mon, 26 Jul 2021 21:51:18 +0000 (22:51 +0100)]
texi2pod.pl: add no-op --no-split option support [PR28144]
Change
2faf902da ("generate single html manual page by default")
added use of --no-split option to makeinfo. binutils reuses
makeinfo options for texi2pod.pl wrapper. Unsupported option
led to silent manpage truncation.
The change adds no-op option support.
etc/
PR 28144
* texi2pod.pl: Handle no-op --no-split option.
(cherry picked from commit
96a7037cd8573cf065aa6b12baca68696f96d9ca )
GDB Administrator [Thu, 29 Jul 2021 00:01:00 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Wed, 28 Jul 2021 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Tue, 27 Jul 2021 00:01:04 +0000 (00:01 +0000)]
Automatic date update in version.in
GDB Administrator [Mon, 26 Jul 2021 00:00:53 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sun, 25 Jul 2021 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Sat, 24 Jul 2021 06:04:55 +0000 (15:34 +0930)]
Revert: PowerPC: Don't generate unused section symbols
Blindly following x86 broke linux kernel builds.
bfd/
* elf32-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define as true.
* elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Likewise.
gas/
* testsuite/gas/ppc/power4.d: Adjust for section sym change.
* testsuite/gas/ppc/test1elf32.d: Likewise.
* testsuite/gas/ppc/test1elf64.d: Likewise.
ld/
* testsuite/ld-powerpc/tlsexe.r: Adjust for section sym change.
* testsuite/ld-powerpc/tlsexe32.r: Likewise.
* testsuite/ld-powerpc/tlsexe32no.r: Likewise.
* testsuite/ld-powerpc/tlsexeno.r: Likewise.
* testsuite/ld-powerpc/tlsexenors.r: Likewise.
* testsuite/ld-powerpc/tlsexers.r: Likewise.
* testsuite/ld-powerpc/tlsexetoc.r: Likewise.
* testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
* testsuite/ld-powerpc/tlsget.d: Likewise.
* testsuite/ld-powerpc/tlsget.wf: Likewise.
* testsuite/ld-powerpc/tlsget2.d: Likewise.
* testsuite/ld-powerpc/tlsget2.wf: Likewise.
* testsuite/ld-powerpc/tlsso.r: Likewise.
* testsuite/ld-powerpc/tlsso32.r: Likewise.
* testsuite/ld-powerpc/tlstocso.r: Likewise.
(cherry picked from commit
c09c8b42021180eee9495bd50d8b35e683d3901b )
Alan Modra [Thu, 22 Jul 2021 12:11:15 +0000 (21:41 +0930)]
Re: ld script expression parsing
Commit
40726f16a8d7 broke references to sections within ADDR(), and
overlays with weird section names.
* ldgram.y (paren_script_name): New rule.
(exp): Use it for ALIGNOF, SIZEOF, ADDR, and LOADADDR. Similarly
ensure script mode parsing for section name in SEGMENT_START.
(overlay_section): Delete unnecessary ldlex_script call. Backup
on a lookahead NAME parsed in expression mode.
* testsuite/ld-elf/overlay.s: Add more sections.
* testsuite/ld-elf/overlay.t: Test '-' in section names.
(cherry picked from commit
553dd76c7e49e3e6afb528ff865589da8f6f3e1c )
GDB Administrator [Sat, 24 Jul 2021 00:00:44 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Fri, 23 Jul 2021 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Thu, 22 Jul 2021 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
Nick Clifton [Wed, 21 Jul 2021 13:38:32 +0000 (14:38 +0100)]
Updated Russian translation for the bfd library
GDB Administrator [Wed, 21 Jul 2021 00:00:59 +0000 (00:00 +0000)]
Automatic date update in version.in
Alan Modra [Tue, 20 Jul 2021 09:16:57 +0000 (18:46 +0930)]
PR28106, build of 2.37 fails on FreeBSD and Clang
https://en.cppreference.com/w/cpp/types/NULL says NULL might be
defined as nullptr.
https://en.cppreference.com/w/cpp/language/reinterpret_cast says
reinterpret_cast can't be used on nullptr.
PR gold/28106
PR gold/27815
* gc.h (gc_process_relocs): Use static_cast in Section_id constructor.
(cherry picked from commit
b97bd976233ee4d43c2fe18f6356e62779cbe82d )
GDB Administrator [Tue, 20 Jul 2021 00:00:56 +0000 (00:00 +0000)]
Automatic date update in version.in
Christopher Wellons [Sun, 18 Jul 2021 20:57:19 +0000 (16:57 -0400)]
Change "uint" to "unsigned"
This fixes a defect introduced in
25162c795 . The "uint" type has not
been explicitly defined here on mingw, causing compilation to fail.
On linux we have this in /usr/include/sys/types.h
/* Old compatibility names for C types. */
typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
So it's easy to see how such bugs can creep in.
* rust-demangle.c (struct rust_demangler): Change type of
"recursion" to unsigned.
(RUST_NO_RECURSION_LIMIT): Similarly in cast.
GDB Administrator [Mon, 19 Jul 2021 00:00:41 +0000 (00:00 +0000)]
Automatic date update in version.in
Nick Clifton [Sun, 18 Jul 2021 18:45:19 +0000 (19:45 +0100)]
Re-enable development on the 2.37 branch
Nick Clifton [Sun, 18 Jul 2021 16:46:54 +0000 (17:46 +0100)]
This is the 2.37 release
GDB Administrator [Sun, 18 Jul 2021 00:00:58 +0000 (00:00 +0000)]
Automatic date update in version.in
GDB Administrator [Sat, 17 Jul 2021 00:00:47 +0000 (00:00 +0000)]
Automatic date update in version.in
Nick Clifton [Fri, 16 Jul 2021 12:56:37 +0000 (13:56 +0100)]
Updated Swedish translation for the binutils sub-directory
GDB Administrator [Fri, 16 Jul 2021 00:00:40 +0000 (00:00 +0000)]
Automatic date update in version.in
Nick Clifton [Thu, 15 Jul 2021 15:51:56 +0000 (16:51 +0100)]
Fix a stack exhaustion problem in the Rust demangling code in the libiberty library.
PR 99935
* rust-demangle.c: Add recursion limit.
GDB Administrator [Thu, 15 Jul 2021 00:00:43 +0000 (00:00 +0000)]
Automatic date update in version.in