tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] GAS symbols


From: Vladimir Vissoultchev
Subject: Re: [Tinycc-devel] GAS symbols
Date: Thu, 31 Mar 2016 10:47:51 +0300

> Another qiestion: what purpose of the following change?
>
>                 if (tok != TOK_STR)
>                      expect("string constant");
>                  next();
> +                if (tok == ',') {
> +                    next();
> +                    if (tok == '@' || tok == '%')
> +                        next();
> +                    next();
> +                }

 

For ELF targets, the .section directive is used like this:

 

.section name [, "flags"[, @type[,flag_specific_arguments]]]

 

Had some failing .S file with @type supplied on section directives. This just ignores it (but not `flag_specific_arguments` it seems).

 

cheers,

</wqw>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]