diff options
author | YamaArashi <shadow962@live.com> | 2016-02-14 19:26:29 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-14 19:26:29 -0800 |
commit | 62f1c8373a074a7ffb3d0f7458803bf0b07e626e (patch) | |
tree | 32045778cc5a8458ba8ded51dfd79356fbff9d9d /gcc/integrate.c | |
parent | abcd805cb77cfcfe0b5f911b784610983750a0b2 (diff) |
remove PIC (non-working and disabled)
Diffstat (limited to 'gcc/integrate.c')
-rwxr-xr-x | gcc/integrate.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 65e6011..b2c8aa3 100755 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -296,8 +296,7 @@ initialize_for_inline (fndecl, min_labelno, max_labelno, max_reg, copy) + current_function_needs_context * FUNCTION_FLAGS_NEEDS_CONTEXT + current_function_has_nonlocal_label * FUNCTION_FLAGS_HAS_NONLOCAL_LABEL + current_function_returns_pointer * FUNCTION_FLAGS_RETURNS_POINTER - + current_function_uses_const_pool * FUNCTION_FLAGS_USES_CONST_POOL - + current_function_uses_pic_offset_table * FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE); + + current_function_uses_const_pool * FUNCTION_FLAGS_USES_CONST_POOL); /* Clear out PARMDECL_MAP. It was allocated in the caller's frame. */ zero_memory ((char *) parmdecl_map, max_parm_reg * sizeof (tree)); @@ -1589,11 +1588,6 @@ expand_inline_function (fndecl, parms, target, ignore, type, if (OUTGOING_ARGS_SIZE (header) > current_function_outgoing_args_size) current_function_outgoing_args_size = OUTGOING_ARGS_SIZE (header); - /* If the inline function needs to make PIC references, that means - that this function's PIC offset table must be used. */ - if (FUNCTION_FLAGS (header) & FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE) - current_function_uses_pic_offset_table = 1; - /* If this function needs a context, set it up. */ if (FUNCTION_FLAGS (header) & FUNCTION_FLAGS_NEEDS_CONTEXT) static_chain_value = lookup_static_chain (fndecl); @@ -3406,9 +3400,6 @@ output_inline_function (fndecl) if (FUNCTION_FLAGS (head) & FUNCTION_FLAGS_USES_CONST_POOL) current_function_uses_const_pool = 1; - if (FUNCTION_FLAGS (head) & FUNCTION_FLAGS_USES_PIC_OFFSET_TABLE) - current_function_uses_pic_offset_table = 1; - current_function_outgoing_args_size = OUTGOING_ARGS_SIZE (head); current_function_pops_args = POPS_ARGS (head); |