diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-15 06:42:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-11-18 04:38:19 -0500 |
commit | cd97dd4f2c80900a295ec1b7fc6c789b94455c4e (patch) | |
tree | 0829d9adb2e9018f899ea8bd188f0bc1b27ed87e /arch/blackfin/lib/ins.S | |
parent | 635d1b3e1b885267de90d100402ba7748fdd9bc5 (diff) | |
download | u-boot-imx-cd97dd4f2c80900a295ec1b7fc6c789b94455c4e.zip u-boot-imx-cd97dd4f2c80900a295ec1b7fc6c789b94455c4e.tar.gz u-boot-imx-cd97dd4f2c80900a295ec1b7fc6c789b94455c4e.tar.bz2 |
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.<func> section.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/lib/ins.S')
-rw-r--r-- | arch/blackfin/lib/ins.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/lib/ins.S b/arch/blackfin/lib/ins.S index 4519596..3ac6d84 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 */ \ |