* [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
@ 2020-03-29 0:05 Vineet Gupta
2020-03-31 10:06 ` Claudiu Zissulescu Ianculescu
0 siblings, 1 reply; 7+ messages in thread
From: Vineet Gupta @ 2020-03-29 0:05 UTC (permalink / raw)
To: gcc-patches
Cc: Vineet Gupta, linux-snps-arc, andrew.burgess, Claudiu Zissulescu
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 <vgupta@synopsys.com>
+
+ * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
gcc/ChangeLog | 4 ++++
gcc/config/arc/linux.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 86ad683a6cb0..c26a748fd51b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-28 Vineet Gupta <vgupta@synopsys.com>
+
+ * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
+
2020-03-28 Jakub Jelinek <jakub@redhat.com>
PR c/93573
diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h
index 0b99da3fcdaf..1bbeccee7115 100644
--- a/gcc/config/arc/linux.h
+++ b/gcc/config/arc/linux.h
@@ -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
--
2.20.1
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-03-29 0:05 [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER Vineet Gupta
@ 2020-03-31 10:06 ` Claudiu Zissulescu Ianculescu
2020-03-31 16:26 ` Alexey Brodkin
2020-04-08 23:37 ` Vineet Gupta
0 siblings, 2 replies; 7+ messages in thread
From: Claudiu Zissulescu Ianculescu @ 2020-03-31 10:06 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-snps-arc, gcc-patches, Claudiu Zissulescu
Pushed.
Thank you,
Claudiu
On Sun, Mar 29, 2020 at 2:05 AM Vineet Gupta via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> 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 <vgupta@synopsys.com>
> +
> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
> gcc/ChangeLog | 4 ++++
> gcc/config/arc/linux.h | 2 +-
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> index 86ad683a6cb0..c26a748fd51b 100644
> --- a/gcc/ChangeLog
> +++ b/gcc/ChangeLog
> @@ -1,3 +1,7 @@
> +2020-03-28 Vineet Gupta <vgupta@synopsys.com>
> +
> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
> +
> 2020-03-28 Jakub Jelinek <jakub@redhat.com>
>
> PR c/93573
> diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h
> index 0b99da3fcdaf..1bbeccee7115 100644
> --- a/gcc/config/arc/linux.h
> +++ b/gcc/config/arc/linux.h
> @@ -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
> --
> 2.20.1
>
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-03-31 10:06 ` Claudiu Zissulescu Ianculescu
@ 2020-03-31 16:26 ` Alexey Brodkin
2020-03-31 17:57 ` Vineet Gupta
2020-04-08 23:37 ` Vineet Gupta
1 sibling, 1 reply; 7+ messages in thread
From: Alexey Brodkin @ 2020-03-31 16:26 UTC (permalink / raw)
To: Claudiu Zissulescu Ianculescu
Cc: Vineet Gupta, linux-snps-arc, gcc-patches, Claudiu Zissulescu
Hi Claus,
> -----Original Message-----
> From: linux-snps-arc <linux-snps-arc-bounces@lists.infradead.org> On Behalf Of Claudiu Zissulescu
> Ianculescu
> Sent: Tuesday, March 31, 2020 1:07 PM
> To: Vineet Gupta <vgupta@synopsys.com>
> Cc: linux-snps-arc@lists.infradead.org; gcc-patches@gcc.gnu.org; Claudiu Zissulescu
> <claziss@synopsys.com>
> Subject: Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
>
> 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
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-03-31 16:26 ` Alexey Brodkin
@ 2020-03-31 17:57 ` Vineet Gupta
2020-04-01 0:52 ` Vineet Gupta
0 siblings, 1 reply; 7+ messages in thread
From: Vineet Gupta @ 2020-03-31 17:57 UTC (permalink / raw)
To: Alexey Brodkin, Claudiu Zissulescu Ianculescu
Cc: linux-snps-arc, gcc-patches, Claudiu Zissulescu
Well its a hard requirement considering glibc is still using gcc-9 !
Thx,
-Vineet
On 3/31/20 9:26 AM, Alexey Brodkin wrote:
> Hi Claus,
>
>> -----Original Message-----
>> From: linux-snps-arc <linux-snps-arc-bounces@lists.infradead.org> On Behalf Of Claudiu Zissulescu
>> Ianculescu
>> Sent: Tuesday, March 31, 2020 1:07 PM
>> To: Vineet Gupta <vgupta@synopsys.com>
>> Cc: linux-snps-arc@lists.infradead.org; gcc-patches@gcc.gnu.org; Claudiu Zissulescu
>> <claziss@synopsys.com>
>> Subject: Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
>>
>> 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
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-03-31 17:57 ` Vineet Gupta
@ 2020-04-01 0:52 ` Vineet Gupta
0 siblings, 0 replies; 7+ messages in thread
From: Vineet Gupta @ 2020-04-01 0:52 UTC (permalink / raw)
To: Alexey Brodkin, Claudiu Zissulescu Ianculescu
Cc: linux-snps-arc, gcc-patches, Claudiu Zissulescu
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
On 3/31/20 10:57 AM, Vineet Gupta wrote:
> Well its a hard requirement considering glibc is still using gcc-9 !
>
> Thx,
> -Vineet
>
> On 3/31/20 9:26 AM, Alexey Brodkin wrote:
>> Hi Claus,
>>
>>> -----Original Message-----
>>> From: linux-snps-arc <linux-snps-arc-bounces@lists.infradead.org> On Behalf Of Claudiu Zissulescu
>>> Ianculescu
>>> Sent: Tuesday, March 31, 2020 1:07 PM
>>> To: Vineet Gupta <vgupta@synopsys.com>
>>> Cc: linux-snps-arc@lists.infradead.org; gcc-patches@gcc.gnu.org; Claudiu Zissulescu
>>> <claziss@synopsys.com>
>>> Subject: Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
>>>
>>> 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
> linux-snps-arc@lists.infradead.org
> 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
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-03-31 10:06 ` Claudiu Zissulescu Ianculescu
2020-03-31 16:26 ` Alexey Brodkin
@ 2020-04-08 23:37 ` Vineet Gupta
2020-04-10 12:25 ` Claudiu Zissulescu Ianculescu
1 sibling, 1 reply; 7+ messages in thread
From: Vineet Gupta @ 2020-04-08 23:37 UTC (permalink / raw)
To: Claudiu Zissulescu Ianculescu
Cc: linux-snps-arc, gcc-patches, Claudiu Zissulescu
Hi Claudiu,
For glibc needs can this be backported to gcc-9 please !
Thx,
-Vineet
On 3/31/20 3:06 AM, Claudiu Zissulescu Ianculescu wrote:
> Pushed.
>
> Thank you,
> Claudiu
>
> On Sun, Mar 29, 2020 at 2:05 AM Vineet Gupta via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
>> 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 <vgupta@synopsys.com>
>> +
>> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
>>
>> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
>> ---
>> gcc/ChangeLog | 4 ++++
>> gcc/config/arc/linux.h | 2 +-
>> 2 files changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
>> index 86ad683a6cb0..c26a748fd51b 100644
>> --- a/gcc/ChangeLog
>> +++ b/gcc/ChangeLog
>> @@ -1,3 +1,7 @@
>> +2020-03-28 Vineet Gupta <vgupta@synopsys.com>
>> +
>> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
>> +
>> 2020-03-28 Jakub Jelinek <jakub@redhat.com>
>>
>> PR c/93573
>> diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h
>> index 0b99da3fcdaf..1bbeccee7115 100644
>> --- a/gcc/config/arc/linux.h
>> +++ b/gcc/config/arc/linux.h
>> @@ -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
>> --
>> 2.20.1
>>
> _______________________________________________
> linux-snps-arc mailing list
> linux-snps-arc@lists.infradead.org
> 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
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER
2020-04-08 23:37 ` Vineet Gupta
@ 2020-04-10 12:25 ` Claudiu Zissulescu Ianculescu
0 siblings, 0 replies; 7+ messages in thread
From: Claudiu Zissulescu Ianculescu @ 2020-04-10 12:25 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-snps-arc, gcc-patches, Claudiu Zissulescu
Done.
Thank you for your support,
Claudiu
On Thu, Apr 9, 2020 at 2:38 AM Vineet Gupta <Vineet.Gupta1@synopsys.com> wrote:
>
> Hi Claudiu,
>
> For glibc needs can this be backported to gcc-9 please !
>
> Thx,
> -Vineet
>
> On 3/31/20 3:06 AM, Claudiu Zissulescu Ianculescu wrote:
> > Pushed.
> >
> > Thank you,
> > Claudiu
> >
> > On Sun, Mar 29, 2020 at 2:05 AM Vineet Gupta via Gcc-patches
> > <gcc-patches@gcc.gnu.org> wrote:
> >> 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 <vgupta@synopsys.com>
> >> +
> >> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
> >>
> >> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> >> ---
> >> gcc/ChangeLog | 4 ++++
> >> gcc/config/arc/linux.h | 2 +-
> >> 2 files changed, 5 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/gcc/ChangeLog b/gcc/ChangeLog
> >> index 86ad683a6cb0..c26a748fd51b 100644
> >> --- a/gcc/ChangeLog
> >> +++ b/gcc/ChangeLog
> >> @@ -1,3 +1,7 @@
> >> +2020-03-28 Vineet Gupta <vgupta@synopsys.com>
> >> +
> >> + * config/arc/linux.h: GLIBC_DYNAMIC_LINKER support BE/arc700
> >> +
> >> 2020-03-28 Jakub Jelinek <jakub@redhat.com>
> >>
> >> PR c/93573
> >> diff --git a/gcc/config/arc/linux.h b/gcc/config/arc/linux.h
> >> index 0b99da3fcdaf..1bbeccee7115 100644
> >> --- a/gcc/config/arc/linux.h
> >> +++ b/gcc/config/arc/linux.h
> >> @@ -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
> >> --
> >> 2.20.1
> >>
> > _______________________________________________
> > linux-snps-arc mailing list
> > linux-snps-arc@lists.infradead.org
> > 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
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-04-10 12:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-29 0:05 [PATCH] [ARC] Allow more ABIs in GLIBC_DYNAMIC_LINKER Vineet Gupta
2020-03-31 10:06 ` Claudiu Zissulescu Ianculescu
2020-03-31 16:26 ` Alexey Brodkin
2020-03-31 17:57 ` Vineet Gupta
2020-04-01 0:52 ` Vineet Gupta
2020-04-08 23:37 ` Vineet Gupta
2020-04-10 12:25 ` Claudiu Zissulescu Ianculescu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.