From cd97dd4f2c80900a295ec1b7fc6c789b94455c4e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 15 Nov 2010 06:42:42 -0500 Subject: Blackfin: stick ins/outs funcs into their own .text section This lets the linker garbage collect these functions when they aren't actually used by placing them into the standard .text. section. Signed-off-by: Mike Frysinger --- arch/blackfin/lib/ins.S | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/blackfin/lib/ins.S') diff --git a/arch/blackfin/lib/ins.S b/arch/blackfin/lib/ins.S index 4519596420..3ac6d84548 100644 --- a/arch/blackfin/lib/ins.S +++ b/arch/blackfin/lib/ins.S @@ -71,6 +71,7 @@ */ #define COMMON_INS(func, ops) \ +.section .text._ins##func; \ ENTRY(_ins##func) \ P0 = R0; /* P0 = port */ \ CLI_OUTER; /* 3 instructions before first read access */ \ -- cgit