summaryrefslogtreecommitdiff
path: root/includes/rts
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-10-30 20:38:24 -0400
committerBen Gamari <ben@smart-cactus.org>2018-10-30 22:07:10 -0400
commit82a716431cc680392e332bc2b1a1fd0d7faa4cd8 (patch)
treec04c7bc5e265603ca5d3abea21e91a9a5d0be54e /includes/rts
parent9cbf6f2baf793e361d41b9c36497c5601ff22253 (diff)
downloadhaskell-82a716431cc680392e332bc2b1a1fd0d7faa4cd8.tar.gz
Revert "Add a RTS option -xp to load PIC object anywhere in address space"
This reverts commit 5403a8636fe82f971234873564f3a05393b89b7a.
Diffstat (limited to 'includes/rts')
-rw-r--r--includes/rts/Flags.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index 723d8d0c17..6487947749 100644
--- a/includes/rts/Flags.h
+++ b/includes/rts/Flags.h
@@ -187,17 +187,6 @@ typedef struct _CONCURRENT_FLAGS {
*/
#define DEFAULT_TICK_INTERVAL USToTime(10000)
-/*
- * When linkerAlwaysPic is true, the runtime linker assume that all object
- * files were compiled with -fPIC -fexternal-dynamic-refs and load them
- * anywhere in the address space.
- */
-#if defined(x86_64_HOST_ARCH) && defined(darwin_HOST_OS)
-#define DEFAULT_LINKER_ALWAYS_PIC true
-#else
-#define DEFAULT_LINKER_ALWAYS_PIC false
-#endif
-
/* See Note [Synchronization of flags and base APIs] */
typedef struct _MISC_FLAGS {
Time tickInterval; /* units: TIME_RESOLUTION */
@@ -207,7 +196,6 @@ typedef struct _MISC_FLAGS {
bool generate_stack_trace;
bool machineReadable;
bool internalCounters; /* See Note [Internal Counter Stats] */
- bool linkerAlwaysPic; /* Assume the object code is always PIC */
StgWord linkerMemBase; /* address to ask the OS for memory
* for the linker, NULL ==> off */
} MISC_FLAGS;