Works. Thanks.

The patch was pushed (
http://repo.or.cz/tinycc.git/commit/76e16465bfce78a2a7bbe54470723fe4d640e1e4
)

2017-04-27 13:22 GMT+02:00 grischka <[email protected]>:

> Thomas Stalder wrote:
>
>> Hello,
>>
>> I have made somes tests and the commit :
>>
>> http://repo.or.cz/tinycc.git/commitdiff/ca92bfc3c64128872793
>> c167de3a58a78b9a1299
>> reintroduces the problem.
>>
>>
> Try this and commit if it works and the tests pass.  Thanks,
>
> -- grischka
>
> ----------------------------------- tccelf.c
> -----------------------------------
> @@ -988,9 +988,13 @@ ST_FUNC void build_got_entries(TCCState *s1)
>                                 || (ELFW(ST_TYPE)(esym->st_info) ==
> STT_NOTYPE
>                                     && ELFW(ST_TYPE)(sym->st_info) ==
> STT_FUNC)))
>                             goto jmp_slot;
>                     }
> -                } else if (!(sym->st_shndx == SHN_ABS && PTR_SIZE == 8))
> +                } else if (!(sym->st_shndx == SHN_ABS
> +#ifndef TCC_TARGET_ARM
> +                            && PTR_SIZE == 8
> +#endif
> +                            ))
>                      continue;
>
>              }
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to