From b0fb1714c165601f64c40db8ec66159d625ccfe4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 11 Sep 2016 21:14:32 +0200 Subject: Fix size of functions interrupt and syscall * i386/i386/locore.S (syscall): Add END(syscall). * i386/i386at/interrupt.S (interrupt): Add END(interrupt). --- i386/i386/locore.S | 2 ++ i386/i386at/interrupt.S | 1 + 2 files changed, 3 insertions(+) diff --git a/i386/i386/locore.S b/i386/i386/locore.S index c715d959..ddba2245 100644 --- a/i386/i386/locore.S +++ b/i386/i386/locore.S @@ -1180,6 +1180,8 @@ DATA(cpu_features) .long 0 .text +END(syscall) + /* Discover what kind of cpu we have; return the family number (3, 4, 5, 6, for 386, 486, 586, 686 respectively). */ ENTRY(discover_x86_cpu_type) diff --git a/i386/i386at/interrupt.S b/i386/i386at/interrupt.S index e238ea44..cdb385c6 100644 --- a/i386/i386at/interrupt.S +++ b/i386/i386at/interrupt.S @@ -49,3 +49,4 @@ ENTRY(interrupt) outb %al,$(PIC_SLAVE_ICW) 1: ret /* return */ +END(interrupt) -- cgit v1.2.3