[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] RE : RE : Rewrite of gfunc_call on arm
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] RE : RE : Rewrite of gfunc_call on arm |
Date: |
Sun, 17 Nov 2013 18:03:39 +0100 |
Are you sure?
After a fresh tcc install
I see you changes:
case R_ARM_PLT32:
{
int x, is_thumb, is_call, h, blx_avail, is_bl, th_ko;
x = (*(int *) ptr) & 0xffffff;
And others from "Allow thumb transition for R_ARM_PC24", yet I still have
segfault:
------------ abitest ------------
./abitest-cc lib_path=.. include="../include"
ret_int_test... success
ret_longlong_test... success
ret_float_test... success
ret_double_test... success
ret_longdouble_test... success
ret_2float_test... Segmentation fault
make[1]: *** [abitest] Error 139
Christian
-----Original Message-----
From: Thomas Preud'homme [mailto:address@hidden
Sent: dimanche 17 novembre 2013 17:09
To: address@hidden
Cc: Christian JULLIEN
Subject: Re: [Tinycc-devel] RE : RE : Rewrite of gfunc_call on arm
Le dimanche 17 novembre 2013, 13:38:12 Thomas Preud'homme a écrit :
>
> About the float ret test, it's now the next arm item on my todo list.
> Before that I want to fix a relocation bug I'm having when running one
> of the test of tcc's testsuite. Again, I think I have a fix but the
> relocation bug then turns into a segfault (I suspect a bit later in
> the test). Anyway, I'll keep you informed when float_ret will work.
Also fixed. For the curious, bl to blx conversion was only made for R_ARM_CALL
relocation while it's also possible for R_ARM_PC24 relocation when the
instruction being relocated is an unconditional branch and link (bl).
Best regards,
Thomas