aix: Switch AIX configurtion to DWARF2 debugging
This patch is in preparation for removing stabs debugging support from GCC. The rs6000 configuration files remain somewhat intertwined with the stabs debugging support, but the configuration no longer generates stabs debugging information. This patch means that earlier releases (Technology Levels) of AIX 7.1 and 7.2, prior to DWARF support and fixes, cannot build GCC or support GCC. gcc/ChangeLog: * config/rs6000/aix71.h (PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG. * config/rs6000/aix72.h (PREFERRED_DEBUGGING_TYPE): Same.
This commit is contained in:
parent
0745b6fa66
commit
6a2f49c699
|
@ -272,9 +272,9 @@ extern long long int atoll(const char *);
|
||||||
|
|
||||||
#define TARGET_AIX_VERSION 71
|
#define TARGET_AIX_VERSION 71
|
||||||
|
|
||||||
/* AIX 7.1 supports DWARF3 debugging, but XCOFF remains the default. */
|
/* AIX 7.1 supports DWARF3+ debugging. */
|
||||||
#define DWARF2_DEBUGGING_INFO 1
|
#define DWARF2_DEBUGGING_INFO 1
|
||||||
#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
|
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
|
||||||
#define DEBUG_INFO_SECTION "0x10000"
|
#define DEBUG_INFO_SECTION "0x10000"
|
||||||
#define DEBUG_LINE_SECTION "0x20000"
|
#define DEBUG_LINE_SECTION "0x20000"
|
||||||
#define DEBUG_PUBNAMES_SECTION "0x30000"
|
#define DEBUG_PUBNAMES_SECTION "0x30000"
|
||||||
|
|
|
@ -273,9 +273,9 @@ extern long long int atoll(const char *);
|
||||||
|
|
||||||
#define TARGET_AIX_VERSION 72
|
#define TARGET_AIX_VERSION 72
|
||||||
|
|
||||||
/* AIX 7.2 supports DWARF3 debugging, but XCOFF remains the default. */
|
/* AIX 7.2 supports DWARF3+ debugging. */
|
||||||
#define DWARF2_DEBUGGING_INFO 1
|
#define DWARF2_DEBUGGING_INFO 1
|
||||||
#define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
|
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
|
||||||
#define DEBUG_INFO_SECTION "0x10000"
|
#define DEBUG_INFO_SECTION "0x10000"
|
||||||
#define DEBUG_LINE_SECTION "0x20000"
|
#define DEBUG_LINE_SECTION "0x20000"
|
||||||
#define DEBUG_PUBNAMES_SECTION "0x30000"
|
#define DEBUG_PUBNAMES_SECTION "0x30000"
|
||||||
|
|
Loading…
Reference in New Issue