lkml.org 
[lkml]   [2005]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 3/7] x86_64 linker script cleanups for debug sections
From
Date
Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> writes:

> 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.

Can you please always cc me on any arch/x86_64,asm-x86_64 patches?

> Cc: Sam Ravnborg <sam@ravnborg.org>
> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
> ---
>
> arch/x86_64/kernel/vmlinux.lds.S | 17 ++---------------
> 1 files changed, 2 insertions(+), 15 deletions(-)
>
> diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S
> --- a/arch/x86_64/kernel/vmlinux.lds.S
> +++ b/arch/x86_64/kernel/vmlinux.lds.S
> @@ -194,20 +194,7 @@ SECTIONS
> #endif
> }
>
> - /* DWARF 2 */
> - .debug_info 0 : { *(.debug_info) }
> - .debug_abbrev 0 : { *(.debug_abbrev) }
> - .debug_line 0 : { *(.debug_line) }
> - .debug_frame 0 : { *(.debug_frame) }
> - .debug_str 0 : { *(.debug_str) }
> - .debug_loc 0 : { *(.debug_loc) }
> - .debug_macinfo 0 : { *(.debug_macinfo) }
> - /* SGI/MIPS DWARF 2 extensions */
> - .debug_weaknames 0 : { *(.debug_weaknames) }
> - .debug_funcnames 0 : { *(.debug_funcnames) }
> - .debug_typenames 0 : { *(.debug_typenames) }
> - .debug_varnames 0 : { *(.debug_varnames) }
> + STABS_DEBUG

There are no stabs sections on x86-64

> -
> - .comment 0 : { *(.comment) }
> + DWARF_DEBUG

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-12 07:56    [W:0.080 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site