Displaying 2 results from an estimated 2 matches for "sizeofchar".
Did you mean:
sizeof_char
2016 Jan 12
0
Re: Note regarding bin2s.pl
...ze;
> +extern uint8_t _binary_init_start, _binary_init_end;
>
> Does the char to uint8_t change really makes such a big difference?
> We will just use the address of the variable anyway.
It seems from this answer:
https://stackoverflow.com/questions/2215445/are-there-machines-where-sizeofchar-1-or-at-least-char-bit-8
that sizeof (char) is always 1 so it would never make a difference.
However I suppose it's better to be clearer about what we intend.
> - size_t n = (size_t) &_binary_init_size;
> + size_t n = &_binary_init_end - &_binary_init_start;
>
> It&...
2016 Jan 12
2
Re: Note regarding bin2s.pl
On 12.01.2016 12:10, Richard W.M. Jones wrote:
> On Tue, Jan 12, 2016 at 10:05:00AM +0000, Richard W.M. Jones wrote:
>> On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote:
>>> Helge,
>>>
>>> I have applied all the architecture-specific bits but not the bin2s
>>> script yet. TBH, so far I don't see what is wrong about export and use