NOLOAD section attribute results in incorrect debug information

H.J. Lu hjl@lucon.org
Wed Nov 7 14:41:00 GMT 2007


On Wed, Nov 07, 2007 at 02:52:09PM +0530, Ina Pandit wrote:
> Hi,
> 
> We have built toolchains for H8/SH targets using 
> binutils-2.17.90 (20070806), gcc-4.2.1 and newlib-1.15.0 sources.
> 
> During our internal testing we found a problem in the GNU Linker.
> When a user defined section with NOLOAD attribute is used in the 
> application, the debugging information generated is not correct. 
> The ".debug_info" section is incomplete and incorrect. 
> Hence it is not possible to debug the application properly.
> 

Please open a bug report at

http://www.sourceware.org/bugzilla/

with your testcase.

Thanks.

H.J.



More information about the Binutils mailing list