On 06/06/2012 03:31 PM, Steven Bosscher wrote:
On Thu, Jun 7, 2012 at 12:00 AM, Michael Eager<ea...@eagercon.com> wrote:
This is the patch to deal with #ident. It removes the ASM_OUTPUT_IDENT
and IDENT_ASM_OP target macros, and replaces them with a single target
hook. For targets that treat front-end #idents different from the GCC
version string .ident, the hooks can use cgraph_status to distinguish
them.
This patch was bootstrapped and tested on powerpc64-unknown-linux-gnu
with all languages enabled (c,c++,objc,obj-c++,fortran,java,ada), and
on x86_64-unknown-linux-gnu (c,c++,objc,fortran,ada). In addition, I
have built cross-tools in combined trees (src+gcc) from
powerpc64-unknown-linux-gnu to cris-elf, mips-elf, rx-elf, and
microblaze-elf, and verified that the differences in assembler output
are negligible (only #APP / #NO_APP, which is emitted for all
top-level asms, and an extra blank line). I have also tested mips-sim
and compared the test results without and with patch.
OK for trunk?
OK for MicroBlaze.
--
Michael Eager ea...@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077