Commit 17879734 by Richard Earnshaw Committed by Richard Earnshaw

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
parent c009a745
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.
......
/* 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%*} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment