Remove duplicate TYPE_OPERAND_FORMAT define, so that it uses the `#'
instead of `%' character. Also remove the LINK_SPEC - no other NetBSD platform sends `-X' to the linker by default, so make it uniform.
This commit is contained in:
parent
eded1c99ca
commit
82c5de77a5
12
gnu/dist/gcc/config/arm/netbsd.h
vendored
12
gnu/dist/gcc/config/arm/netbsd.h
vendored
@ -70,13 +70,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#undef CPP_FLOAT_DEFAULT_SPEC
|
||||
#define CPP_FLOAT_DEFAULT_SPEC "-D__SOFTFP__"
|
||||
|
||||
/* Pass -X to the linker so that it will strip symbols starting with 'L' */
|
||||
#undef LINK_SPEC
|
||||
#define LINK_SPEC "\
|
||||
-X %{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} \
|
||||
%{static:-Bstatic} %{assert*} \
|
||||
"
|
||||
|
||||
#undef SIZE_TYPE
|
||||
#define SIZE_TYPE "unsigned int"
|
||||
|
||||
@ -113,11 +106,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
fprintf(STREAM, "\tbl\tmcount\n"); \
|
||||
}
|
||||
|
||||
/* On the ARM `@' introduces a comment, so we must use something else
|
||||
for .type directives. */
|
||||
#undef TYPE_OPERAND_FMT
|
||||
#define TYPE_OPERAND_FMT "%%%s"
|
||||
|
||||
/* NetBSD uses the old PCC style aggregate returning conventions. */
|
||||
#undef DEFAULT_PCC_STRUCT_RETURN
|
||||
#define DEFAULT_PCC_STRUCT_RETURN 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user