]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/testsuite/Makefile.am
* layout.cc (Layout::make_output_section): Call
[thirdparty/binutils-gdb.git] / gold / testsuite / Makefile.am
index 3bb5bd3a5f86acbc9f48702cbea4bf6a0cd54ed5..5afd4b0a58241210cd6e1d82c473880cfa25ab92 100644 (file)
@@ -1092,5 +1092,13 @@ discard_locals_test.syms: discard_locals_test
 discard_locals_test.o: discard_locals_test.c
        $(COMPILE) -c -Wa,-L -o $@ $<
 
+if MCMODEL_MEDIUM
+check_PROGRAMS += large
+large_SOURCES = large.c
+large_CFLAGS = -mcmodel=medium
+large_DEPENDENCIES = gcctestdir/ld
+large_LDFLAGS = -Bgcctestdir/
+endif MCMODEL_MEDIUM
+
 endif GCC
 endif NATIVE_LINKER