We need the versions of ASM_DECLARE_FUNCTION_NAME and
ASM_DECLARE_FUNCTION_SIZE from <alpha/alpha.h>, but <netbsd.h> re-defines them. So, re-define them again here to what we need.
This commit is contained in:
parent
20d126a5b4
commit
e3e5021be2
12
gnu/dist/toolchain/gcc/config/alpha/netbsd.h
vendored
12
gnu/dist/toolchain/gcc/config/alpha/netbsd.h
vendored
@ -134,6 +134,18 @@ do { \
|
||||
alpha_output_lineno (STREAM, LINE)
|
||||
extern void alpha_output_lineno ();
|
||||
|
||||
/* netbsd.h re-defined these, but we want the values from alpha.h */
|
||||
|
||||
#undef ASM_DECLARE_FUNCTION_NAME
|
||||
#define ASM_DECLARE_FUNCTION_NAME(FILE,NAME,DECL) \
|
||||
alpha_start_function(FILE,NAME,DECL);
|
||||
extern void alpha_start_function ();
|
||||
|
||||
#undef ASM_DECLARE_FUNCTION_SIZE
|
||||
#define ASM_DECLARE_FUNCTION_SIZE(FILE,NAME,DECL) \
|
||||
alpha_end_function(FILE,NAME,DECL)
|
||||
extern void alpha_end_function ();
|
||||
|
||||
extern void output_file_directive ();
|
||||
|
||||
/* Attach a special .ident directive to the end of the file to identify
|
||||
|
Loading…
Reference in New Issue
Block a user