HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a862d8c
)
DWARF linker: encode strings using the correct form
author
Andy Wingo
<wingo@pobox.com>
Sat, 28 Sep 2013 16:15:44 +0000
(18:15 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Sat, 28 Sep 2013 16:15:50 +0000
(18:15 +0200)
* module/system/vm/assembler.scm (link-debug): Encode strings using the
strp form.
module/system/vm/assembler.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/system/vm/assembler.scm
b/module/system/vm/assembler.scm
index
1b909a8
..
26dc345
100644
(file)
--- a/
module/system/vm/assembler.scm
+++ b/
module/system/vm/assembler.scm
@@
-1564,7
+1564,7
@@
it will be added to the GC roots at runtime."
(define (choose-form attr val code)
(cond
- ((string? val) 's
ec-offset
)
+ ((string? val) 's
trp
)
((exact-integer? code)
(cond
((< code 0) 'sleb128)
@@
-1597,7
+1597,7
@@
it will be added to the GC roots at runtime."
(8
(add-die-relocation! 'abs64/1 code)
(put-u64 die-port 0))))
- ('s
ec-offset
(put-u32 die-port code))))
+ ('s
trp
(put-u32 die-port code))))
(define (write-die die)
(match die