svn commit: trunk/uClibc/include

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Jan 27 07:33:27 UTC 2006


On Fri, 2006-01-27 07:53:57 +0100, Peter S. Mazinger <ps.m at gmx.net> wrote:
> On Thu, 26 Jan 2006 jbglaw at uclibc.org wrote:
> > Date: 2006-01-26 22:18:25 -0800 (Thu, 26 Jan 2006)
> > New Revision: 13633
> > 
> > Log:
> > The VAX gas cannot (yet) cope with the tricks played here, so I'm grounding
> > linktime warnings for now.
> > Changeset:
> > Modified: trunk/uClibc/include/libc-symbols.h
> > ===================================================================
> > --- trunk/uClibc/include/libc-symbols.h	2006-01-27 05:28:00 UTC (rev 13632)
> > +++ trunk/uClibc/include/libc-symbols.h	2006-01-27 06:18:25 UTC (rev 13633)
> > @@ -257,7 +257,7 @@
> >  
> >  /* When a reference to SYMBOL is encountered, the linker will emit a
> >     warning message MSG.  */
> > -#ifdef __cris__
> > +#if defined(__cris__) || defined(__vax__)
> >  # define link_warning(symbol, msg)
> >  #else
> >  # define link_warning(symbol, msg) \
> 
> Shouldn't we convert this and the other check for __sparc__ 
> (HAVE_SECTION_QUOTES) into bits/uClibc_arch_features.h?
> 
> Couldn't it be that these 2 are in reality the same problem, needing for 
> cris/vax/sparc 
> #define __sec_comment "\"\n\t#\"" ?

With #define __sec_comment "\n\t#":

/tmp/cc2MAnSn.s: Assembler messages:
/tmp/cc2MAnSn.s:16: Error: junk at end of line, first unrecognized character is `,'
make: *** [libnsl/nsl.o] Error 1

GAS expects "# APP" and "# NO_APP" after a '#'. As it seems, current
GAS for VAX expects preprocessed (and comment-free) assembler files.

With the more fancy #define __sec_comment "\"\n\t#\"", this results
in:

/tmp/ccEL79x8.s: Assembler messages:
/tmp/ccEL79x8.s:16: Error: junk at end of line, first unrecognized character is `"'
make: *** [libnsl/nsl.o] Error 1

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060127/af2a9ad6/attachment-0002.pgp 


More information about the uClibc mailing list