Skip to content

Commit

Permalink
[PARISC] Use STABS_DEBUG macro from vmlinux.lds.h
Browse files Browse the repository at this point in the history
Cleanup vmlinux.lds.S by using STABS_DEBUG macro from vmlinux.lds.h
instead of repeating the sections.

Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
  • Loading branch information
Matthew Wilcox authored and Kyle McMartin committed Jan 11, 2006
1 parent f45adcf commit 58b6c58
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions arch/parisc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ SECTIONS
RODATA

/* writeable */
. = ALIGN(4096); /* Make sure this is paged aligned so
. = ALIGN(4096); /* Make sure this is page aligned so
that we can properly leave these
as writable */
data_start = .;
Expand Down Expand Up @@ -198,14 +198,7 @@ SECTIONS
#endif
}

/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
.stab.excl 0 : { *(.stab.excl) }
.stab.exclstr 0 : { *(.stab.exclstr) }
.stab.index 0 : { *(.stab.index) }
.stab.indexstr 0 : { *(.stab.indexstr) }
.comment 0 : { *(.comment) }
STABS_DEBUG
.note 0 : { *(.note) }

}

0 comments on commit 58b6c58

Please sign in to comment.