This is the mail archive of the binutils@sources.redhat.com 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]

PATCH: Add "-z muldefs" (Re: question of ld)


On Tue, May 21, 2002 at 03:42:11PM +0800, Shiyi Ma wrote:
>         Thanks Lu, as your advice now I do the project with shared libraries.
> And another problem jump out.
>         I build .so file with flag "--whole-archive" which is used to include
> every object file in the archive.(I mean I build .so with .a) And then run
> ld, there are many error and warning messages showed. These messages are
> about "multiple definition".
>         I dont know how to allow multiple symbol  definitions under linux. I
> just can do it under SunOS with flag "-z muldefs". Can you show me a hand
> again.

How about this patch?


H.J.

Attachment: binutils-muldefs.patch
Description: Text document


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