lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since d1e580a was b2ba418, checked in by Jakub Jermar <jakub@…>, 13 years ago |
|
The .interp section needs to be both allocable and either @note or @progbits
in order not to be stripped of strings for some targets with newer linkers.
|
-
Property mode
set to
100644
|
|
File size:
301 bytes
|
| Rev | Line | |
|---|
| [c98e6ee] | 1 | #
|
|---|
| 2 | # Provide a string to be included in a special DT_INTERP header, even though
|
|---|
| 3 | # this is a statically-linked executable. This will mark the binary as
|
|---|
| 4 | # the program loader.
|
|---|
| 5 | #
|
|---|
| [b2ba418] | 6 |
|
|---|
| 7 | #ifdef UARCH_arm32
|
|---|
| 8 | #define AT_NOTE %note
|
|---|
| 9 | #else
|
|---|
| 10 | #define AT_NOTE @note
|
|---|
| 11 | #endif
|
|---|
| 12 |
|
|---|
| 13 | .section .interp, "a", AT_NOTE
|
|---|
| [c98e6ee] | 14 | .string "kernel"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.