diff options
author | midipix <writeonce@midipix.org> | 2017-02-03 19:14:38 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-02-03 19:18:49 -0500 |
commit | 6d586015fb87e25a9984d86b63c72fab82b2ed27 (patch) | |
tree | c0b0fd8998f300989c78fa5d8c21582a7c22a86d /src | |
parent | 99263f7eaf3435eb542ddf5046ed2c2adc596e62 (diff) | |
download | mdso-6d586015fb87e25a9984d86b63c72fab82b2ed27.tar.bz2 mdso-6d586015fb87e25a9984d86b63c72fab82b2ed27.tar.xz |
.dsostrs section: disable string padding.
Diffstat (limited to 'src')
-rw-r--r-- | src/logic/mdso_generate_dsometa.c | 3 | ||||
-rw-r--r-- | src/logic/mdso_generate_symentry.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/logic/mdso_generate_dsometa.c b/src/logic/mdso_generate_dsometa.c index 483a05c..4dfdeac 100644 --- a/src/logic/mdso_generate_dsometa.c +++ b/src/logic/mdso_generate_dsometa.c @@ -34,8 +34,7 @@ static const char * const asm_meta_lines[] = { static const char * const asm_libname_fmt = "\n\n" - "\t.section " MDSO_STRS_SECTION ",\"r\"\n" - "\t.balign 2\n\n" + "\t.section " MDSO_STRS_SECTION ",\"r0\"\n\n" "._name:\n" "\t.ascii\t\"%s\\0\"\n\n"; diff --git a/src/logic/mdso_generate_symentry.c b/src/logic/mdso_generate_symentry.c index 31f2062..89ae17b 100644 --- a/src/logic/mdso_generate_symentry.c +++ b/src/logic/mdso_generate_symentry.c @@ -12,9 +12,8 @@ #include "mdso_errinfo_impl.h" static const char * const asm_lines[] = { - "\t.section " MDSO_STRS_SECTION ",\"r\"\n", - "\t.globl .__dsostr_%s\n", - "\t.balign 2\n\n", + "\t.section " MDSO_STRS_SECTION ",\"r0\"\n", + "\t.globl .__dsostr_%s\n\n", ".__dsostr_%s:\n", "\t.ascii\t\"%s\\0\"\n\n" "\t.section " MDSO_SYMS_SECTION ",\"r\"\n", |