aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2016-08-25 22:32:10 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2016-08-25 22:32:10 +0000
commit6f9dab906e043312a80ec977a43809b18138f2d8 (patch)
tree5f41e4ad36db2eddb1c74f5e9a26e90d85d09766 /libexec
parent5d83392ac53a2f0223f7c53e0bd7067b23b457d6 (diff)
downloadsrc-6f9dab906e043312a80ec977a43809b18138f2d8.tar.gz
src-6f9dab906e043312a80ec977a43809b18138f2d8.zip
[mips] flip from =v to =r - let the compiler choose a temp register.
=v is some ye olde gcc "use this specific register as the temp register" thing that they've deprecated and clang/llvm doesn't implement. Poked again and again by: sbruno
Notes
Notes: svn path=/head/; revision=304823
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/mips/reloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rtld-elf/mips/reloc.c b/libexec/rtld-elf/mips/reloc.c
index bd75716b270c..0f4a5d66bd15 100644
--- a/libexec/rtld-elf/mips/reloc.c
+++ b/libexec/rtld-elf/mips/reloc.c
@@ -645,7 +645,7 @@ _mips_get_tls(void)
".set\tmips64r2\n\t"
"rdhwr\t%0, $29\n\t"
".set\tpop"
- : "=v" (_rv));
+ : "=r" (_rv));
/*
* XXXSS See 'git show c6be4f4d2d1b71c04de5d3bbb6933ce2dbcdb317'
*
@@ -670,7 +670,7 @@ _mips_get_tls(void)
".set\tmips32r2\n\t"
"rdhwr\t%0, $29\n\t"
".set\tpop"
- : "=v" (_rv));
+ : "=r" (_rv));
/*
* XXXSS See 'git show c6be4f4d2d1b71c04de5d3bbb6933ce2dbcdb317'
*