This is the mail archive of the binutils@sourceware.org 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]

Re: nm test.o: (g++, cmath, exp, expf)


Hi Reza,

When using g++, the cmath
exp(float)
exp(double)

functions are supposed to resolve differently(based on the parameter type.)  But
nm test.o
always keeps showing only one function: exp.  How can I see that the
functions are really different?

Please can you provide a full test case that demonstrates this problem ? (ie small source file, command line(s) used to build it and run nm + details of the architecure where you are running the test and the version of g++ and the binutils that you are using).

This may be a name mangling bug. Or it might be a misunderstanding about type promotions. Or it could be something else entirely...

Cheers
  Nick



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