aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@baylibre.com>2024-03-10 23:38:46 +0100
committerThomas Schwinge <tschwinge@baylibre.com>2024-03-10 23:38:46 +0100
commitffba2ab00fb01d77dfc4103bfffabebfc2568d9a (patch)
tree133f9d25f3c9f4cb5646d6367eab8ea15c7ba889 /gcc
parent3d92284aab82bb969c46025cddb175aa2ff7a5e2 (diff)
parent8a30775b0d3037123ee540f7b65a736ad49e05ce (diff)
downloadgcc-ffba2ab00fb01d77dfc4103bfffabebfc2568d9a.zip
gcc-ffba2ab00fb01d77dfc4103bfffabebfc2568d9a.tar.gz
gcc-ffba2ab00fb01d77dfc4103bfffabebfc2568d9a.tar.bz2
Merge commit '8a30775b0d3037123ee540f7b65a736ad49e05ce' into HEAD
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/rust-object-export.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rust/rust-object-export.cc b/gcc/rust/rust-object-export.cc
index e2d7765..21f66a3 100644
--- a/gcc/rust/rust-object-export.cc
+++ b/gcc/rust/rust-object-export.cc
@@ -45,8 +45,8 @@
#define RUST_EXPORT_SECTION_NAME ".rust_export"
#endif
-#ifndef TARGET_AIX
-#define TARGET_AIX 0
+#ifndef TARGET_AIX_OS
+#define TARGET_AIX_OS 0
#endif
/* Return whether or not GCC has reported any errors. */
@@ -90,7 +90,7 @@ rust_write_export_data (const char *bytes, unsigned int size)
{
gcc_assert (targetm_common.have_named_sections);
sec = get_section (RUST_EXPORT_SECTION_NAME,
- TARGET_AIX ? SECTION_EXCLUDE : SECTION_DEBUG, NULL);
+ TARGET_AIX_OS ? SECTION_EXCLUDE : SECTION_DEBUG, NULL);
}
switch_to_section (sec);