Re: [PATCH] Fix linux64 function size in ppc-xlate.pl

2013-10-14 Thread Andy Polyakov
It's pretty old code and I assume it was simply copied from compiler output. I write "assume" because it was contributed. It might have been bug/feature in early gcc. One can see .size 24 in gcc-4.8.1/gcc/config/rs6000/rs6000.c, which is now guarded by "if (DOT_SYMBOLS)", where DOT_SYMBOLS appe

[PATCH] Fix linux64 function size in ppc-xlate.pl

2013-10-14 Thread Anton Blanchard
The size field in the function descriptor actually refers to the function size not the size of the function descriptor. Remove it, otherwise all functions created with this macro end up having length 24: Num:Value Size TypeBind Vis Ndx Name 1094: 0025bd38