From: Jason Merrill Date: Tue, 9 May 1995 10:22:18 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa1b14518ae876a297be40bfa169e8f70df7aa2c;p=gcc.git *** empty log message *** From-SVN: r9596 --- diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 0d3df3c1759..acd5308567e 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 c9c835e7eca..e35395b3e8f 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 c63de772745..c6f89d307a8 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