- if (!Subtarget->hasABICall() &&
- IsInSmallSection(getTargetData()->getABITypeSize(C->getType()))) {
- SDValue GPRelNode = DAG.getNode(MipsISD::GPRel, MVT::i32, CP);
- SDValue GOT = DAG.getNode(ISD::GLOBAL_OFFSET_TABLE, MVT::i32);
- ResNode = DAG.getNode(ISD::ADD, MVT::i32, GOT, GPRelNode);
- } else { // %hi/%lo relocation
+ // FIXME: we should reference the constant pool using small data sections,
+ // but the asm printer currently doens't support this feature without
+ // hacking it. This feature should come soon so we can uncomment the
+ // stuff below.
+ //if (!Subtarget->hasABICall() &&
+ // IsInSmallSection(getTargetData()->getABITypeSize(C->getType()))) {
+ // SDValue GPRelNode = DAG.getNode(MipsISD::GPRel, MVT::i32, CP);
+ // SDValue GOT = DAG.getNode(ISD::GLOBAL_OFFSET_TABLE, MVT::i32);
+ // ResNode = DAG.getNode(ISD::ADD, MVT::i32, GOT, GPRelNode);
+ //} else { // %hi/%lo relocation