[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] mescc: Pass --64 to bloodelf for 64 bit machines
From: |
W. J. van der Laan |
Subject: |
[PATCH] mescc: Pass --64 to bloodelf for 64 bit machines |
Date: |
Fri, 23 Apr 2021 14:22:25 +0000 |
* module/mescc/mescc.scm(mescc.scm(M1->blood-elf): Pass --64 argument to
bloodelf for 64-bit machines. This makes it able to generate the correct
ELF format.
---
module/mescc/mescc.scm | 1 +
1 file changed, 1 insertion(+)
Fixes one of the problems reported in my "ELF header conflict" mail.
diff --git a/module/mescc/mescc.scm b/module/mescc/mescc.scm
index 85e618297a14b1d8edc0231ab23acfe6d1a8c206..8c2601fc3ac370faf2074972f00150921ef60b82 100644
--- a/module/mescc/mescc.scm
+++ b/module/mescc/mescc.scm
@@ -250,6 +250,7 @@
(verbose? (count-opt options 'verbose))
(blood-elf (or (getenv "BLOOD_ELF") "blood-elf"))
(command `(,blood-elf
+ ,@(if (equal? (arch-get-machine options) "64") '("--64") '())
"-f" ,(arch-find options (arch-get-m1-macros options))
,@(append-map (cut list "-f" <>) M1-files)
"-o" ,M1-blood-elf-footer)))
--
2.27.0
- [PATCH] mescc: Pass --64 to bloodelf for 64 bit machines,
W. J. van der Laan <=