hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 26aa8c9062e2658a7e628418168c31345f4da383
parent f408b7a2be6ae7bface1afd4113750d06d14a605
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  6 Apr 2021 08:50:28 -0400

format::elf: s/HOST_*/TARGET_*/

We may want to do this elsewhere, such as endian::

Diffstat:
Mformat/elf/+linux.ha | 3++-
Mformat/elf/+x86_64.ha | 3++-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/format/elf/+linux.ha b/format/elf/+linux.ha @@ -1 +1,2 @@ -export def HOST_ABI: ident_abi = ident_abi::SYSV; +// The ABI of the target. +export def TARGET_ABI: ident_abi = ident_abi::SYSV; diff --git a/format/elf/+x86_64.ha b/format/elf/+x86_64.ha @@ -1 +1,2 @@ -export def HOST_MACHINE: elf_machine = elf_machine::X86_64; +// The machine (architecture) of the target. +export def TARGET_MACHINE: elf_machine = elf_machine::X86_64;