Skip to contentSkip to conversation

ARC: update .note.ABI-tag for ABIv4

PATCH New Vineet Gupta 2 participants 2 messages Oct 13, 2016 – Oct 22, 2016 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: update .note.ABI-tag for ABIv4

Cc Anton Kolesov <akolesov at synopsys.com>
Cc linux-snps-arc at lists.infradead.org
Signed-off-by Vineet Gupta <vgupta at synopsys.com>
---
 libc/sysdeps/linux/arc/crt1.S | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
libc/sysdeps/linux/arc/crt1.S +5 -1
index ae863e7acf5f..70a06e058d3b 100644
@@ -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 */
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARC: update .note.ABI-tag for ABIv4

Hi,

Thanks, applied and pushed,

best regards
Waldemar

Vineet Gupta wrote,

Quoted 29 lines
Cc Anton Kolesov <akolesov at synopsys.com>
Cc linux-snps-arc at lists.infradead.org
Signed-off-by Vineet Gupta <vgupta at synopsys.com>
---
 libc/sysdeps/linux/arc/crt1.S | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
libc/sysdeps/linux/arc/crt1.S +5 -1
index ae863e7acf5f..70a06e058d3b 100644
@@ -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 */
Signature · 6 lines
2.7.4

_______________________________________________
devel mailing list
devel at uclibc-ng.org
http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel