Skip to content

Commit 58b6c58

Browse files
Matthew WilcoxKyle McMartin
authored andcommitted
[PARISC] Use STABS_DEBUG macro from vmlinux.lds.h
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>
1 parent f45adcf commit 58b6c58

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

‎arch/parisc/kernel/vmlinux.lds.S‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ SECTIONS
6868
RODATA
6969

7070
/* writeable */
71-
. = ALIGN(4096); /* Make sure this is paged aligned so
71+
. = ALIGN(4096); /* Make sure this is page aligned so
7272
that we can properly leave these
7373
as writable */
7474
data_start = .;
@@ -198,14 +198,7 @@ SECTIONS
198198
#endif
199199
}
200200

201-
/* Stabs debugging sections. */
202-
.stab 0 : { *(.stab) }
203-
.stabstr 0 : { *(.stabstr) }
204-
.stab.excl 0 : { *(.stab.excl) }
205-
.stab.exclstr 0 : { *(.stab.exclstr) }
206-
.stab.index 0 : { *(.stab.index) }
207-
.stab.indexstr 0 : { *(.stab.indexstr) }
208-
.comment 0 : { *(.comment) }
201+
STABS_DEBUG
209202
.note 0 : { *(.note) }
210203

211204
}

0 commit comments

Comments
 (0)