Re: Question about genassym, locore.s and 0-sized arrays(showstopper for an icc compiled kernel)

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Fri, 5 Sep 2003 10:55:07 +0200
On Fri, 05 Sep 2003 01:38:29 -0700
Terry Lambert <tlambert2_at_mindspring.com> wrote:

> Dan Nelson wrote:
> > I guess the correct question to be asking is "does the ELF format allow
> > 0-length symbols?"
> 
> It does, according to my reading of it.  They may have an issue with
> dead code removal or element aliasing.  The way to find out would be
> to see what they emit for "[]"... 0 lenth, or 1?

% <icc.c 
char array[];

% nm icc.o
00000001 C array

Bye,
Alexander.

-- 
            The dark ages were caused by the Y1K problem.

http://www.Leidinger.net                       Alexander _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Thu Sep 04 2003 - 23:54:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC