This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021


It might be considered a backend issue, but in general it
is a binutils (so OP is in the wrong list!).

I beg to disagree with the "in general it is a binutils issue" part. One of the posters explained why the information needed for name decoration can't be determined at link-time (nor at assembly-time, from what I understood). I think it's completely a compiler issue: if there's a switch (-mrtd) to change the calling convention of the generated code, there should probably be another one to also change the naming convention accordingly.

On a related note, I found in gcc/config/i386/i386.c the following
comment: "The attribute stdcall is equivalent to RTD on a per module
basis." I think it's not true wrt to naming convention.

I otherwise perfectly agree with you about not adding yet another
extension to the Fortran front-end.

FX


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