semi.h (ASM_SPEC): Pass -k to the assembler when compiling PIC.
* config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when compiling PIC. From-SVN: r39011
This commit is contained in:
parent
c009a74504
commit
17879734ac
@ -1,3 +1,8 @@
|
||||
2001-01-14 Richard Earnshaw <rearnsha@arm.com>
|
||||
|
||||
* config/arm/semi.h (ASM_SPEC): Pass -k to the assembler when
|
||||
compiling PIC.
|
||||
|
||||
2001-01-14 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.c (get_shift_alg): Update comments.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Definitions of target machine for GNU compiler. ARM on semi-hosted platform
|
||||
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
|
||||
Copyright (C) 1994, 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
|
||||
Contributed by Richard Earnshaw (richard.earnshaw@arm.com)
|
||||
|
||||
This file is part of GNU CC.
|
||||
|
||||
@ -39,8 +39,16 @@ Boston, MA 02111-1307, USA. */
|
||||
#define SUBTARGET_EXTRA_ASM_SPEC
|
||||
#endif
|
||||
|
||||
/* The compiler supports PIC code generation, even though the binutils
|
||||
may not. If we are asked to compile position independent code, we
|
||||
always pass -k to the assembler. If it doesn't recognize it, then
|
||||
it will barf, which probably means that it doesn't know how to
|
||||
assemble PIC code. This is what we want, since otherwise tools
|
||||
may incorrectly assume we support PIC compilation even if the
|
||||
binutils can't. */
|
||||
#ifndef ASM_SPEC
|
||||
#define ASM_SPEC "\
|
||||
%{fpic: -k} %{fPIC: -k} \
|
||||
%{mbig-endian:-EB} \
|
||||
%{mcpu=*:-m%*} \
|
||||
%{march=*:-m%*} \
|
||||
|
Loading…
Reference in New Issue
Block a user