aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-22 15:47:23 +0000
committerSam James <sam@gentoo.org>2024-11-22 15:49:50 +0000
commit461248c1433714584060fd3a41efe28088aa855b (patch)
treedd6965221bfbd2a613e323d685668cbbc18ca3a9
parentdad783716c97d8d6692f5318ff38d04bebb12d58 (diff)
downloadbinutils-461248c1433714584060fd3a41efe28088aa855b.zip
binutils-461248c1433714584060fd3a41efe28088aa855b.tar.gz
binutils-461248c1433714584060fd3a41efe28088aa855b.tar.bz2
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.
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/simple-object-coff.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 4a46160..83e9120 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 e748205..fd3c310 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. */