Hello

I am from a project primarily aimed for x86.
We strive to have our codebase compilable with more than one compiler/linker,
but unfortunately there is a problem.

LD requires exported functions in .def to be decorated, like:
[EMAIL PROTECTED]
@[EMAIL PROTECTED]

instead of simply

Foobar
Fastcallfoo


The symbol decoration is not compatible with, for example, MSVC's linker,
requiring us to maintain .def files with and without symbol decoration for each
library (and we have quite a bit of them).

I do not know much about the internal workings of compilers and linkers, and
have been unable to find out why this issue exists.

Why does LD require this .def symbol decoration, and could it perhaps be
possible to fix?

-- 
           Summary: LD Symbol Export issues for x86
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Stefan__100__ at hotmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=6734

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to