Thanks to İsmail Dönmez for the better declaration.
llvm-svn: 201163
# define read _read
#endif
+#ifndef LDPO_PIE
+// FIXME: remove this declaration when we stop maintaining Ubuntu Quantal and
+// Precise and Debian Wheezy (binutils 2.23 is required)
+# define LDPO_PIE 3
+#endif
+
using namespace llvm;
namespace {
switch (tv->tv_u.tv_val) {
case LDPO_REL: // .o
case LDPO_DYN: // .so
-#ifdef LDPO_PIE
case LDPO_PIE: // position independent executable
-#else
- // FIXME: remove this declaration when we stop maintaining
- // Ubuntu Quantal and Precise and Debian Wheezy (binutils 2.23 is
- // required)
- case 3:
-#endif
output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC;
break;
case LDPO_EXEC: // .exe