OSDN Git Service

*** empty log message ***
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 1992 15:36:31 +0000 (15:36 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 1992 15:36:31 +0000 (15:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@510 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/mips/x-osfrose
gcc/halfpic.c

index 48dc993..ac6d660 100644 (file)
@@ -6,7 +6,7 @@
 
 BUILD          =
 CC             = $(OLDCC)
-CLIB           = -lld
+CLIB           = -lbsd -lld
 X_CFLAGS       = $(DEB_OPT) $(MSTATS) $(SHLIB)
 X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(SHLIB) $(XCFLAGS)
 CPP_ABORT      = # -Dabort=fancy_abort
index d78d1b0..649bdbb 100644 (file)
@@ -73,11 +73,12 @@ half_pic_address_p (addr)
   switch (GET_CODE (addr))
     {
     case CONST:
-      rtx offset = const0_rtx;
-      addr = eliminate_constant_term (addr, &offset);
-      if (GET_CODE (addr) != SYMBOL_REF)
-       return FALSE;
-       
+      {
+       rtx offset = const0_rtx;
+       addr = eliminate_constant_term (addr, &offset);
+       if (GET_CODE (addr) != SYMBOL_REF)
+         return FALSE;
+      }
       /* fall through */
 
     case SYMBOL_REF: