diff options
author | John van Groningen | 2016-01-07 13:38:15 +0000 |
---|---|---|
committer | John van Groningen | 2016-01-07 13:38:15 +0000 |
commit | 643243f744845612f8923c9ca5242c38268d4209 (patch) | |
tree | 0fa1bc5147bdcb08618ad6351ae37a4ace6ccf37 | |
parent | include cgarmas.h and cgarmwas.h for ARM (diff) |
no extra _ for c labels on ARM (also if LINUX_ELF is undefined)
-rw-r--r-- | cgcode.c | 4 | ||||
-rw-r--r-- | cginstructions.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5844,7 +5844,7 @@ void code_pushLc (char *c_function_name) INSTRUCTION_GRAPH graph_1; LABEL *label; -#if (defined (sparc) && !defined (SOLARIS)) || ((defined (I486) || defined (ARM)) && !defined (G_AI64) && !defined (LINUX_ELF)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) +#if (defined (sparc) && !defined (SOLARIS)) || (defined (I486) && !defined (G_AI64) && !defined (LINUX_ELF)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) char label_name [202]; # if defined (G_POWER) && !defined (MACH_O) @@ -10127,7 +10127,7 @@ void code_start (char *label_name) return; code_o (0,0,e_vector); -#if defined (SOLARIS) || defined (LINUX_ELF) || defined (MACH_O64) +#if defined (SOLARIS) || defined (LINUX_ELF) || defined (MACH_O64) || defined (ARM) code_label ("__start"); code_export ("__start"); #else diff --git a/cginstructions.c b/cginstructions.c index dec7eb9..d05549f 100644 --- a/cginstructions.c +++ b/cginstructions.c @@ -3646,7 +3646,7 @@ static void push_extra_clean_b_register_parameters (int n_extra_clean_b_register #endif } -#if (defined (sparc) && !defined (SOLARIS)) || ((defined (I486) || defined (ARM)) && !defined (LINUX_ELF) && !defined (G_AI64)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) +#if (defined (sparc) && !defined (SOLARIS)) || (defined (I486) && !defined (LINUX_ELF) && !defined (G_AI64)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) static LABEL *enter_c_function_name_label (char *c_function_name) { char label_name [202]; @@ -6396,7 +6396,7 @@ void code_centry (char *c_function_name,char *clean_function_label,char *s,int l n_integer_and_float_parameters=n_integer_parameters+n_float_parameters; #endif -# if (defined (sparc) && !defined (SOLARIS)) || ((defined (I486) || defined (ARM)) && !defined (LINUX_ELF) && !defined (G_AI64)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) +# if (defined (sparc) && !defined (SOLARIS)) || (defined (I486) && !defined (LINUX_ELF) && !defined (G_AI64)) || (defined (G_POWER) && !defined (LINUX_ELF)) || defined (MACH_O) || defined (MACH_O64) { char label_name [202]; |