Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: bart Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Sat, 1 Jun 2024 11:09:25 +0100 Organization: A noiseless patient Spider Lines: 22 Message-ID: References: <20240530170836.00005fa0@yahoo.com> <20240530180345.00003d9f@yahoo.com> <20240531161937.000063af@yahoo.com> <20240531162811.00006719@yahoo.com> <20240531164835.00007128@yahoo.com> <20240531173437.00003bee@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 01 Jun 2024 12:09:25 +0200 (CEST) Injection-Info: dont-email.me; posting-host="91ec5d79126354b953c01cb00293891d"; logging-data="2872206"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18c01VMc8OMg5N0bFtr8Ytb" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:wWsN5j99S8GVZSZlNARmB9nyHXE= In-Reply-To: Content-Language: en-GB Bytes: 2390 On 01/06/2024 02:37, jak wrote: > bart ha scritto: >> 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? >> >> 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. > >     typedef unsigned char uchar; >     extern uchar _binary_hello_c_size[]; >     long hello_c_size = _binary_hello_c_size - (uchar *)0; What result for the size did you get when you ran this? It seems people are just guessing what might be the right code and posting random fragments!