Darwin: Guard two macros in darwin.h.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 2 Aug 2020 15:44:02 +0000 (16:44 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 3 Aug 2020 18:59:32 +0000 (19:59 +0100)
commit105fe3e0b896998b4a1b5a79ad6526959c2e2e7a
tree05d5ebb5778314b236ad7bd043c3843fbeaf78b6
parent7ddee9cd99beb2c3603bf307d263c6fd9cc05e90
Darwin: Guard two macros in darwin.h.

Work on the Arm64 port shows that these two macros can be declared
ahead of the version in darwin.h which needs to override (for X86
and PPC this wasn't needed).

gcc/ChangeLog:

* config/darwin.h (ASM_DECLARE_FUNCTION_NAME): UNDEF before
use.
(DEF_MIN_OSX_VERSION): Only define if there's no existing
def.
gcc/config/darwin.h