summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-10 11:15:07 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-10 11:15:07 +0000
commit723e1902a4a3de3c537888fc3c063a13850f4fc2 (patch)
tree6dd6c8dc5926e50ceabcd4e33f3edafd37e19c3c /libgcc
parent168fa52f3fb47a001d7656b677cc887913b760bb (diff)
downloadgcc-723e1902a4a3de3c537888fc3c063a13850f4fc2.tar.gz
gcc/
* config.gcc (sparc-wrs-vxworks): New target. * config/sparc/vxworks.h, config/sparc/t-vxworks: New files. * config/sparc/sparc-protos.h (sparc_emit_call_insn): Declare. * config/sparc/sparc.h: Include vxworks-dummy.h. (PRINT_OPERAND_ADDRESS): Extend SYMBOL_REF handling to include LABEL_REFs too. * config/sparc/sparc.c (sparc_expand_move): Don't assume that _GLOBAL_OFFSET_TABLE_ - label_ref is a link-time constant on VxWorks. (legitimize_pic_address): Handle LABEL_REFs like SYMBOL_REFs on VxWorks. (load_pic_register): Use gen_vxworks_load_got for VxWorks. (sparc_emit_call_insn): New function. (sparc_function_ok_for_sibcall): Restrict sibcalls to locally-binding functions when generating VxWorks PIC. * config/sparc/sparc.md (vxworks_load_got): New pattern. (call, call_value): Use sparc_emit_call_insn instead of emit_call_insn. libgcc/ * config.host (sparc-wrs-vxworks): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124595 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config.host2
2 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7e3afaccbfa..8baa49f82e2 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-10 Richard Sandiford <richard@codesourcery.com>
+
+ * config.host (sparc-wrs-vxworks): New target.
+
2007-04-14 Kazu Hirata <kazu@codesourcery.com>
* config.host: Recognize fido.
diff --git a/libgcc/config.host b/libgcc/config.host
index f43de44bbd6..4de74cf203e 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -594,6 +594,8 @@ sparc-*-sysv4*)
;;
sparc64-*-elf*)
;;
+sparc-wrs-vxworks)
+ ;;
sparc64-*-freebsd*|ultrasparc-*-freebsd*)
;;
sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux