/* 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;
#include "rs6000/xm-rs6000.h"
#undef USG
+#undef COLLECT_EXPORT_LIST
/* 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