public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9261cd9
)
Correctly mangle labels used in initialisers.
author
David Given
<dg@cowlark.com>
Mon, 31 Oct 2016 22:21:33 +0000
(23:21 +0100)
committer
David Given
<dg@cowlark.com>
Mon, 31 Oct 2016 22:21:33 +0000
(23:21 +0100)
mach/proto/mcg/data.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/data.c
b/mach/proto/mcg/data.c
index
2e27e37
..
cbaa4c3
100644
(file)
--- a/
mach/proto/mcg/data.c
+++ b/
mach/proto/mcg/data.c
@@
-144,7
+144,8
@@
void data_block(const uint8_t* data, size_t size, bool is_ro)
void data_offset(const char* label, arith offset, bool is_ro)
{
emit_header(is_ro ? SECTION_ROM : SECTION_DATA);
- fprintf(outputfile, "\t.data%d %s+%lld\n", EM_pointersize, label, offset);
+ fprintf(outputfile, "\t.data%d %s+%lld\n",
+ EM_pointersize, platform_label(label), offset);
}
void data_bss(arith size, int init)