sys_set_tls_area is called from _init_tls path, it should not touch
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 29 Apr 2005 22:01:43 +0000 (22:01 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 29 Apr 2005 22:01:43 +0000 (22:01 +0000)
commit89540aa61ef6bcea369c247a7f5b205b29d23d89
treeab5d578fdac88893acbcaea615a7547cd36f71f0
parenta378ce7d5ac32e9f2633d2c798abaeda34b8b7f3
sys_set_tls_area is called from _init_tls path, it should not touch
errno at all. It might be better to explicitly call abort on error
conditions, instead of panicing when trying to load %gs.
lib/libc/i386/sys/sys_set_tls_area.S [new file with mode: 0644]