aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-10 23:38:38 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-10 23:38:38 +0100
commit3d92284aab82bb969c46025cddb175aa2ff7a5e2 (patch)
tree98e7fba8e80b3f3f4e67b786ff3c0ca462f3fd81 /gcc
parenta9de2770f26f3e76ae9f4552867623d1c7866618 (diff)
parentb76cd1ec361712e1ac9ca5e0246da24ea2b78916 (diff)
downloadgcc-3d92284aab82bb969c46025cddb175aa2ff7a5e2.zip
gcc-3d92284aab82bb969c46025cddb175aa2ff7a5e2.tar.gz
gcc-3d92284aab82bb969c46025cddb175aa2ff7a5e2.tar.bz2
Merge commit '8a30775b0d3037123ee540f7b65a736ad49e05ce^' into HEAD
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/go-backend.cc6
-rw-r--r--gcc/go/go-lang.cc8
2 files changed, 7 insertions, 7 deletions
diff --git a/gcc/go/go-backend.cc b/gcc/go/go-backend.cc
index c6a1a2b..6e2c919 100644
--- a/gcc/go/go-backend.cc
+++ b/gcc/go/go-backend.cc
@@ -45,8 +45,8 @@ along with GCC; see the file COPYING3. If not see
#define GO_EXPORT_SECTION_NAME ".go_export"
#endif
-#ifndef TARGET_AIX
-#define TARGET_AIX 0
+#ifndef TARGET_AIX_OS
+#define TARGET_AIX_OS 0
#endif
/* This file holds all the cases where the Go frontend needs
@@ -107,7 +107,7 @@ go_write_export_data (const char *bytes, unsigned int size)
{
gcc_assert (targetm_common.have_named_sections);
sec = get_section (GO_EXPORT_SECTION_NAME,
- TARGET_AIX ? SECTION_EXCLUDE : SECTION_DEBUG,
+ TARGET_AIX_OS ? SECTION_EXCLUDE : SECTION_DEBUG,
NULL);
}
diff --git a/gcc/go/go-lang.cc b/gcc/go/go-lang.cc
index b6e8c37..c6c147b 100644
--- a/gcc/go/go-lang.cc
+++ b/gcc/go/go-lang.cc
@@ -39,8 +39,8 @@ along with GCC; see the file COPYING3. If not see
#include "go-c.h"
#include "go-gcc.h"
-#ifndef TARGET_AIX
-#define TARGET_AIX 0
+#ifndef TARGET_AIX_OS
+#define TARGET_AIX_OS 0
#endif
/* Language-dependent contents of a type. */
@@ -116,9 +116,9 @@ go_langhook_init (void)
args.compiling_runtime = go_compiling_runtime;
args.debug_escape_level = go_debug_escape_level;
args.debug_escape_hash = go_debug_escape_hash;
- args.nil_check_size_threshold = TARGET_AIX ? -1 : 4096;
+ args.nil_check_size_threshold = TARGET_AIX_OS ? -1 : 4096;
args.debug_optimization = go_debug_optimization;
- args.need_eqtype = TARGET_AIX ? true : false;
+ args.need_eqtype = TARGET_AIX_OS ? true : false;
args.linemap = go_get_linemap();
args.backend = go_get_backend();
go_create_gogo (&args);