[PATCH] Temporarily revert Steven's PCH changes for 4.8 (PR pch/54117)
Tue Feb 19 18:34:00 GMT 2013
On Tue, Feb 19, 2013 at 11:11 AM, Joel Brobecker <email@example.com> wrote:
> I haven't looked at this part in details, but our recollection is that
> it's a matter of configuring GCC with --with-gnu-as and --with-gnu-ld,
> together with a small patch to make DWARF the default. AFAIK, the rest
> should be working as expected.
A start is the patch that I sent you or Tristan a long time ago, but
simply enabling DWARF is not enough because XCOFF only supports some
of the sections and uses slightly different pseudo-ops.
* AIX 7.1 supports DWARF3 debugging, but XCOFF remains the default. */
#define DWARF2_DEBUGGING_INFO 1
#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
#define DEBUG_INFO_SECTION "\t.dwsect 0x10000,Ldebug_info..0"
#define DEBUG_ABBREV_SECTION "\t.dwsect 0x60000,Ldebug_abbrev..0"
#define DEBUG_ARANGES_SECTION "\t.dwsect 0x50000"
#define DEBUG_LINE_SECTION "\t.dwsect 0x20000,Ldebug_line..0"
#define DEBUG_PUBNAMES_SECTION "\t.dwsect 0x30000"
#define DEBUG_PUBTYPES_SECTION "\t.dwsect 0x40000"
#define DEBUG_STR_SECTION "\t.dwsect 0x70000"
#define DEBUG_RANGES_SECTION "\t.dwsect 0x80000,Ldebug_ranges..0"
More information about the Gcc-patches