Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: jak Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Sat, 1 Jun 2024 03:37:04 +0200 Organization: A noiseless patient Spider Lines: 15 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 03:37:06 +0200 (CEST) Injection-Info: dont-email.me; posting-host="728b09861fb379a3c088593349670a89"; logging-data="2603621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+THVC0kWAJnQAOXRGN5K+w" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2 Cancel-Lock: sha1:IlgmZFQdBZmyVG6L3vOLOWbMG1w= In-Reply-To: Bytes: 2221 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;