home *** CD-ROM | disk | FTP | other *** search
- >>>>> "MTK" == mw <mw@eunet.ch> writes:
- MTK> Well, the example given to exhibit the bug, didn't.. I then saw
- MTK> some construct that caused a .size of -1, and that was (from
- MTK> memory): static char *foo[] = { "bleh", "blah", "gargel", };
-
- MTK> However, both versions, old and "fixed" gcc, did a .size -1 on
- MTK> this construct.
-
- >> Most architectures don't care about the size directive (well, maybe
- >> debuggers do) but some shared-lib implementations do, notably SVR4.
-
- MTK> NetBSD does, too. In fact, "our" shared libraries are much more
- MTK> like SVR4 shared libs than like SunOS. I felt like dejavu when I
- MTK> did the netbsd gcc, somehow I did almost the same thing months
- MTK> ago for Amiga Unix already :-)
-
- You did also look at the ASM_DECLARE_OBJECT_NAME, didn't you? They're
- a pair, specifically size_directive_output (or sth like that) needs to
- be initialized there. This is just a hint, maybe there's more to it.
-
- Niklas
-
- Niklas Hallqvist Phone: +46-(0)31-40 75 00
- Applitron Datasystem Fax: +46-(0)31-83 39 50
- Molndalsvagen 95 Email: niklas@appli.se
- S-412 63 GOTEBORG, Sweden mcsun!seunet!appli!niklas
-
-