summaryrefslogtreecommitdiff
path: root/cpu/i386/interrupts.c
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2009-11-24 20:04:19 +1100
committerWolfgang Denk <wd@denx.de>2009-12-05 01:04:44 +0100
commit0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33 (patch)
tree953b3fda13f2e8f2d0a717a292c42a300f639c3f /cpu/i386/interrupts.c
parent564a9984bdbf86a02cf4f0d848933a9fff4a1d18 (diff)
downloadu-boot-imx-0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33.zip
u-boot-imx-0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33.tar.gz
u-boot-imx-0fc1b49ecbd7ec7371f9ede0600e4fd28cec7f33.tar.bz2
i386: Remove inline asm symbols from .dynsym
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'cpu/i386/interrupts.c')
-rw-r--r--cpu/i386/interrupts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu/i386/interrupts.c b/cpu/i386/interrupts.c
index d80cfb1..cbf1c41 100644
--- a/cpu/i386/interrupts.c
+++ b/cpu/i386/interrupts.c
@@ -29,6 +29,8 @@
#define DECLARE_INTERRUPT(x) \
".globl irq_"#x"\n" \
+ ".hidden irq_"#x"\n" \
+ ".type irq_"#x", @function\n" \
"irq_"#x":\n" \
"pushl %ebp\n" \
"movl %esp,%ebp\n" \
@@ -229,6 +231,8 @@ __isr__ irq_llsr(int ip, int seg, int irq)
* the easiest way I could do it. Maybe it can be made better later.
*/
asm(".globl irq_common_entry\n" \
+ ".hidden irq_common_entry\n" \
+ ".type irq_common_entry, @function\n" \
"irq_common_entry:\n" \
"pushl $0\n" \
"pushl $0\n" \