This is the mail archive of the
mailing list for the binutils project.
Re: nm test.o: (g++, cmath, exp, expf)
- From: nick clifton <nickc at redhat dot com>
- To: Reza Roboubi <rezarob at gmail dot com>, binutils at sourceware dot org
- Date: Fri, 27 Sep 2013 09:22:35 +0100
- Subject: Re: nm test.o: (g++, cmath, exp, expf)
- Authentication-results: sourceware.org; auth=none
- References: <CAA51LV5hS8UJdpC4L0hFbEufhDOn9ejEGw2FgTTXu-VCEDiXHA at mail dot gmail dot com>
When using g++, the cmath
functions are supposed to resolve differently(based on the parameter type.) But
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...