From: Ben Pfaff Date: Fri, 7 Nov 2008 05:31:30 +0000 (-0800) Subject: Don't make interrupt stubs global symbols. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd3e6bfbf9bda711367047e4224695d5464fcfb4;p=pintos-anon Don't make interrupt stubs global symbols. 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. --- diff --git a/src/threads/intr-stubs.S b/src/threads/intr-stubs.S index 334d8cc..adb674e 100644 --- a/src/threads/intr-stubs.S +++ b/src/threads/intr-stubs.S @@ -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; \