aboutsummaryrefslogtreecommitdiff
path: root/libc/arch-common/bionic/crtbrand.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-common/bionic/crtbrand.S')
-rw-r--r--libc/arch-common/bionic/crtbrand.S10
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/arch-common/bionic/crtbrand.S b/libc/arch-common/bionic/crtbrand.S
index 34d648062..307ef2e34 100644
--- a/libc/arch-common/bionic/crtbrand.S
+++ b/libc/arch-common/bionic/crtbrand.S
@@ -26,13 +26,21 @@
* SUCH DAMAGE.
*/
+#if defined(__aarch64__)
+#include <private/bionic_asm_arm64.h>
+
+__bionic_asm_custom_note_gnu_section()
+#endif
+
+#include <private/bionic_asm_note.h>
+
.section .note.android.ident,"a",%note
.balign 4
.type abitag, %object
abitag:
.long 2f-1f // int32_t namesz
.long 3f-2f // int32_t descsz
- .long 1 // int32_t type
+ .long NT_TYPE_IDENT // int32_t type
#ifdef __ANDROID__
1:.ascii "Android\0" // char name[]
2:.long PLATFORM_SDK_VERSION // int32_t android_api