A patch for http://sourceware.cygnus.com/ml/binutils/2000-04/msg00373.html

Ian Lance Taylor ian@zembu.com
Mon Apr 17 09:54:00 GMT 2000


   Date: Mon, 17 Apr 2000 13:46:26 +0200
   From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

   Well, I would expect merged debug sections, close to that what happens with 
   a linker script mentioning the debug sections, eg. a single .debug_info 
   instead of .debug_info, .debug_info1, .debug_info2, etc.

That shouldn't happen unless the linker script explicitly mentions the
debug sections.  If you have .debug_info and .debug_info1 in input
files, you should have .debug_info and .debug_info1 in the output
file.

If .debug_info1 in an input file is getting stored into .debug_info in
the output file, but .debug_info is not mentioned in the linker
script, then something very odd is happening.  Are you certain that
that is what you were seeing?

Ian


More information about the Binutils mailing list