aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1995-05-09 10:22:18 +0000
committerJason Merrill <merrill@gnu.org>1995-05-09 10:22:18 +0000
commitfa1b14518ae876a297be40bfa169e8f70df7aa2c (patch)
treeb5c38c3f34ae779c5cd63cf46bf15dce3682ae0d /gcc
parentcbbbd91755949fc01b225e9af2096400c775bb11 (diff)
downloadgcc-fa1b14518ae876a297be40bfa169e8f70df7aa2c.zip
gcc-fa1b14518ae876a297be40bfa169e8f70df7aa2c.tar.gz
gcc-fa1b14518ae876a297be40bfa169e8f70df7aa2c.tar.bz2
*** empty log message ***
From-SVN: r9596
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.h4
-rw-r--r--gcc/config/rs6000/xm-mach.h1
-rw-r--r--gcc/config/rs6000/xm-rs6000.h6
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 0d3df3c..acd5308 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -101,10 +101,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Don't turn -B into -L if the argument specifies a relative file name. */
#define RELATIVE_PREFIX_NOT_LINKDIR
-/* The AIX linker will discard static constructors in object files before
- collect has a chance to see them, so scan the object files directly. */
-#define COLLECT_SCAN_OBJECTS
-
/* Architecture type. */
extern int target_flags;
diff --git a/gcc/config/rs6000/xm-mach.h b/gcc/config/rs6000/xm-mach.h
index c9c835e..e35395b 100644
--- a/gcc/config/rs6000/xm-mach.h
+++ b/gcc/config/rs6000/xm-mach.h
@@ -21,3 +21,4 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "rs6000/xm-rs6000.h"
#undef USG
+#undef COLLECT_EXPORT_LIST
diff --git a/gcc/config/rs6000/xm-rs6000.h b/gcc/config/rs6000/xm-rs6000.h
index c63de77..c6f89d3 100644
--- a/gcc/config/rs6000/xm-rs6000.h
+++ b/gcc/config/rs6000/xm-rs6000.h
@@ -52,3 +52,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Big buffers improve performance. */
#define IO_BUFFER_SIZE (0x8000 - 4096)
+
+#ifndef CROSS_COMPILE
+/* The AIX linker will discard static constructors in object files before
+ collect has a chance to see them, so scan the object files directly. */
+#define COLLECT_EXPORT_LIST
+#endif