[PING][PATCH 5/13] microblaze musl support

Michael Eager eager@eagerm.com
Thu Oct 15 19:04:00 GMT 2015


On 10/15/2015 12:00 PM, Szabolcs Nagy wrote:
> On 06/05/15 12:25, Szabolcs Nagy wrote:
>> On 29/04/15 14:51, Szabolcs Nagy wrote:
>>> On 29/04/15 14:17, Michael Eager wrote:
>>>> On 04/27/2015 07:35 AM, Szabolcs Nagy wrote:
>>>>> On 20/04/15 19:54, Szabolcs Nagy wrote:
>>>>>> Set up dynamic linker name for microblaze.
>>>>>>
>>>>>
>>>>> Patch v2.
>>>>> (undef MUSL_DYNAMIC_LINKER that comes from config/linux.h)
>>>>>
>>>>
>>>> Are you building with both glibc and musl to verify these patches?
>>>>
>> ...
>>>
>>> note that microblaze does not use the GNU_USER_DYNAMIC_LINKER
>>> macro so the -mglibc etc options don't work.
>>> (that should be changed probably, assuming -muclibc and -mbionic
>>> have no side effects when they are not supported)
>>>
>>
>> Patch v3.
>>
>> I changed the patch to use GNU_USER_DYNAMIC_LINKER like
>> other platforms do.
>>
>> I built gcc with musl and glibc default libc as well and verified
>> that -mmusl and -mglibc sets the dynamic linker as expected.
>>
>
> Ping,
> patch still works.
> https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00437.html
>
>> gcc/Changelog:
>>
>> 2015-05-06  Gregor Richards  <gregor.richards@uwaterloo.ca>
>>         Szabolcs Nagy  <szabolcs.nagy@arm.com>
>>
>>     * config/microblaze/linux.h (MUSL_DYNAMIC_LINKER): Define.
>>     (DYNAMIC_LINKER): Renamed to ...
>>     (GLIBC_DYNAMIC_LINKER): This.
>>     (SUBTARGET_EXTRA_SPECS): Use GNU_USER_DYNAMIC_LINKER.


OK.  Do you have commit privileges?


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



More information about the Gcc-patches mailing list