Give ELF notes 4-byte alignment.
Use .balign because what the argument means doesn't vary between
architectures.
Bug: http://b/70166421
Test: builds
Change-Id: I1d54f2f6942dd2893f3fda30bac08d07ea9cd346
diff --git a/libc/arch-arm/bionic/kuser_helper_on.S b/libc/arch-arm/bionic/kuser_helper_on.S
index 1e971a8..cff2073 100644
--- a/libc/arch-arm/bionic/kuser_helper_on.S
+++ b/libc/arch-arm/bionic/kuser_helper_on.S
@@ -25,14 +25,15 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
- .section .note.android.kuser_helper_on,"a",%note
- .align 2
- .type kuser_helper_on, %object
+
+ .section .note.android.kuser_helper_on,"a",%note
+ .balign 4
+ .type kuser_helper_on, %object
kuser_helper_on:
- .long 2f-1f /* int32_t namesz */
- .long 3f-2f /* int32_t descsz */
- .long 3 /* int32_t type */
-1: .ascii "Android\0" /* char name[] */
-2: .long 1 /* int32_t on */
+ .long 2f-1f // int32_t namesz
+ .long 3f-2f // int32_t descsz
+ .long 3 // int32_t type
+1:.ascii "Android\0" // char name[]
+2:.long 1 // int32_t on
3:
- .size kuser_helper_on, .-kuser_helper_on
+ .size kuser_helper_on, .-kuser_helper_on