diff options
Diffstat (limited to 'arch/avr32/kernel/vmlinux.lds.c')
-rw-r--r-- | arch/avr32/kernel/vmlinux.lds.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/avr32/kernel/vmlinux.lds.c b/arch/avr32/kernel/vmlinux.lds.c index ef13b7c78935..7ad20cfb48a8 100644 --- a/arch/avr32/kernel/vmlinux.lds.c +++ b/arch/avr32/kernel/vmlinux.lds.c | |||
@@ -26,6 +26,12 @@ SECTIONS | |||
26 | _sinittext = .; | 26 | _sinittext = .; |
27 | *(.text.reset) | 27 | *(.text.reset) |
28 | *(.init.text) | 28 | *(.init.text) |
29 | /* | ||
30 | * .exit.text is discarded at runtime, not | ||
31 | * link time, to deal with references from | ||
32 | * __bug_table | ||
33 | */ | ||
34 | *(.exit.text) | ||
29 | _einittext = .; | 35 | _einittext = .; |
30 | . = ALIGN(4); | 36 | . = ALIGN(4); |
31 | __tagtable_begin = .; | 37 | __tagtable_begin = .; |
@@ -86,6 +92,8 @@ SECTIONS | |||
86 | __stop___ex_table = .; | 92 | __stop___ex_table = .; |
87 | } | 93 | } |
88 | 94 | ||
95 | BUG_TABLE | ||
96 | |||
89 | RODATA | 97 | RODATA |
90 | 98 | ||
91 | . = ALIGN(8192); | 99 | . = ALIGN(8192); |
@@ -126,7 +134,6 @@ SECTIONS | |||
126 | * thrown away, as cleanup code is never called unless it's a module. | 134 | * thrown away, as cleanup code is never called unless it's a module. |
127 | */ | 135 | */ |
128 | /DISCARD/ : { | 136 | /DISCARD/ : { |
129 | *(.exit.text) | ||
130 | *(.exit.data) | 137 | *(.exit.data) |
131 | *(.exitcall.exit) | 138 | *(.exitcall.exit) |
132 | } | 139 | } |