diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-30 08:23:23 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-30 08:23:23 +0000 |
commit | 81e210c389b5097fd28738093abec2ef4e9dce63 (patch) | |
tree | 6b54964b800a8b8f61750d38626c3e7a634c9ec0 /gcc/gcc.c | |
parent | f3653b7d09a8e275f5c3211ad71c6f91af32c200 (diff) | |
download | gcc-81e210c389b5097fd28738093abec2ef4e9dce63.tar.gz |
Fix ia64 libunwind gnatmake link error.
* gcc.c (init_spec): Pass -lunwind to init_gcc_specs in eh_name
instead of in shared_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74054 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index b54fc0796f7..f6f0ec15f41 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -1633,12 +1633,14 @@ init_spec (void) #else "-lgcc_s%M" #endif + , + "-lgcc", + "-lgcc_eh" #ifdef USE_LIBUNWIND_EXCEPTIONS " -lunwind" #endif - , - "-lgcc", - "-lgcc_eh"); + ); + p += 5; in_sep = 0; } |