Rev 1906 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1906 | Rev 3065 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | "movl %0, %%fs:12" |
27 | "movl %0, %%fs:12" |
28 | ::"r"(ent)); |
28 | ::"r"(ent)); |
29 | __sinit(ent); |
29 | __sinit(ent); |
30 | } |
30 | } |
Line -... | Line 31... | ||
- | 31 | ||
- | 32 | void init_global_reent() |
|
- | 33 | { |
|
- | 34 | struct _reent *ent; |
|
- | 35 | ||
- | 36 | ent =_GLOBAL_REENT; |
|
- | 37 | ||
- | 38 | _REENT_INIT_PTR(ent); |
|
- | 39 | ||
- | 40 | __asm__ __volatile__( |
|
- | 41 | "movl %0, %%fs:12" |
|
- | 42 | ::"r"(ent)); |
|
- | 43 | __sinit(ent); |
|
Line 31... | Line 44... | ||
31 | 44 | } |
|
32 | 45 | ||
33 | 46 |