This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix -falign-labels
- From: Richard Henderson <rth at redhat dot com>
- To: Samuel Figueroa <figueroa at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Sep 2002 22:46:35 -0700
- Subject: Re: Patch to fix -falign-labels
- References: <CA76605A-C9D5-11D6-B0C8-00039375B81A@apple.com>
On Mon, Sep 16, 2002 at 05:38:31PM -0700, Samuel Figueroa wrote:
> * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
> *sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
> * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
I guess this is ok for now.
If we ever convert the alignment bits to a target hook, we should
combine ASM_OUTPUT_ALIGN with ASM_OUTPUT_MAX_SKIP_ALIGN and have
an argument that indicates code vs data.
r~