summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86-64-gprel.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/x86-64-gprel.s')
-rw-r--r--gas/testsuite/gas/i386/x86-64-gprel.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/x86-64-gprel.s b/gas/testsuite/gas/i386/x86-64-gprel.s
new file mode 100644
index 00000000000..96b3ce90444
--- /dev/null
+++ b/gas/testsuite/gas/i386/x86-64-gprel.s
@@ -0,0 +1,3 @@
+ .text
+_start:
+ movl %gs:foo@GPREL, %eax