Commit 671c2359 by Michael Meissner

*** empty log message ***

From-SVN: r510
parent c704915a
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
BUILD = BUILD =
CC = $(OLDCC) CC = $(OLDCC)
CLIB = -lld CLIB = -lbsd -lld
X_CFLAGS = $(DEB_OPT) $(MSTATS) $(SHLIB) X_CFLAGS = $(DEB_OPT) $(MSTATS) $(SHLIB)
X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(SHLIB) $(XCFLAGS) X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(SHLIB) $(XCFLAGS)
CPP_ABORT = # -Dabort=fancy_abort CPP_ABORT = # -Dabort=fancy_abort
......
...@@ -73,11 +73,12 @@ half_pic_address_p (addr) ...@@ -73,11 +73,12 @@ half_pic_address_p (addr)
switch (GET_CODE (addr)) switch (GET_CODE (addr))
{ {
case CONST: case CONST:
{
rtx offset = const0_rtx; rtx offset = const0_rtx;
addr = eliminate_constant_term (addr, &offset); addr = eliminate_constant_term (addr, &offset);
if (GET_CODE (addr) != SYMBOL_REF) if (GET_CODE (addr) != SYMBOL_REF)
return FALSE; return FALSE;
}
/* fall through */ /* fall through */
case SYMBOL_REF: case SYMBOL_REF:
......
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