* [PATCH] ARC: update .note.ABI-tag for ABIv4
@ 2016-10-13 17:46 Vineet Gupta
2016-10-22 13:46 ` [uclibc-ng-devel] " Waldemar Brodkorb
0 siblings, 1 reply; 2+ messages in thread
From: Vineet Gupta @ 2016-10-13 17:46 UTC (permalink / raw)
To: linux-snps-arc
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(-)
diff --git a/libc/sysdeps/linux/arc/crt1.S b/libc/sysdeps/linux/arc/crt1.S
index ae863e7acf5f..70a06e058d3b 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 */
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [uclibc-ng-devel] [PATCH] ARC: update .note.ABI-tag for ABIv4
2016-10-13 17:46 [PATCH] ARC: update .note.ABI-tag for ABIv4 Vineet Gupta
@ 2016-10-22 13:46 ` Waldemar Brodkorb
0 siblings, 0 replies; 2+ messages in thread
From: Waldemar Brodkorb @ 2016-10-22 13:46 UTC (permalink / raw)
To: linux-snps-arc
Hi,
Thanks, applied and pushed,
best regards
Waldemar
Vineet Gupta wrote,
> 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(-)
>
> diff --git a/libc/sysdeps/linux/arc/crt1.S b/libc/sysdeps/linux/arc/crt1.S
> index ae863e7acf5f..70a06e058d3b 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 */
> --
> 2.7.4
>
> _______________________________________________
> devel mailing list
> devel at uclibc-ng.org
> http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-22 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 17:46 [PATCH] ARC: update .note.ABI-tag for ABIv4 Vineet Gupta
2016-10-22 13:46 ` [uclibc-ng-devel] " Waldemar Brodkorb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).