aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/dsp16xx
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-08 06:31:47 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-08 06:31:47 +0000
commitb979ef4549d2fde72cc1750e958b73512ca5c180 (patch)
tree5477ab981b2b136d3f8b2322ee1f0a5362f894fa /gcc/config/dsp16xx
parentf0866ec2bbf260ec00c2dd73f3370fade558b126 (diff)
downloadgcc-b979ef4549d2fde72cc1750e958b73512ca5c180.zip
gcc-b979ef4549d2fde72cc1750e958b73512ca5c180.tar.gz
gcc-b979ef4549d2fde72cc1750e958b73512ca5c180.tar.bz2
dsp16xxx.c: Include ggc.h
* dsp16xxx.c: Include ggc.h (override_options): Mark GC roots. * mn10200.c: Include ggc.h. (asm_file_start): Mark GC roots. * tahoe.c: Include ggc.h. (extensible_operand): Mark GC roots. From-SVN: r29187
Diffstat (limited to 'gcc/config/dsp16xx')
-rw-r--r--gcc/config/dsp16xx/dsp16xx.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.c b/gcc/config/dsp16xx/dsp16xx.c
index cac77af..b249c07 100644
--- a/gcc/config/dsp16xx/dsp16xx.c
+++ b/gcc/config/dsp16xx/dsp16xx.c
@@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA. */
#include "expr.h"
#include "function.h"
#include "flags.h"
+#include "ggc.h"
char *text_seg_name;
char *rsect_text;
@@ -1529,8 +1530,33 @@ override_options ()
flag_inline_functions = 1;
}
}
+
+ /* Mark our global variables for GC. */
+ ggc_add_rtx (&dsp16xx_addhf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_addhf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_subhf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_mulhf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_divhf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_cmphf3_libcall, 1);
+ ggc_add_rtx (dsp16xx_fixhfhi2_libcall, 1);
+ ggc_add_rtx (dsp16xx_floathihf2_libcall, 1);
+ ggc_add_rtx (dsp16xx_neghf2_libcall, 1);
+ ggc_add_rtx (dsp16xx_mulhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_udivqi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_udivhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_divqi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_divhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_modqi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_modhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_umodqi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_umodhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_ashrhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_ashlhi3_libcall, 1);
+ ggc_add_rtx (dsp16xx_ucmphi2_libcall, 1);
+ ggc_add_rtx (dsp16xx_lshrhi3_libcall, 1);
}
+
enum rtx_code
next_cc_user_code (insn)
rtx insn;