This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: link_warning fix
Roland McGrath writes:
> > It is necessary in the first place because #APP is turned on through a
> > strange sectionname in
> >
> > static const char <variable> __attribute__ ((section ("<sectionname>")));
> >
> > for which gcc does not emit #NO_APP automatically by itself.
>
> That is clearly a GCC bug.
I don't agree. We put a strange string "foobar\n#APP\n\t#" into the
section name. It is unreasonable to except that gcc will scan user
given strings to see if they contain assembler directives.
Bruno