summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/logic/mdso_generate_dsometa.c3
-rw-r--r--src/logic/mdso_generate_symentry.c5
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",