From 5076da17d212acc01b53d287b93d482f55eef337 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 30 Apr 2004 20:09:51 +0000 Subject: [PATCH] re PR other/1963 (collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup") PR other/1963 * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. From-SVN: r81363 --- gcc/ChangeLog | 5 +++++ gcc/config/alpha/osf.h | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ef6b7eb4b0..f6a66b0a0c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-30 Rainer Orth + + PR other/1963 + * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. + 2004-04-29 Andreas Krebbel * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. diff --git a/gcc/config/alpha/osf.h b/gcc/config/alpha/osf.h index fd72ba38132..f8b4eca49b3 100644 --- a/gcc/config/alpha/osf.h +++ b/gcc/config/alpha/osf.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha on OSF/1. - Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003 - Free Software Foundation, Inc. + Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003, + 2004 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) This file is part of GCC. @@ -169,6 +169,10 @@ __enable_execute_stack (void *addr) \ #define LD_INIT_SWITCH "-init" #define LD_FINI_SWITCH "-fini" +/* The linker needs a space after "-o". This allows -oldstyle_liblookup to + be passed to ld. */ +#define SWITCHES_NEED_SPACES "o" + /* Select a format to encode pointers in exception handling data. CODE is 0 for data, 1 for code labels, 2 for function pointers. GLOBAL is true if the symbol may be affected by dynamic relocations. -- 2.30.2