fix `raco exe' for ELF starter
This commit is contained in:
parent
3941a5d04f
commit
902ea5f7a5
|
@ -189,7 +189,7 @@
|
||||||
(lambda (elf sections programs str-section strs)
|
(lambda (elf sections programs str-section strs)
|
||||||
(let ([new-sec-pos (+ (elf-sh-offset elf)
|
(let ([new-sec-pos (+ (elf-sh-offset elf)
|
||||||
(* (elf-sh-esize elf) (elf-sh-ecount elf)))]
|
(* (elf-sh-esize elf) (elf-sh-ecount elf)))]
|
||||||
[new-sec-delta (round-up (elf-sh-ecount elf) SECTION-ALIGN)]
|
[new-sec-delta (round-up (elf-sh-esize elf) SECTION-ALIGN)]
|
||||||
[new-str-pos (+ (section-offset str-section)
|
[new-str-pos (+ (section-offset str-section)
|
||||||
(section-size str-section))]
|
(section-size str-section))]
|
||||||
[new-str-delta (round-up (add1 (bytes-length section-name))
|
[new-str-delta (round-up (add1 (bytes-length section-name))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user