Don't make interrupt stubs global symbols.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:31:30 +0000 (21:31 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:55:39 +0000 (21:55 -0800)
The stubs are only referenced within intr-stubs.S so there is no reason
for them to be exported.

Found with Godmar's process-linker-map.pl.

src/threads/intr-stubs.S

index 334d8ccb0f78d9ca1124472056171799b2f9024e..adb674e0f2e36755d95066e2156f53c2876d2ca4 100644 (file)
@@ -111,7 +111,6 @@ intr_stubs:
    or `REAL', if the CPU pushes an error code for us. */
 #define STUB(NUMBER, TYPE)                      \
        .text;                                  \
-.globl intr##NUMBER##_stub;                     \
 .func intr##NUMBER##_stub;                     \
 intr##NUMBER##_stub:                            \
        TYPE;                                   \