ld -shared support

William Tambe tambewilliam@gmail.com
Tue Feb 25 17:14:00 GMT 2020


On Sun, Feb 23, 2020 at 3:44 PM William Tambe <tambewilliam@gmail.com> wrote:
>
> I am now able to use ld -shared after using:
> GENERATE_SHLIB_SCRIPT=yes
>
> However when compiling a test shared library using:
> gcc -shared -o test.so test.c
> The following error occur:
> crt0.o: error adding symbols: no error

Any idea ?

>
> The linker is successfully able to open crt0.o printing the following
> when using -verbose:
> attempt to open crt0.o succeeded
>
> Any idea what might be missing ?
>
> On Sat, Feb 22, 2020 at 11:02 PM William Tambe <tambewilliam@gmail.com> wrote:
> >
> > What needs to be done to support -shared in the link-editor ?
> >
> > Is there a commit that describe how to support -shared ?



More information about the Binutils mailing list