summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/sparc/aout.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/sparc/aout.h')
-rw-r--r--contrib/gcc/config/sparc/aout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/sparc/aout.h b/contrib/gcc/config/sparc/aout.h
index fd84d75..3a2273f 100644
--- a/contrib/gcc/config/sparc/aout.h
+++ b/contrib/gcc/config/sparc/aout.h
@@ -88,7 +88,7 @@ do { \
pointer is really %i7. */
#define DBX_REGISTER_NUMBER(REGNO) \
- (TARGET_FLAT && REGNO == FRAME_POINTER_REGNUM ? 31 : REGNO)
+ (TARGET_FLAT && (REGNO) == HARD_FRAME_POINTER_REGNUM ? 31 : REGNO)
/* This is how to output a note to DBX telling it the line number
to which the following sequence of instructions corresponds.
OpenPOWER on IntegriCloud