X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/b607efe7149f91512dc5fd9dbfc4c6156cdf9a93..62c0cf240542680e26a5409da75997b203838841:/gdb/valops.c diff --git a/gdb/valops.c b/gdb/valops.c index efcd9b3912..273aa0e543 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -47,7 +47,9 @@ static int typecmp PARAMS ((int staticp, struct type *t1[], value_ptr t2[])); static CORE_ADDR find_function_addr PARAMS ((value_ptr, struct type **)); +#ifndef PUSH_ARGUMENTS static CORE_ADDR value_push PARAMS ((CORE_ADDR, value_ptr)); +#endif static value_ptr search_struct_field PARAMS ((char *, value_ptr, int, struct type *, int)); @@ -851,6 +853,8 @@ push_bytes (sp, buffer, len) /* Push onto the stack the specified value VALUE. */ +#ifndef PUSH_ARGUMENTS + static CORE_ADDR value_push (sp, arg) register CORE_ADDR sp; @@ -869,6 +873,8 @@ value_push (sp, arg) return sp; } +#endif /* !PUSH_ARGUMENTS */ + /* Perform the standard coercions that are specified for arguments to be passed to C functions.