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.richa...@uwaterloo.ca>
Szabolcs Nagy <szabolcs.n...@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.