[patch][ARM] Do not include output.h in arm-c.c

Steven Bosscher stevenb.gcc@gmail.com
Tue Jun 19 22:55:00 GMT 2012


Hello,

Only a few front-end files to go that need output.h, and some of them
are in the c_target_objs: arm, mep, m32c, and rl78.

This patch tackles the ARM case.  arm-c.c needs output.h because
EMIT_EABI_ATTRIBUTE wants to print to asm_out_file. Solved by
replacing EMIT_EABI_ATTRIBUTE with a function
arm.c:arm_emit_eabi_attribute.

Tested by building a cross-compiler from powerpc64-unknown-linux-gnu X
arm-eabi, and comparing assembly on a set of files.
OK for trunk?

Ciao!
Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_C_no_output_h.diff
Type: application/octet-stream
Size: 6453 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120619/542d0b54/attachment.obj>


More information about the Gcc-patches mailing list