This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Clarification for parameters around the assembler
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Markus Elfring <Markus dot Elfring at web dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 25 Oct 2016 22:12:21 +0200
- Subject: Re: Clarification for parameters around the assembler
- Authentication-results: sourceware.org; auth=none
- References: <a4e85991-51a8-09a6-5e06-2178657377b0@web.de>
* Markus Elfring:
> Hello,
>
> Do you know any more parameters which can be passed to command options
> like "-Wa," and "-Xassembler"?
> https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Assembler-Options.html
>
> Can the naming convention be influenced for address labels in generated
> source code for example?
Not by changing the assembler command line arguments because the
assembler is the consumer, not the generator of assembly code produced
by GCC. Assembler flags are described in the assembler manual. For a
GNU system, that's in the binutils/GAS documentation.
I don't think it is possible to make substantial changes to the labels
generated without changing the GCC backend code (but if it's all about
labels, it's probably not too difficult to do so).