This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/13] aarch64 musl support


On Mon, Apr 27, 2015 at 03:33:05PM +0100, Szabolcs Nagy wrote:
> 
> On 21/04/15 15:16, pinskia@gmail.com wrote:
> > 
> > I don't think you need to check if defaulting to little or big-endian here
> > are the specs always have one or the other passing through. 
> > 
> > Also if musl does not support ilp32, you might want to error out. Or even
> > define the dynamic linker name even before support goes into musl. 
> > 
> 
> Patch v2.
> 
> (now _ilp32 abi variant is included too)
> 
> gcc/Changelog:
> 
> 2015-04-27  Gregor Richards  <gregor.richards@uwaterloo.ca>
> 	    Szabolcs Nagy  <szabolcs.nagy@arm.com>
> 
> 	* config/aarch64/aarch64-linux.h (MUSL_DYNAMIC_LINKER): Define.

OK, I've committed this on your behalf as revision 223766.

Thanks,
James


> diff --git a/gcc/config/aarch64/aarch64-linux.h b/gcc/config/aarch64/aarch64-linux.h
> index 9abb252..2d647c3 100644
> --- a/gcc/config/aarch64/aarch64-linux.h
> +++ b/gcc/config/aarch64/aarch64-linux.h
> @@ -23,6 +23,9 @@
>  
>  #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
>  
> +#undef MUSL_DYNAMIC_LINKER
> +#define MUSL_DYNAMIC_LINKER "/lib/ld-musl-aarch64%{mbig-endian:_be}%{mabi=ilp32:_ilp32}.so.1"
> +
>  #undef  ASAN_CC1_SPEC
>  #define ASAN_CC1_SPEC "%{%:sanitize(address):-funwind-tables}"
>  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]