Branch: Tag:

2015-05-23

2015-05-23 22:38:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [sparc]: Added kludge to fix the code-generator for sparc.

Some of the branch opcodes were broken on sparc when PIKE_DEBUG
wasn't active. This is a temporary workaround.

824:   #define addstr(s, l) low_my_binary_strcat((s), (l), buf)   #define adddata2(s,l) addstr((char *)(s),(l) * sizeof((s)[0]));    + int sparc_force_fp(void) + { +  return 0; + } +    void sparc_encode_program(struct program *p, struct dynamic_buffer_s *buf)   {    size_t prev = 0, rel;