Solaris: Make sure non-inline versions of asm routines end with ret statements
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
This commit is contained in:
parent
2be5eecb4b
commit
94c5093c8b
|
@ -32,7 +32,7 @@
|
|||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
#define FUNCTION_START(f,n) ENTRY(f)
|
||||
#define FUNCTION_END(f) SET_SIZE(f)
|
||||
#define FUNCTION_END(f) ret; SET_SIZE(f)
|
||||
#endif
|
||||
|
||||
FUNCTION_START(inb,4)
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
#define FUNCTION_START(f,n) ENTRY(f)
|
||||
#define FUNCTION_END(f) SET_SIZE(f)
|
||||
#define FUNCTION_END(f) ret; SET_SIZE(f)
|
||||
#endif
|
||||
|
||||
FUNCTION_START(inb,4)
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#define _ASM
|
||||
#include <sys/asm_linkage.h>
|
||||
#define FUNCTION_START(f,n) ENTRY(f)
|
||||
#define FUNCTION_END(f) SET_SIZE(f)
|
||||
#define FUNCTION_END(f) retl; nop; SET_SIZE(f)
|
||||
#endif
|
||||
|
||||
/* Converted from common/compiler.h gcc inline format to Sun cc inline
|
||||
|
|
Loading…
Reference in New Issue
Block a user