diff options
| author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-02-11 08:26:24 -0500 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 09:55:21 -0500 |
| commit | a4e69245bd7793a620ed67442c00fa1f2dd56891 (patch) | |
| tree | 6bb7c50c0b468af2e8b60661d6dd373145893757 | |
| parent | fa364fc41cd3c7fd47fb7be7b4d0722c25ebad4b (diff) | |
s390/linker skript: discard exit.data at runtime
Discard exit.data section at run time, not link time, since exit.text
references exit.data and causes this build error:
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| -rw-r--r-- | arch/s390/kernel/vmlinux.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 79cb51adc741..35b13ed0af5f 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S | |||
| @@ -75,6 +75,10 @@ SECTIONS | |||
| 75 | EXIT_TEXT | 75 | EXIT_TEXT |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | .exit.data : { | ||
| 79 | EXIT_DATA | ||
| 80 | } | ||
| 81 | |||
| 78 | /* early.c uses stsi, which requires page aligned data. */ | 82 | /* early.c uses stsi, which requires page aligned data. */ |
| 79 | . = ALIGN(PAGE_SIZE); | 83 | . = ALIGN(PAGE_SIZE); |
| 80 | INIT_DATA_SECTION(0x100) | 84 | INIT_DATA_SECTION(0x100) |
