[binutils-gdb] libiberty: sync with gcc again

Sam James sjames@sourceware.org
Fri Nov 22 15:50:01 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=461248c1433714584060fd3a41efe28088aa855b

commit 461248c1433714584060fd3a41efe28088aa855b
Author: Sam James <sam@gentoo.org>
Date:   Fri Nov 22 15:47:23 2024 +0000

    libiberty: sync with gcc again
    
    This imports the following single commit from GCC as of r15-5586-g77f4b1097e6aec:
            961c50410926 Add LTO support
    
    That change slipped in while I was preparing the previous just-pushed sync.

Diff:
---
 libiberty/ChangeLog            | 4 ++++
 libiberty/simple-object-coff.c | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 4a461602ac0..83e9120c444 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2024-11-19  Evgeny Karpov  <evgeny.karpov@microsoft.com>
+
+	* simple-object-coff.c: Add aarch64.
+
 2024-11-16  Andrew Pinski  <quic_apinski@quicinc.com>
 
 	* testsuite/test-demangle.c (get_line): Change K&R style
diff --git a/libiberty/simple-object-coff.c b/libiberty/simple-object-coff.c
index e748205972f..fd3c310db51 100644
--- a/libiberty/simple-object-coff.c
+++ b/libiberty/simple-object-coff.c
@@ -219,7 +219,9 @@ static const struct coff_magic_struct coff_magic[] =
   /* i386.  */
   { 0x14c, 0, F_EXEC | IMAGE_FILE_SYSTEM | IMAGE_FILE_DLL },
   /* x86_64.  */
-  { 0x8664, 0, F_EXEC | IMAGE_FILE_SYSTEM | IMAGE_FILE_DLL }
+  { 0x8664, 0, F_EXEC | IMAGE_FILE_SYSTEM | IMAGE_FILE_DLL },
+  /* AArch64.  */
+  { 0xaa64, 0, F_EXEC | IMAGE_FILE_SYSTEM | IMAGE_FILE_DLL }
 };
 
 /* See if we have a COFF file.  */


More information about the Binutils-cvs mailing list