aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-07-29 07:29:56 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-07-29 07:29:56 -0400
commit2a99503aff3f051265aa80e69a2682e725e79d80 (patch)
tree0250434c47ffb47a1ebd99a715821daebf126ce3 /gcc
parentf53b4c93f7a270544b96cb48fa0c52dd03f0e191 (diff)
downloadgcc-2a99503aff3f051265aa80e69a2682e725e79d80.zip
gcc-2a99503aff3f051265aa80e69a2682e725e79d80.tar.gz
gcc-2a99503aff3f051265aa80e69a2682e725e79d80.tar.bz2
(FUNCTION_EPILOGUE): Local variables freed from SP, not FP.
(ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR. From-SVN: r10190
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/1750a/1750a.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gcc/config/1750a/1750a.h b/gcc/config/1750a/1750a.h
index ef66ac1..d7332ef 100644
--- a/gcc/config/1750a/1750a.h
+++ b/gcc/config/1750a/1750a.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler.
Copyright (C) 1994, 1995 Free Software Foundation, Inc.
- Contributed by O.M.Kellogg, DASA (okellogg@salyko.cube.net).
+ Contributed by O.M.Kellogg, DASA (kellogg@space.otn.dasa.de)
This file is part of GNU CC.
@@ -592,7 +592,7 @@ enum reg_class { NO_REGS, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLASSES };
fprintf(FILE,"\tlr\tr15,r14 ; set stack ptr to frame ptr\n"); \
fprintf(FILE,"\tpopm\tr14,r14 ; restore previous frame ptr\n"); \
if (SIZE > 0) \
- fprintf(FILE,"\t%s\tr14,%d ; free up local-var space\n", \
+ fprintf(FILE,"\t%s\tr15,%d ; free up local-var space\n", \
(SIZE <= 16 ? "aisp" : "aim"),SIZE); \
fprintf(FILE,"\turs\tr15\n"); }
@@ -1161,8 +1161,10 @@ enum reg_class { NO_REGS, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLASSES };
label_pending = 0; \
datalbl[datalbl_ndx].size = 1; \
} \
- fprintf(FILE, "\tdata\t"); output_addr_const(FILE,VALUE); \
- fprintf(FILE, "\n"); } while (0)
+ fprintf(FILE, "\tdata\t"); \
+ output_addr_const(FILE, VALUE); \
+ fprintf(FILE, "\n"); \
+ } while (0)
/* This is how to output an assembler line defining a `long int' constant.
1750 NOTE: The reason why this macro outputs `long' instead of `short'
@@ -1182,7 +1184,7 @@ enum reg_class { NO_REGS, INDEX_REGS, BASE_REGS, ALL_REGS, LIM_REG_CLASSES };
/* This is how to output an assembler line for a numeric constant byte. */
-#define ASM_OUTPUT_BYTE(FILE,VALUE) ASM_OUTPUT_CHAR(FILE,VALUE)
+#define ASM_OUTPUT_BYTE(FILE,VALUE) fprintf(FILE, "\tdata\t#%x\n", VALUE)
/* This is how to output an insn to push a register on the stack.
It need not be very fast code. */