This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 v4 00/13] port C-SKY to glibc


On Tue, Sep 18, 2018 at 02:22:11PM +0800, Mao Han wrote:
> > It's not required, but it's a good idea to make binutils check for ABI 
> > incompatibilities at static link time, using GNU object attributes, which 
> > GCC should generate based on the ABI selected when compiling.  See how 
> > powerpc and mips handle this, for example.  That helps protect against 
> > user mistakes (linking .o files for different ABIs together) by making the 
> > linker complain about such mixing.
> 
> OK. I'll try to add some check here.
>

Seems I just missunderstand to add some check in glibc configure.
We have ABI check using eflag in elf header, which can recognize different
ISA but not float ABI.
We may support ABI check using GNU object attributes in the later version.

Thanks,
Han Mao


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