[PATCH] powerpc: Drops STABS_DEBUG from linker scripts

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1403d LANDED

Landed in mainline as 7673335e2a0b on 2022-09-30.

2 messages, 2 authors, 2022-10-04 · open the first message on its own page

[PATCH] powerpc: Drops STABS_DEBUG from linker scripts

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2022-09-28 13:11:01

No toolchain we support should be generating stabs debug information
anymore. Drop the sections entirely from our linker scripts.

We removed all the manual stabs annotations in commit
12318163737c ("powerpc/32: Remove remaining .stabs annotations").

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 arch/powerpc/kernel/vdso/vdso32.lds.S | 1 -
 arch/powerpc/kernel/vdso/vdso64.lds.S | 1 -
 arch/powerpc/kernel/vmlinux.lds.S     | 1 -
 3 files changed, 3 deletions(-)
diff --git a/arch/powerpc/kernel/vdso/vdso32.lds.S b/arch/powerpc/kernel/vdso/vdso32.lds.S
index e0d19d74455f..bc0be274a9ac 100644
--- a/arch/powerpc/kernel/vdso/vdso32.lds.S
+++ b/arch/powerpc/kernel/vdso/vdso32.lds.S
@@ -78,7 +78,6 @@ SECTIONS
 	__end = .;
 	PROVIDE(end = .);
 
-	STABS_DEBUG
 	DWARF_DEBUG
 	ELF_DETAILS
 
diff --git a/arch/powerpc/kernel/vdso/vdso64.lds.S b/arch/powerpc/kernel/vdso/vdso64.lds.S
index 1a4a7bc4c815..744ae5363e6c 100644
--- a/arch/powerpc/kernel/vdso/vdso64.lds.S
+++ b/arch/powerpc/kernel/vdso/vdso64.lds.S
@@ -76,7 +76,6 @@ SECTIONS
 	_end = .;
 	PROVIDE(end = .);
 
-	STABS_DEBUG
 	DWARF_DEBUG
 	ELF_DETAILS
 
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index fe22d940412f..8a1c47b59b5a 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -382,7 +382,6 @@ SECTIONS
 	_end = . ;
 	PROVIDE32 (end = .);
 
-	STABS_DEBUG
 	DWARF_DEBUG
 	ELF_DETAILS
 
-- 
2.37.3

Re: [PATCH] powerpc: Drops STABS_DEBUG from linker scripts

From: Michael Ellerman <hidden>
Date: 2022-10-04 13:52:20

On Wed, 28 Sep 2022 23:09:51 +1000, Michael Ellerman wrote:
No toolchain we support should be generating stabs debug information
anymore. Drop the sections entirely from our linker scripts.

We removed all the manual stabs annotations in commit
12318163737c ("powerpc/32: Remove remaining .stabs annotations").


[...]
Applied to powerpc/next.

[1/1] powerpc: Drops STABS_DEBUG from linker scripts
      https://git.kernel.org/powerpc/c/7673335e2a0b8e68a2a238773a34e287a089a8fe

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help