This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR48109 using artificial top-level asm statements (darwin/objc)


Hello,

This patch started as an attempt to remove #include "output.h" from
objc/: Instead of writing references directly to asm_out_file, the
references are output as top-level asm statements. It's a bit of a
hack, but it works and it's a "better hack" than writing to
asm_out_file from a front end, and it also happens to fix PR
objc/48109 to make ObjC on darwin/-m32 LTO-compatible.

Bootstrapped&tested on darwin by Iain, and bootstrapped&tested by me
on x86_64-unknown-linux-gnu.
OK for trunk?

Ciao!
Steven

Attachment: 188505-SB-objc-pr48109-v2.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]