aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2008-04-18 08:47:35 +0000
committerDavid S. Miller <davem@redhat.com>2008-04-18 08:47:35 +0000
commit14865d76081f439683dd79295e308a9acd7dd9be (patch)
treeafaeee269c19b1ad3eef0d6c3ed07d034f02b2d1
parent523108582e4c3f6d7e90320eacf3fc033534bb66 (diff)
downloadgdb-14865d76081f439683dd79295e308a9acd7dd9be.zip
gdb-14865d76081f439683dd79295e308a9acd7dd9be.tar.gz
gdb-14865d76081f439683dd79295e308a9acd7dd9be.tar.bz2
* config/tc-sparc.c (sparc_ip): Recognize %pc22 and %pc10.
-rw-r--r--gas/config/tc-sparc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 50a469f..8116c8e 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -2309,6 +2309,8 @@ sparc_ip (str, pinsn)
{ "lox", 3, BFD_RELOC_SPARC_LOX10, 1, 0 },
{ "hi", 2, BFD_RELOC_HI22, 0, 1 },
{ "lo", 2, BFD_RELOC_LO10, 0, 1 },
+ { "pc22", 4, BFD_RELOC_SPARC_PC22, 0, 1 },
+ { "pc10", 4, BFD_RELOC_SPARC_PC10, 0, 1 },
{ "hh", 2, BFD_RELOC_SPARC_HH22, 1, 1 },
{ "hm", 2, BFD_RELOC_SPARC_HM10, 1, 1 },
{ "lm", 2, BFD_RELOC_SPARC_LM22, 1, 1 },