In article <cadbf7ecoaqbeuqjq5hq2ubpnkp4yftfre_tmakvtrdh_0hp...@mail.gmail.com>, Masao Uebayashi <uebay...@gmail.com> wrote: >On Sat, Nov 8, 2014 at 11:53 PM, Christos Zoulas <chris...@astron.com> wrote: >> depending on ld -r to work properly > >I know none of you trust me, but you don't trust ld -r? > >It is not me but others (mainly dsl@) who repeatedly brought up >usefulness of ld -r. I didn't know how to use it, whether it can >handle ldscript. > >After one week, I can't believe life without it. > >ld -r is your friend. :)))
I am not sold :-) Why should I add more steps to linking? What does it buy me? I can understand using -r when building shared libraries, kernel modules and other things that don't need final linking, but the kernel itself eventually needs to be linked completely so why do it in steps? If nothing else, it will be at least twice as slow. christos