Don't make interrupt stubs global symbols.
[pintos-anon] / src / threads / intr-stubs.S
index b34c142a59625b0ccbc5fe3cf9616da95deb4a57..adb674e0f2e36755d95066e2156f53c2876d2ca4 100644 (file)
@@ -44,7 +44,7 @@ intr_entry:
    stack, and returns to the caller.
 
    This is a separate function because it is called directly when
-   we launch a new user process (see execute_thread() in
+   we launch a new user process (see start_process() in
    userprog/process.c). */
 .globl intr_exit
 .func intr_exit
@@ -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;                                   \