Hi! The attached patch adds support for .debug_macro section dumping in readelf -wm. See http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01949.html for gcc patch that has been checked in and for the section layout. Tested on x86_64-linux, will commit later today if there are no objections. Attached is also a dummy source code I was testing it on, plus current gcc trunk generated -g3 output (a.s.orig) and the same assembly hacked up manually to add a custom extension opcode to the define opcode table and then use it, so that the reader must know how to skip it. Jakub