projects
/
platform
/
upstream
/
gcc49.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5711500
)
tls no direct
author
Chanho Park
<chanho61.park@samsung.com>
Fri, 18 Jul 2014 08:58:40 +0000
(17:58 +0900)
committer
Chanho Park
<chanho61.park@samsung.com>
Mon, 21 Jul 2014 08:31:20 +0000
(17:31 +0900)
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
gcc/config/i386/linux.h
patch
|
blob
|
history
diff --git
a/gcc/config/i386/linux.h
b/gcc/config/i386/linux.h
index
1fb1e03
..
a7c59fb
100644
(file)
--- a/
gcc/config/i386/linux.h
+++ b/
gcc/config/i386/linux.h
@@
-21,3
+21,9
@@
along with GCC; see the file COPYING3. If not see
#define GNU_USER_LINK_EMULATION "elf_i386"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+
+/* This slows down Xen, so take a very small general performance hit
+ for not accessing the %fs segment with negative offsets by making
+ GCC not emit direct accesses to %fs at all. */
+#undef TARGET_TLS_DIRECT_SEG_REFS_DEFAULT
+#define TARGET_TLS_DIRECT_SEG_REFS_DEFAULT 0