https://sourceware.org/bugzilla/show_bug.cgi?id=30144

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Pali Rohár from comment #3)
> > Looking into this, it is actually quite hard to predict the mangling of the 
> > entry symbol name.
> 
> Nick, cannot be 32-bit x86 PE ld easily extended in this way? When
> --entry=XYZ is specified at command line then ld first try to find symbol
> "XYZ" and if it does not exist then it tries to find symbol "_XYZ@8".
> 
> Mangling is target specific, so it should be easily predictable.

OK, that should be feasible.  At the worst it will just fail and the linker
will generate an error message along the lines of "could not find entry symbol
XYZ".

As you may have noticed however I am super swamped with other work at the
moment and I have not had the time I would like to put into binutils
development.  Is there any chance that you would care to take a stab at writing
a patch to implement this idea ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to