public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6109] Darwin: Define OBJECT_FORMAT_MACHO.
Date: Fri, 24 Dec 2021 10:39:50 +0000 (GMT)	[thread overview]
Message-ID: <20211224103950.EB7F73858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:9a4a29eaf23a87debb7f1761b36fead545282dfa

commit r12-6109-g9a4a29eaf23a87debb7f1761b36fead545282dfa
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Wed Dec 22 14:00:25 2021 +0000

    Darwin: Define OBJECT_FORMAT_MACHO.
    
    There are places that we need to make different codegen depending
    on the object format rather than on the arch.  We already have
    definitions for ELF, COFF etc. this adds one for MACHO.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    gcc/ChangeLog:
    
            * config/darwin.h (OBJECT_FORMAT_MACHO): New.

Diff:
---
 gcc/config/darwin.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 75b688ebf9e..c175eade887 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -43,6 +43,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #define DARWIN_X86 0
 #define DARWIN_PPC 0
 
+#define OBJECT_FORMAT_MACHO 1
+
 /* Suppress g++ attempt to link in the math library automatically. */
 #define MATH_LIBRARY ""


                 reply	other threads:[~2021-12-24 10:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211224103950.EB7F73858D28@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).