--- pgp/src/sparc.s 2018/04/24 16:42:08 1.1.1.3 +++ pgp/src/sparc.s 2018/04/24 16:44:32 1.1.1.4 @@ -9,25 +9,25 @@ ! #ifndef SYSV #ifdef __STDC__ -#define ENTRY(name) .global _##name ; _##name##: +#define ENTRY(name) _##name ; _##name##: #else -#define ENTRY(name) .global _/**/name ; _/**/name/**/: +#define ENTRY(name) _/**/name ; _/**/name/**/: #endif #define GLOB _global_precision #else /* SYSV */ -#define ENTRY(name) .global name ; name: +#define ENTRY(name) name ; name: #define GLOB global_precision #endif .seg "text" .proc 4 -ENTRY(P_SETP) + .global ENTRY(P_SETP) retl nop .proc 4 -ENTRY(P_ADDC) + .global ENTRY(P_ADDC) sethi %hi(GLOB), %o3 ldsh [%o3+%lo(GLOB)], %o3 and %o2, 1, %o2 @@ -48,7 +48,7 @@ add_loop: .proc 4 -ENTRY(P_SUBB) + .global ENTRY(P_SUBB) sethi %hi(GLOB), %o3 ldsh [%o3+%lo(GLOB)], %o3 and %o2, 1, %o2 @@ -69,7 +69,7 @@ sub_loop: .proc 4 -ENTRY(P_ROTL) + .global ENTRY(P_ROTL) sethi %hi(GLOB), %o3 ldsh [%o3+%lo(GLOB)], %o3 and %o1, 1, %o1