about summary refs log tree commit diff
path: root/elf.e
diff options
context:
space:
mode:
Diffstat (limited to 'elf.e')
-rw-r--r--elf.e8
1 files changed, 6 insertions, 2 deletions
diff --git a/elf.e b/elf.e
index 1d2d7a0..2a67c54 100644
--- a/elf.e
+++ b/elf.e
@@ -24,7 +24,11 @@
 ~   The program we're building should call this word as the first output it
 ~ generates.
 ~
-~   The only interesting thing here is the entry pointer.
+~   The most interesting thing here is the entry pointer.
+~
+~   It's also worth noticing that we set the ABI version to 3. An ABI version
+~ of 0 (for the System V ABI) would work fine too, but 3 allows FreeBSD's
+~ Linux compatibility features to kick in.
 
 : elf-file-header
   ~ : blank-line
@@ -38,7 +42,7 @@
   2 pack8                             ~ : -1 64-bit
   1 pack8                             ~ : -1 little-endian
   1 pack8                             ~ : -1 ELF header format v1
-  0 pack8                             ~ : -1 System-V ABI
+  3 pack8                             ~ : -1 Linux ABI
   0 pack64                            ~ : -8 (padding)
   ~ : blank-line