i386: Remove inline asm symbols from .dynsym

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
diff --git a/cpu/i386/cpu.c b/cpu/i386/cpu.c
index 8baf37d..4b68105 100644
--- a/cpu/i386/cpu.c
+++ b/cpu/i386/cpu.c
@@ -73,6 +73,8 @@
 
 /* segment 0x70 is an arbitrary segment which does not exist */
 asm(".globl generate_gpf\n"
+    ".hidden generate_gpf\n"
+    ".type generate_gpf, @function\n"
     "generate_gpf:\n"
     "ljmp   $0x70, $0x47114711\n");
 
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 @@
  * 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" \