Selaa lähdekoodia

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>
Vineet Gupta 7 vuotta sitten
vanhempi
commit
688563159f
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      libc/sysdeps/linux/arc/crt1.S

+ 5 - 1
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 */