diff mbox

fix linker name for uClibc

Message ID 20161028181455.GA27448@waldemar-brodkorb.de
State New
Headers show

Commit Message

Waldemar Brodkorb Oct. 28, 2016, 6:14 p.m. UTC
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



best regards
 Waldemar

Comments

Michael Eager Oct. 28, 2016, 9:30 p.m. UTC | #1
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.
Jeff Law Oct. 31, 2016, 3:04 p.m. UTC | #2
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
Michael Eager Oct. 31, 2016, 3:09 p.m. UTC | #3
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.
diff mbox

Patch

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}"