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: [patches] Re: RISC-V glibc port, v5


On Thu, 25 Jan 2018, Palmer Dabbelt wrote:

> On Thu, 25 Jan 2018 09:58:15 PST (-0800), joseph@codesourcery.com wrote:
> > On Wed, 24 Jan 2018, Palmer Dabbelt wrote:
> > 
> > > I believe we've taken into account all the feedback, and are now below 20
> > > test
> > 
> > Still missing an ldd_rewrite_script setting as mentioned as needed for
> > multi-ABI support in
> > <https://sourceware.org/ml/libc-alpha/2018-01/msg00008.html> and
> > <https://sourceware.org/ml/libc-alpha/2018-01/msg00521.html>.
> 
> Sorry about that, it must have slipped through the cracks.  I think this
> should do it
> 
>    $ cat sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed
>    s_^\(RTLDLIST=\)\(.*lib/\)\(ld-linux\)-\(riscv64\)-\(lp64\)\(d*\)\(\.so\.[0-9.]*\)_\1"\2\3-\4-\5\7
> \2\3-\4-\5d\7"_
> 
> with the idea being that I want to produce 
>    RTLDLIST="/lib/ld-linux-riscv64-lp64.so.1 /lib/ld-linux-riscv64-lp64d.so.1"
> 
> from any RTLDLIST that we input.  It's written such that we can easily extend
> this to support rv32 later, but doesn't do so now.

Yes, that looks right.  (The reason for \(.*lib/\) handling being that if 
configured with a non-/usr --prefix, the generated RTLDLIST should also 
reflect that configured prefix.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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