about summary refs log tree commit diff
path: root/elf.e
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-21 00:13:02 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-21 00:13:02 -0700
commitae9316beda1cb3805e5048ba654b4590f50931f7 (patch)
tree8d9b64a980eeecf4b54890dcec20e849b9107992 /elf.e
parentafb038cbe86adfc5c5fe67d3265d73b5ac3172d4 (diff)
print comments in the hex dump at the offsets labels point to
Force-Push: yes
Change-Id: I1a0ea06380095da3e7702cab278c08bd21b292ca
Diffstat (limited to 'elf.e')
-rw-r--r--elf.e3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf.e b/elf.e
index 5f0cfc4..1d2d7a0 100644
--- a/elf.e
+++ b/elf.e
@@ -68,6 +68,7 @@
   ~ to use the label system to keep track of its size. The only place this is
   ~ actually referenced is right here in the header.
   current-offset 4 roll - L!' elf-header-size
+  L' elf-header-size set-label-non-offset
   ~ : deindent
   ;
 
@@ -124,6 +125,7 @@
   ~   As with the file header, we use the label system to keep track of the
   ~ program header's size.
   current-offset 4 roll - L!' elf-program-header-size
+  L' elf-program-header-size set-label-non-offset
   ~ : deindent
   ;
 
@@ -157,6 +159,7 @@
   ~   As with the file header, we use the label system to keep track of the
   ~ program header's size.
   current-offset 4 roll - L!' elf-program-header-size
+  L' elf-program-header-size set-label-non-offset
   ~ : deindent
   ;