This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld -shared support
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
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 ?