From 59b887a9c06153690165da6a2e3cb02d879061b5 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Mon, 30 Jul 2012 22:33:44 +0100 Subject: [PATCH] ctf: change the name of the CTF section in kernel modules Since we have broken backward-compatibility with Solaris libctf and changed the magic number in CTF files, we should change the name of the section they are written to. .dtrace_ctf seems like a good idea (which means that shared types will now be found in the .dtrace_ctf.dtrace_ctf section, rather than, as before, .SUNW_ctf.dtrace_ctf). Signed-off-by: Nick Alcock --- scripts/Makefile.modpost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index acdf1715acd5..4056968961a3 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -187,8 +187,8 @@ module-ctfs-modular = $(addprefix .ctf/,$(notdir $*.mod.ctf)) module-ctf-flags = $(if $(filter dtrace_ctf.ko,$(notdir $@)), \ --strip-debug \ $(foreach builtin,$(wildcard .ctf/*.builtin.ctf), \ - --add-section $(patsubst %.builtin.ctf,.SUNW_ctf.%,$(notdir $(builtin)))=$(builtin)), \ - --add-section .SUNW_ctf=$(addprefix .ctf/,$(notdir $(basename $@)).mod.ctf)) + --add-section $(patsubst %.builtin.ctf,.dtrace_ctf.%,$(notdir $(builtin)))=$(builtin)), \ + --add-section .dtrace_ctf=$(addprefix .ctf/,$(notdir $(basename $@)).mod.ctf)) # We have to put content in our dummy no-CTF files because --add-section # in binutils 2.20 silently fails if asked to add an empty file as a section. -- 2.50.1