From 6d586015fb87e25a9984d86b63c72fab82b2ed27 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 3 Feb 2017 19:14:38 -0500 Subject: .dsostrs section: disable string padding. --- src/logic/mdso_generate_dsometa.c | 3 +-- src/logic/mdso_generate_symentry.c | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/logic') 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", -- cgit v1.2.3