diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-04 21:16:51 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-04 21:16:51 +0000 |
commit | ac5c955bdeb2eb56b8bfab4f2e7dae7be612d70b (patch) | |
tree | 75c29bf41a06f5aa6f156c679c1011736cc743ec /gcc/config/pa/pa32-linux.h | |
parent | 39bf1bf0a588045589133f23f3dfe9b495ec755a (diff) | |
download | gcc-ac5c955bdeb2eb56b8bfab4f2e7dae7be612d70b.tar.gz |
* pa32-linux.h (LINK_COMMAND_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa32-linux.h')
-rw-r--r-- | gcc/config/pa/pa32-linux.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/pa/pa32-linux.h b/gcc/config/pa/pa32-linux.h index 8f1fc2d9153..8df3257734b 100644 --- a/gcc/config/pa/pa32-linux.h +++ b/gcc/config/pa/pa32-linux.h @@ -24,3 +24,14 @@ Boston, MA 02111-1307, USA. */ #undef CPP_SPEC #define CPP_SPEC "%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{mhppa:-D__hppa__} %{posix:-D_POSIX_SOURCE} -D_PA_RISC1_1" + +/* We need to link against libgcc.a to resolve millicode references. */ +#undef LINK_COMMAND_SPEC +#define LINK_COMMAND_SPEC "\ +%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ + %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t}\ + %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ + %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%G %L %G}}\ + %{!A:%{!nostdlib:%{!nostartfiles:%E}}}\ + %{!nostdlib:%{!nodefaultlibs:%{!static:%{!static-libgcc:-lgcc}}}}\ + %{T*} }}}}}}" |