This is the mail archive of the mailing list for the binutils 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: Binutils/gas/ld port for RISC-V [PATCH v2]

On Sat, 22 Oct 2016, Palmer Dabbelt wrote:

> Additionally, there are a few issues on our github that are relevant, but I'm
> not sure if they block upstreaming:
>  * : "sizeof(long
>    double)" is 64-bit on RISC-V, which precludes the use of the Q extension for
>    128-bit floating point.  This may cause an ABI-breakage.
>  * : The path for
>    might change.  This would definately be an ABI change.

Those should only be relevant to the GCC / glibc ports, not to binutils.  
(Except as regards the ELF64_DYNAMIC_INTERPRETER / 
ELF32_DYNAMIC_INTERPRETER settings in BFD, but those are just a default if 
no -dynamic-linker option was passed to ld, many architectures don't 
bother trying to make those ld defaults sensible, and they can't possibly 
handle more complicated dynamic linker name variation depending on other 
compiler ABI options - for that you just need to set up the compiler specs 
to pass the right -dynamic-linker option to ld.)

In any case, when a glibc port is submitted it needs to set the minimum 
symbol version to be that of the first glibc release containing the port, 
so you'll have an ABI break at that point unless you correctly predicted 
in advance what glibc version would get the port upstream and review 
didn't involve any ABI changes.

Joseph S. Myers

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