From 62f1c8373a074a7ffb3d0f7458803bf0b07e626e Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 14 Feb 2016 19:26:29 -0800 Subject: remove PIC (non-working and disabled) --- gcc/varasm.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gcc/varasm.c') diff --git a/gcc/varasm.c b/gcc/varasm.c index 267ff99..e1f83bc 100755 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -464,10 +464,7 @@ exception_section () #ifdef ASM_OUTPUT_SECTION_NAME named_section (NULL_TREE, ".gcc_except_table", 0); #else - if (flag_pic) - data_section (); - else - readonly_data_section (); + readonly_data_section (); #endif #endif } @@ -2942,8 +2939,7 @@ output_constant_def_contents (exp, reloc, labelno) #ifdef SELECT_SECTION SELECT_SECTION (exp, reloc); #else - if (((TREE_CODE (exp) == STRING_CST) && flag_writable_strings) - || (flag_pic && reloc)) + if ((TREE_CODE (exp) == STRING_CST) && flag_writable_strings) data_section (); else readonly_data_section (); -- cgit v1.2.3