diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-09-17 01:49:00 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-09-17 01:49:00 +0000 |
| commit | 66422f5b7a1a6055f0b2358268eb902aab6e2e3e (patch) | |
| tree | 7d8147c99f6bfb34b7cb47ad46e24a4f7dc93102 /sys/alpha | |
| parent | 4e6ef0845de37f8c4a29410d48d3847da78a9c9f (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/include/asm.h | 18 | ||||
| -rw-r--r-- | sys/alpha/include/param.h | 7 |
2 files changed, 3 insertions, 22 deletions
diff --git a/sys/alpha/include/asm.h b/sys/alpha/include/asm.h index d4129aba050bd..84601f3f509c1 100644 --- a/sys/alpha/include/asm.h +++ b/sys/alpha/include/asm.h @@ -619,11 +619,9 @@ label: ASCIZ msg; \ /* * WEAK_ALIAS: create a weak alias (ELF only). */ -#ifdef __ELF__ #define WEAK_ALIAS(alias,sym) \ .weak alias; \ alias = sym -#endif /* * Kernel RCS ID tag and copyright macros @@ -631,19 +629,9 @@ label: ASCIZ msg; \ #ifdef _KERNEL -#ifdef __ELF__ -#define __KERNEL_SECTIONSTRING(_sec, _str) \ - .section _sec ; .asciz _str ; .text -#else /* __ELF__ */ -#define __KERNEL_SECTIONSTRING(_sec, _str) \ - .data ; .asciz _str ; .align 3 ; .text -#endif /* __ELF__ */ - -#define __KERNEL_RCSID(_n, _s) __KERNEL_SECTIONSTRING(.ident, _s) -#define __KERNEL_COPYRIGHT(_n, _s) __KERNEL_SECTIONSTRING(.copyright, _s) - -#ifdef NO_KERNEL_RCSIDS -#undef __KERNEL_RCSID +#if !defined(lint) && !defined(NO_KERNEL_RCSIDS) +#define __KERNEL_RCSID(_n, _s) .ident _s +#else #define __KERNEL_RCSID(_n, _s) /* nothing */ #endif diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index 444b8b79817c2..5a286f43df0b3 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -91,13 +91,6 @@ #include <machine/alpha_cpu.h> #include <machine/cpu.h> -/* - * OBJFORMAT_NAMES is a comma-separated list of the object formats - * that are supported on the architecture. - */ -#define OBJFORMAT_NAMES "elf" -#define OBJFORMAT_DEFAULT "elf" - #ifdef SMP #define MAXCPU 32 #else |
