The ASM_DECLARE_FUNCTION_NAME/ASM_DECLARE_OBJECT_NAME stuff is completely

wrong for alpha, and may actually be wrong for more ELF ports than that.
For now, turn it off for ELF, and investigate.
This commit is contained in:
tv 1998-08-17 18:14:53 +00:00
parent 44b4e26450
commit 577b2ff265
1 changed files with 5 additions and 0 deletions

View File

@ -141,6 +141,9 @@
entries in an ELF object file under SVR4. These macros also output
the starting labels for the relevant functions/objects. */
/* XXX. This is WRONG for alpha. Needs to be verified on other ELF ports. */
#ifndef NETBSD_ELF
/* Write the extra assembler code needed to declare a function properly.
Some svr4 assemblers need to also have something extra said about the
function's return value. We allow for that here. */
@ -222,6 +225,8 @@ do { \
} \
} while (0)
#endif
/* ELF ports */
#ifdef NETBSD_ELF