Rev 1797 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1797 | Rev 1864 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | # |
1 | # |
2 | # Copyright (C) 2006 Martin Decky |
2 | # Copyright (C) 2006 Jakub Jermar |
3 | # All rights reserved. |
3 | # All rights reserved. |
4 | # |
4 | # |
5 | # Redistribution and use in source and binary forms, with or without |
5 | # Redistribution and use in source and binary forms, with or without |
6 | # modification, are permitted provided that the following conditions |
6 | # modification, are permitted provided that the following conditions |
7 | # are met: |
7 | # are met: |
Line 32... | Line 32... | ||
32 | 32 | ||
33 | ## User-space thread entry point for all but the first threads. |
33 | ## User-space thread entry point for all but the first threads. |
34 | # |
34 | # |
35 | # |
35 | # |
36 | __thread_entry: |
36 | __thread_entry: |
- | 37 | sethi %hi(_gp), %l7 |
|
- | 38 | call __thread_main ! %o0 contains address of uarg |
|
- | 39 | or %l7, %lo(_gp), %l7 |
|
37 | 40 | ||
- | 41 | ! not reached |
|
- | 42 | ||
38 | .end __thread_entry |
43 | .end __thread_entry |