Liste des Groupes | Revenir à cl c |
bart ha scritto:What result for the size did you get when you ran this?I can see that the first two can be subtracted to give the sizes of the data, which is 70 or 0x46. 0x46 is the last byte of the address of _size, so what's happening there? What's with the crap in bits 16-47?typedef unsigned char uchar;
>
I can extract the size using:
>
printf("%d\n", (unsigned short)&_binary_hello_c_size);
>
But something is not right. I've also asked what is the point of the -size symbol if you can just do -end - -start, but nobody has explained.
extern uchar _binary_hello_c_size[];
long hello_c_size = _binary_hello_c_size - (uchar *)0;
Les messages affichés proviennent d'usenet.