diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-09-10 13:44:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 15:00:17 -0400 |
commit | 4413a511f22ec771edc0b7c93e5b34e05511acb5 (patch) | |
tree | d2498f706c651caddf030b2088c2dde67fe53511 /arch | |
parent | a7d0c210337246fa9c25b73cf76dfdbb159f642b (diff) |
[PATCH] x86_64 linker script cleanups for debug sections
Use the new macros for x86_64 too.
Note that the current scripts includes different definitions; more exactly,
it only contains part of the DWARF2 sections and the .comment one from
Stabs. Shouldn't be a problem, anyway.
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/vmlinux.lds.S | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S index d4abb07af52d..6dd642cad2ef 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86_64/kernel/vmlinux.lds.S | |||
@@ -194,20 +194,7 @@ SECTIONS | |||
194 | #endif | 194 | #endif |
195 | } | 195 | } |
196 | 196 | ||
197 | /* DWARF 2 */ | 197 | STABS_DEBUG |
198 | .debug_info 0 : { *(.debug_info) } | 198 | |
199 | .debug_abbrev 0 : { *(.debug_abbrev) } | 199 | DWARF_DEBUG |
200 | .debug_line 0 : { *(.debug_line) } | ||
201 | .debug_frame 0 : { *(.debug_frame) } | ||
202 | .debug_str 0 : { *(.debug_str) } | ||
203 | .debug_loc 0 : { *(.debug_loc) } | ||
204 | .debug_macinfo 0 : { *(.debug_macinfo) } | ||
205 | /* SGI/MIPS DWARF 2 extensions */ | ||
206 | .debug_weaknames 0 : { *(.debug_weaknames) } | ||
207 | .debug_funcnames 0 : { *(.debug_funcnames) } | ||
208 | .debug_typenames 0 : { *(.debug_typenames) } | ||
209 | .debug_varnames 0 : { *(.debug_varnames) } | ||
210 | |||
211 | |||
212 | .comment 0 : { *(.comment) } | ||
213 | } | 200 | } |