public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] fix linker name for uClibc
@ 2016-10-28 18:16 Waldemar Brodkorb
  2016-10-28 21:31 ` Michael Eager
  0 siblings, 1 reply; 4+ messages in thread
From: Waldemar Brodkorb @ 2016-10-28 18:16 UTC (permalink / raw)
  To: gcc-patches

Hi,

uClibc-ng can be used for Microblaze architecture.
It is regulary tested with qemu-system-microblaze in little and
big endian mode.

2016-10-28  Waldemar Brodkorb  <wbx@uclibc-ng.org>

        gcc/
        * config/microblaze/linux.h: add UCLIBC_DYNAMIC_LINKER

diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
index ae8523c..b3bf43a 100644
--- a/gcc/config/microblaze/linux.h
+++ b/gcc/config/microblaze/linux.h
@@ -29,6 +29,7 @@
 #define TLS_NEEDS_GOT 1
 
 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
+#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
 
 #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
 #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:;:el}"


best regards
 Waldemar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix linker name for uClibc
  2016-10-28 18:16 [PATCH] fix linker name for uClibc Waldemar Brodkorb
@ 2016-10-28 21:31 ` Michael Eager
  2016-10-31 15:05   ` Jeff Law
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eager @ 2016-10-28 21:31 UTC (permalink / raw)
  To: Waldemar Brodkorb, gcc-patches

On 10/28/2016 11:14 AM, Waldemar Brodkorb wrote:
> Hi,
>
> uClibc-ng can be used for Microblaze architecture.
> It is regulary tested with qemu-system-microblaze in little and
> big endian mode.
>
> 2016-10-28  Waldemar Brodkorb  <wbx@uclibc-ng.org>
>
>          gcc/
>          * config/microblaze/linux.h: add UCLIBC_DYNAMIC_LINKER
>
> diff --git a/gcc/config/microblaze/linux.h b/gcc/config/microblaze/linux.h
> index ae8523c..b3bf43a 100644
> --- a/gcc/config/microblaze/linux.h
> +++ b/gcc/config/microblaze/linux.h
> @@ -29,6 +29,7 @@
>   #define TLS_NEEDS_GOT 1
>
>   #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
> +#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
>
>   #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
>   #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:;:el}"
>
>
> best regards
>   Waldemar

OK to apply.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix linker name for uClibc
  2016-10-28 21:31 ` Michael Eager
@ 2016-10-31 15:05   ` Jeff Law
  2016-10-31 15:09     ` Michael Eager
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Law @ 2016-10-31 15:05 UTC (permalink / raw)
  To: Michael Eager, Waldemar Brodkorb, gcc-patches

On 10/28/2016 03:30 PM, Michael Eager wrote:
> On 10/28/2016 11:14 AM, Waldemar Brodkorb wrote:
>> Hi,
>>
>> uClibc-ng can be used for Microblaze architecture.
>> It is regulary tested with qemu-system-microblaze in little and
>> big endian mode.
>>
>> 2016-10-28  Waldemar Brodkorb  <wbx@uclibc-ng.org>
>>
>>          gcc/
>>          * config/microblaze/linux.h: add UCLIBC_DYNAMIC_LINKER
>>
>> diff --git a/gcc/config/microblaze/linux.h
>> b/gcc/config/microblaze/linux.h
>> index ae8523c..b3bf43a 100644
>> --- a/gcc/config/microblaze/linux.h
>> +++ b/gcc/config/microblaze/linux.h
>> @@ -29,6 +29,7 @@
>>   #define TLS_NEEDS_GOT 1
>>
>>   #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
>> +#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
>>
>>   #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
>>   #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:;:el}"
>>
>>
>> best regards
>>   Waldemar
>
> OK to apply.
Thanks.  I don't believe Waldemar has write access, so I committed the 
patch for him.

jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] fix linker name for uClibc
  2016-10-31 15:05   ` Jeff Law
@ 2016-10-31 15:09     ` Michael Eager
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Eager @ 2016-10-31 15:09 UTC (permalink / raw)
  To: Jeff Law, Waldemar Brodkorb, gcc-patches

On 10/31/2016 08:04 AM, Jeff Law wrote:
> On 10/28/2016 03:30 PM, Michael Eager wrote:
>> On 10/28/2016 11:14 AM, Waldemar Brodkorb wrote:
>>> Hi,
>>>
>>> uClibc-ng can be used for Microblaze architecture.
>>> It is regulary tested with qemu-system-microblaze in little and
>>> big endian mode.
>>>
>>> 2016-10-28  Waldemar Brodkorb  <wbx@uclibc-ng.org>
>>>
>>>          gcc/
>>>          * config/microblaze/linux.h: add UCLIBC_DYNAMIC_LINKER
>>>
>>> diff --git a/gcc/config/microblaze/linux.h
>>> b/gcc/config/microblaze/linux.h
>>> index ae8523c..b3bf43a 100644
>>> --- a/gcc/config/microblaze/linux.h
>>> +++ b/gcc/config/microblaze/linux.h
>>> @@ -29,6 +29,7 @@
>>>   #define TLS_NEEDS_GOT 1
>>>
>>>   #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
>>> +#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
>>>
>>>   #if TARGET_BIG_ENDIAN_DEFAULT == 0 /* LE */
>>>   #define MUSL_DYNAMIC_LINKER_E "%{mbig-endian:;:el}"
>>>
>>>
>>> best regards
>>>   Waldemar
>>
>> OK to apply.
> Thanks.  I don't believe Waldemar has write access, so I committed the patch for him.

Thanks.


-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-31 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 18:16 [PATCH] fix linker name for uClibc Waldemar Brodkorb
2016-10-28 21:31 ` Michael Eager
2016-10-31 15:05   ` Jeff Law
2016-10-31 15:09     ` Michael Eager

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 read-only IMAP folder(s) and NNTP newsgroup(s).