aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2001-04-12 03:34:07 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2001-04-12 03:34:07 +0000
commit001643af8038ea54c0fdf32ce0cc570fafed0c2c (patch)
treef5647bcfab582c79738d3d643ecf7bd15115f301 /gcc
parent38886f371d839e078be73cd4f06c28a5be65b672 (diff)
downloadgcc-001643af8038ea54c0fdf32ce0cc570fafed0c2c.zip
gcc-001643af8038ea54c0fdf32ce0cc570fafed0c2c.tar.gz
gcc-001643af8038ea54c0fdf32ce0cc570fafed0c2c.tar.bz2
* sh.md (builtin_setjmp_receiver): New expander.
From-SVN: r41283
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sh/sh.md9
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a6ec0b..a8af9d1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-12 kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sh.md (builtin_setjmp_receiver): New expander.
+
2001-04-12 David Edelsohn <dje@watson.ibm.com>
* config/rs6000/rs6000.c (rs6000_emit_move): Do not
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 420c336..4e52697 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -3753,6 +3753,15 @@
}
")
+(define_expand "builtin_setjmp_receiver"
+ [(match_operand 0 "" "")]
+ "flag_pic"
+ "
+{
+ emit_insn (gen_GOTaddr2picreg ());
+ DONE;
+}")
+
(define_expand "call_site"
[(unspec [(match_dup 0)] UNSPEC_CALLER)]
""