Allow more ABIs in GLIBC_DYNAMIC_LINKER
PATCH 1/1 Allow more ABIs in GLIBC_DYNAMIC_LINKER
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <[email protected]>
+
+ * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
--- gcc/ChangeLog | 4 ++++ gcc/config/arc/linux.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
gcc/ChangeLog +4 -0
@@ -1,3 +1,7 @@ +2020-03-28 Vineet Gupta <[email protected]> + + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700 + 2020-03-28 Jakub Jelinek <[email protected]> PR c/93573
gcc/config/arc/linux.h +1 -1
@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2" +#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2"#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"/* Note that the default is to link against dynamic libraries, if they are
Signature · 7 lines
2.20.1 _______________________________________________ linux-snps-arc mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Pushed.
Thank you,
Claudiu
Quoted 43 lines · Vineet Gupta via Gcc-patches
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <[email protected]>gcc/ChangeLog +2
-0+ + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700Signed-off-by Vineet Gupta <[email protected]>--- gcc/ChangeLog | 4 ++++ gcc/config/arc/linux.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)gcc/ChangeLog +4
-0@@ -1,3 +1,7 @@ +2020-03-28 Vineet Gupta <[email protected]> + + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700 + 2020-03-28 Jakub Jelinek <[email protected]> PR c/93573gcc/config/arc/linux.h +1
-2@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2" +#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2"#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"/* Note that the default is to link against dynamic libraries, if they are --
Quoted 2 lines
2.20.1
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Hi Claus,
Quoted 10 lines
-----Original Message-----
From: linux-snps-arc <[email protected]> On Behalf Of Claudiu Zissulescu Ianculescu
Sent: Tuesday, March 31, 2020 1:07 PM
To: Vineet Gupta <[email protected]>
Cc: [email protected]; [email protected]; Claudiu Zissulescu <[email protected]>
Subject: Re: [PATCH] [ARC] Allow more ABIs inGLIBC_DYNAMIC_LINKERPushed.
Is this one eligible for being back-ported to older GCCs? At least GCC 9.x would be really good.
-Alexey
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Well its a hard requirement considering glibc is still using gcc-9 !
Thx,
-Vineet
Quoted 11 lines · Alexey Brodkin
Hi Claus,
Quoted 9 lines
-----Original Message-----
From: linux-snps-arc <[email protected]> On Behalf Of Claudiu Zissulescu Ianculescu
Sent: Tuesday, March 31, 2020 1:07 PM
To: Vineet Gupta <[email protected]>
Cc: [email protected]; [email protected]; Claudiu Zissulescu <[email protected]>
Subject: Re: [PATCH] [ARC] Allow more ABIs inGLIBC_DYNAMIC_LINKER
Quoted 6 lines
Quoted 1 line
Pushed.
Is this one eligible for being back-ported to older GCCs? At least GCC 9.x would be really good.
-Alexey
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
FWIW this change needs a pairing glibc change so must NOT be included for upcoming 2020.x release which still has old version of glibc !
-Vineet
Quoted 21 lines · Vineet Gupta
Well its a hard requirement considering glibc is still using gcc-9 !
Thx,
-VineetQuoted 15 lines · Alexey Brodkin
Hi Claus,
Quoted 10 lines
-----Original Message-----
From: linux-snps-arc <[email protected]> On Behalf Of Claudiu Zissulescu Ianculescu
Sent: Tuesday, March 31, 2020 1:07 PM
To: Vineet Gupta <[email protected]>
Cc: [email protected]; [email protected]; Claudiu Zissulescu <[email protected]>
Subject: Re: [PATCH] [ARC] Allow more ABIs inGLIBC_DYNAMIC_LINKERPushed.
Is this one eligible for being back-ported to older GCCs? At least GCC 9.x would be really good.
Quoted 6 lines
Quoted 2 lines
-Alexey
_______________________________________________
linux-snps-arc mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=c14YS-cH-kdhTOW89KozFhBtBJgs1zXscZojEZQ0THs&m=xnl4FBxLN70UDZIvD2NTxyfPAenrfQsdij0DBuPImCI&s=YnG2GxYtFIbUU0FesR19TV7fz0ILe8xncKLnRiqBhOc&e=
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Hi Claudiu,
For glibc needs can this be backported to gcc-9 please !
Thx,
-Vineet
Quoted 47 lines · Claudiu Zissulescu Ianculescu
Pushed.
Thank you,
ClaudiuQuoted 40 lines · Vineet Gupta via Gcc-patches
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <[email protected]>gcc/ChangeLog +2
-0+ + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700Signed-off-by Vineet Gupta <[email protected]>--- gcc/ChangeLog | 4 ++++ gcc/config/arc/linux.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)gcc/ChangeLog +4
-0@@ -1,3 +1,7 @@ +2020-03-28 Vineet Gupta <[email protected]> + + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700 + 2020-03-28 Jakub Jelinek <[email protected]> PR c/93573gcc/config/arc/linux.h +1
-1@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2" +#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2"#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
Quoted 8 lines
Quoted 4 lines
gcc/config/arc/linux.h +0
-1/* Note that the default is to link against dynamic libraries, if they are -- 2.20.1
_______________________________________________
linux-snps-arc mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=7FgpX6o3vAhwMrMhLh-4ZJey5kjdNUwOL2CWsFwR4T8&m=MrObyH2ki95_7m_xHpnWX-k9eIMOsxMuSa48qhxYOCY&s=3ggbGwaiJuSFnFECy0ItuwBBMDAcriwCdSc3GA0UFig&e=
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
Done.
Thank you for your support,
Claudiu
Quoted 65 lines · Vineet Gupta
Hi Claudiu,
For glibc needs can this be backported to gcc-9 please !
Thx,
-VineetQuoted 55 lines · Claudiu Zissulescu Ianculescu
Pushed.
Thank you,
ClaudiuQuoted 42 lines · Vineet Gupta via Gcc-patches
Enable big-endian suffixed dynamic linker per glibc multi-abi support.
And to avoid a future churn and version pairingi hassles, also allow arc700 although glibc for ARC currently doesn't support it.
gcc/
xxxx-xx-xx Vineet Gupta <[email protected]>gcc/ChangeLog +2
-0+ + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700Signed-off-by Vineet Gupta <[email protected]>--- gcc/ChangeLog | 4 ++++ gcc/config/arc/linux.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)gcc/ChangeLog +4
-0@@ -1,3 +1,7 @@ +2020-03-28 Vineet Gupta <[email protected]> + + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700 + 2020-03-28 Jakub Jelinek <[email protected]> PR c/93573gcc/config/arc/linux.h +1
-2@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc.so.2" +#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-arc%{mbig-endian:eb}%{mcpu=arc700:700}.so.2"#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"/* Note that the default is to link against dynamic libraries, if they are -- Quoted 2 lines
2.20.1
_______________________________________________
linux-snps-arc mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.infradead.org_mailman_listinfo_linux-2Dsnps-2Darc&d=DwICAg&c=DPL6_X_6JkXFx7AXWqB0tg&r=7FgpX6o3vAhwMrMhLh-4ZJey5kjdNUwOL2CWsFwR4T8&m=MrObyH2ki95_7m_xHpnWX-k9eIMOsxMuSa48qhxYOCY&s=3ggbGwaiJuSFnFECy0ItuwBBMDAcriwCdSc3GA0UFig&e=
_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc