summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-01 19:28:22 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-01 19:28:22 +0000
commit7105bd6c855f13e11f33c6356906cc84bc2f0ae0 (patch)
tree5dd115815ad3e7c37b6d302031b3d00fb536bcac /gcc/config/darwin.h
parent8c27005f40b5bb3794836b9568838e84c17338ea (diff)
downloadgcc-7105bd6c855f13e11f33c6356906cc84bc2f0ae0.tar.gz
2006-03-01 Andrew Pinski <pinskia@physics.uc.edu>
PR target/25761 * config/darwin.h (MACHOPIC_JUST_INDIRECT): Check just MACHO_DYNAMIC_NO_PIC_P. (MACHOPIC_PURE): Check flag_pic and not MACHO_DYNAMIC_NO_PIC_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 495178c1e6e..cd044b74385 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -708,8 +708,8 @@ enum machopic_addr_class {
#define MACHO_DYNAMIC_NO_PIC_P (TARGET_DYNAMIC_NO_PIC)
#define MACHOPIC_INDIRECT (flag_pic || MACHO_DYNAMIC_NO_PIC_P)
-#define MACHOPIC_JUST_INDIRECT (flag_pic == 1 || MACHO_DYNAMIC_NO_PIC_P)
-#define MACHOPIC_PURE (flag_pic == 2 && ! MACHO_DYNAMIC_NO_PIC_P)
+#define MACHOPIC_JUST_INDIRECT (MACHO_DYNAMIC_NO_PIC_P)
+#define MACHOPIC_PURE (flag_pic && ! MACHO_DYNAMIC_NO_PIC_P)
#undef TARGET_ENCODE_SECTION_INFO
#define TARGET_ENCODE_SECTION_INFO darwin_encode_section_info