[PATCH] ARC: update .note.ABI-tag for ABIv4

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] ARC: update .note.ABI-tag for ABIv4

Vineet Gupta-5
Cc: Anton Kolesov <[hidden email]>
Cc: [hidden email]
Signed-off-by: Vineet Gupta <[hidden email]>
---
 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

_______________________________________________
uClibc mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/uclibc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [uclibc-ng-devel] [PATCH] ARC: update .note.ABI-tag for ABIv4

Waldemar Brodkorb
Hi,

Thanks, applied and pushed,

best regards
 Waldemar

Vineet Gupta wrote,

> Cc: Anton Kolesov <[hidden email]>
> Cc: [hidden email]
> Signed-off-by: Vineet Gupta <[hidden email]>
> ---
>  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
> [hidden email]
> http://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
uClibc mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/uclibc
Loading...