|
cvsdist |
fa9c485 |
/* Gleaned from glibc, though I suppose it's documented in the specs, too.
|
|
cvsdist |
fa9c485 |
NPTL requires support that isn't in kernels prior to 2.4.20 (or 2.5.36 if
|
|
cvsdist |
fa9c485 |
you're not using a backported TLS implementation in your kernel), but ld.so
|
|
cvsdist |
fa9c485 |
will try to use this library on an insufficiently-new system unless we make
|
|
cvsdist |
fa9c485 |
a note of the required kernel version here.
|
|
cvsdist |
fa9c485 |
We also add in a section which marks the library as not needing an
|
|
cvsdist |
fa9c485 |
executable stack to avoid unintentionally disabling exec-shield and the
|
|
cvsdist |
fa9c485 |
like (thanks Arjan!). */
|
|
cvsdist |
fa9c485 |
.section ".note.ABI-tag", "a"
|
|
cvsdist |
fa9c485 |
.p2align 2
|
|
cvsdist |
fa9c485 |
.long 1f - 0f
|
|
cvsdist |
fa9c485 |
.long 3f - 2f
|
|
cvsdist |
fa9c485 |
.long 1
|
|
cvsdist |
fa9c485 |
0: .asciz "GNU"
|
|
cvsdist |
fa9c485 |
1: .p2align 2
|
|
cvsdist |
fa9c485 |
2: .long 0
|
|
cvsdist |
fa9c485 |
.long 2,4,20
|
|
cvsdist |
fa9c485 |
3: .p2align 2
|
|
cvsdist |
fa9c485 |
|
|
cvsdist |
fa9c485 |
.section .note.GNU-stack, "", @progbits
|
|
cvsdist |
fa9c485 |
.previous
|