diff options
author | Richard Biener <rguenther@suse.de> | 2021-09-10 08:59:18 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-09-13 11:17:34 +0200 |
commit | d399e43a91e7e35e169cdbcabb7a792b9671ccc1 (patch) | |
tree | d7bb218b221087362f90cab1c92764b807fc1d6b /gcc/config/rx | |
parent | 113ff252170bd4eb096d0b30b9e9add0922d8be5 (diff) | |
download | gcc-d399e43a91e7e35e169cdbcabb7a792b9671ccc1.zip gcc-d399e43a91e7e35e169cdbcabb7a792b9671ccc1.tar.gz gcc-d399e43a91e7e35e169cdbcabb7a792b9671ccc1.tar.bz2 |
Always default to DWARF2 debugging for RX, even with -mas100-syntax
The RX port defaults to STABS when -mas100-syntax is used because
the AS100 assembler does not support some of the pseudo-ops used
by DWARF2 debug emission. Since STABS is going to be deprecated
that has to change. The following simply always uses DWARF2,
likely leaving -mas100-syntax broken when debug info is generated.
Can the RX port maintainer please sort out the situation?
2021-09-10 Richard Biener <rguenther@suse.de>
* config/rx/rx.h (PREFERRED_DEBUGGING_TYPE): Always define to
DWARF2_DEBUG.
Diffstat (limited to 'gcc/config/rx')
-rw-r--r-- | gcc/config/rx/rx.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h index 4078440..3cb411d 100644 --- a/gcc/config/rx/rx.h +++ b/gcc/config/rx/rx.h @@ -620,14 +620,8 @@ typedef unsigned int CUMULATIVE_ARGS; /* Like REG_P except that this macro is true for SET expressions. */ #define SET_P(rtl) (GET_CODE (rtl) == SET) -/* The AS100 assembler does not support .leb128 and .uleb128, but - the compiler-build-time configure tests will have enabled their - use because GAS supports them. So default to generating STABS - debug information instead of DWARF2 when generating AS100 - compatible output. */ #undef PREFERRED_DEBUGGING_TYPE -#define PREFERRED_DEBUGGING_TYPE (TARGET_AS100_SYNTAX \ - ? DBX_DEBUG : DWARF2_DEBUG) +#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #define DBX_DEBUGGING_INFO 1 #define DWARF2_DEBUGGING_INFO 1 |