summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2016-10-13 10:46:14 -0700
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-19 19:41:08 +0200
commit688563159f328726f958163fcdab8088df66e977 (patch)
tree63f7770cf2b5090603d53979e694e682913f673b /libc/sysdeps/linux
parentd87cc4d9a6945daf48848022c93d0d9a0489a87e (diff)
ARC: update .note.ABI-tag for ABIv4
Cc: Anton Kolesov <akolesov@synopsys.com> Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arc/crt1.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arc/crt1.S b/libc/sysdeps/linux/arc/crt1.S
index ae863e7ac..70a06e058 100644
--- a/libc/sysdeps/linux/arc/crt1.S
+++ b/libc/sysdeps/linux/arc/crt1.S
@@ -72,5 +72,9 @@ __start:
0: .asciz "GNU" /* Vendor name */
1: .align 4
2: .long 0 /* Note data: Linux executable */
- .long 3,9,0 /* Earliest compatible kernel */
+#if (__GNUC__ > 4)
+ .long 4,8,0 /* Earliest compatible kernel for ABI v4 */
+#else
+ .long 3,9,0 /* Earliest compatible kernel for ABI v3 */
+#endif
3: .align 4 /* Pad out section */