|
|
869a11 |
diff -rup binutils.orig/gold/testsuite/Makefile.am binutils-2.30/gold/testsuite/Makefile.am
|
|
|
869a11 |
--- binutils.orig/gold/testsuite/Makefile.am 2018-05-31 16:14:12.736538727 +0100
|
|
|
869a11 |
+++ binutils-2.30/gold/testsuite/Makefile.am 2018-06-01 10:15:00.936103521 +0100
|
|
|
869a11 |
@@ -393,7 +393,7 @@ icf_sht_rel_addend_test: icf_sht_rel_add
|
|
|
869a11 |
icf_sht_rel_addend_test.stdout: icf_sht_rel_addend_test
|
|
|
869a11 |
$(TEST_NM) icf_sht_rel_addend_test > icf_sht_rel_addend_test.stdout
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += large_symbol_alignment
|
|
|
869a11 |
+# check_PROGRAMS += large_symbol_alignment
|
|
|
869a11 |
large_symbol_alignment_SOURCES = large_symbol_alignment.cc
|
|
|
869a11 |
large_symbol_alignment_DEPENDENCIES = gcctestdir/ld
|
|
|
869a11 |
large_symbol_alignment_LDFLAGS = -Bgcctestdir/
|
|
|
869a11 |
@@ -783,7 +783,7 @@ weak_test_DEPENDENCIES = gcctestdir/ld
|
|
|
869a11 |
weak_test_LDFLAGS = -Bgcctestdir/
|
|
|
869a11 |
weak_test_LDADD =
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += weak_undef_test
|
|
|
869a11 |
+# check_PROGRAMS += weak_undef_test
|
|
|
869a11 |
MOSTLYCLEANFILES += alt/weak_undef_lib.so
|
|
|
869a11 |
weak_undef_test_SOURCES = weak_undef_test.cc
|
|
|
869a11 |
weak_undef_test_DEPENDENCIES = gcctestdir/ld weak_undef_lib.so alt/weak_undef_lib.so
|
|
|
869a11 |
@@ -1409,7 +1409,7 @@ initpri2_DEPENDENCIES = gcctestdir/ld
|
|
|
869a11 |
initpri2_LDFLAGS = -Bgcctestdir/ -Wl,--ctors-in-init-array
|
|
|
869a11 |
initpri2_LDADD =
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += initpri3a
|
|
|
869a11 |
+# check_PROGRAMS += initpri3a
|
|
|
869a11 |
initpri3a_SOURCES = initpri3.c
|
|
|
869a11 |
initpri3a_DEPENDENCIES = gcctestdir/ld
|
|
|
869a11 |
initpri3a_LDFLAGS = -Bgcctestdir/
|
|
|
869a11 |
@@ -1897,19 +1897,19 @@ relro_script_test_LDADD = relro_script_t
|
|
|
869a11 |
relro_script_test.so: gcctestdir/ld relro_script_test.t relro_test_pic.o
|
|
|
869a11 |
$(CXXLINK) -Bgcctestdir/ -shared -Wl,-z,relro -Wl,-T,$(srcdir)/relro_script_test.t relro_test_pic.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += script_test_1
|
|
|
869a11 |
+# check_PROGRAMS += script_test_1
|
|
|
869a11 |
script_test_1_SOURCES = script_test_1a.cc script_test_1b.cc
|
|
|
869a11 |
script_test_1_DEPENDENCIES = gcctestdir/ld script_test_1.t
|
|
|
869a11 |
script_test_1_LDFLAGS = -Bgcctestdir/ -Wl,-R,. -Wl,-T,$(srcdir)/script_test_1.t
|
|
|
869a11 |
script_test_1_LDADD =
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += script_test_2
|
|
|
869a11 |
+# check_PROGRAMS += script_test_2
|
|
|
869a11 |
script_test_2_SOURCES = script_test_2.cc script_test_2a.cc script_test_2b.cc
|
|
|
869a11 |
script_test_2_DEPENDENCIES = gcctestdir/ld script_test_2.t
|
|
|
869a11 |
script_test_2_LDFLAGS = -Bgcctestdir/ -Wl,-R,. -Wl,-T,$(srcdir)/script_test_2.t
|
|
|
869a11 |
script_test_2_LDADD =
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += justsyms
|
|
|
869a11 |
+# check_PROGRAMS += justsyms
|
|
|
869a11 |
justsyms_SOURCES = justsyms_1.cc
|
|
|
869a11 |
justsyms_DEPENDENCIES = gcctestdir/ld justsyms_2r.o
|
|
|
869a11 |
justsyms_LDFLAGS = -Bgcctestdir/ -Wl,-R,justsyms_2r.o
|
|
|
869a11 |
@@ -1919,7 +1919,7 @@ justsyms_2.o: justsyms_2.cc
|
|
|
869a11 |
justsyms_2r.o: justsyms_2.o gcctestdir/ld $(srcdir)/justsyms.t
|
|
|
869a11 |
gcctestdir/ld -o $@ -r -T $(srcdir)/justsyms.t justsyms_2.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += justsyms_exec
|
|
|
869a11 |
+# check_PROGRAMS += justsyms_exec
|
|
|
869a11 |
justsyms_exec_SOURCES = justsyms_exec.c
|
|
|
869a11 |
justsyms_exec_DEPENDENCIES = gcctestdir/ld justsyms_lib
|
|
|
869a11 |
justsyms_exec_LDFLAGS = -Bgcctestdir/ -Wl,-R,justsyms_lib
|
|
|
869a11 |
@@ -1930,7 +1930,7 @@ justsyms_lib.o: justsyms_lib.c
|
|
|
869a11 |
justsyms_lib: justsyms_lib.o gcctestdir/ld
|
|
|
869a11 |
gcctestdir/ld -o $@ -Ttext=0x1000200 -Tdata=0x2000000 -e exported_func justsyms_lib.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += binary_test
|
|
|
869a11 |
+# check_PROGRAMS += binary_test
|
|
|
869a11 |
MOSTLYCLEANFILES += binary.txt
|
|
|
869a11 |
binary_test_SOURCES = binary_test.cc
|
|
|
869a11 |
binary_test_DEPENDENCIES = gcctestdir/ld binary.txt
|
|
|
869a11 |
@@ -1952,7 +1952,7 @@ ver_matching_def_pic.o: ver_matching_def
|
|
|
869a11 |
ver_matching_test.stdout: ver_matching_def.so
|
|
|
869a11 |
$(TEST_OBJDUMP) -T ver_matching_def.so | $(TEST_CXXFILT) > ver_matching_test.stdout
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += script_test_3
|
|
|
869a11 |
+# check_PROGRAMS += script_test_3
|
|
|
869a11 |
check_SCRIPTS += script_test_3.sh
|
|
|
869a11 |
check_DATA += script_test_3.stdout
|
|
|
869a11 |
MOSTLYCLEANFILES += script_test_3.stdout
|
|
|
869a11 |
@@ -1961,7 +1961,7 @@ script_test_3: basic_test.o gcctestdir/l
|
|
|
869a11 |
script_test_3.stdout: script_test_3
|
|
|
869a11 |
$(TEST_READELF) -SlW script_test_3 > script_test_3.stdout
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += tls_phdrs_script_test
|
|
|
869a11 |
+# check_PROGRAMS += tls_phdrs_script_test
|
|
|
869a11 |
tls_phdrs_script_test_SOURCES = $(tls_test_SOURCES)
|
|
|
869a11 |
tls_phdrs_script_test_DEPENDENCIES = $(tls_test_DEPENDENCIES) $(srcdir)/script_test_3.t
|
|
|
869a11 |
tls_phdrs_script_test_LDFLAGS = $(tls_test_LDFLAGS) -Wl,-T,$(srcdir)/script_test_3.t
|
|
|
869a11 |
@@ -2043,7 +2043,7 @@ check_PROGRAMS += script_test_12
|
|
|
869a11 |
script_test_12: gcctestdir/ld $(srcdir)/script_test_12.t script_test_12a.o script_test_12b.o
|
|
|
869a11 |
$(LINK) -Bgcctestdir/ -Wl,-T,$(srcdir)/script_test_12.t script_test_12a.o script_test_12b.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += script_test_12i
|
|
|
869a11 |
+# check_PROGRAMS += script_test_12i
|
|
|
869a11 |
script_test_12i: gcctestdir/ld $(srcdir)/script_test_12i.t script_test_12a.o script_test_12b.o
|
|
|
869a11 |
$(LINK) -Bgcctestdir/ -Wl,-T,$(srcdir)/script_test_12i.t script_test_12a.o script_test_12b.o
|
|
|
869a11 |
script_test_12a.o: script_test_12a.c
|
|
|
869a11 |
@@ -3023,7 +3023,7 @@ two_file_test_2_ndebug.o: two_file_test_
|
|
|
869a11 |
two_file_test_main_ndebug.o: two_file_test_main.cc
|
|
|
869a11 |
$(CXXCOMPILE) -O0 -g0 -c -o $@ $<
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_test_2
|
|
|
869a11 |
+# check_PROGRAMS += incremental_test_2
|
|
|
869a11 |
MOSTLYCLEANFILES += two_file_test_tmp_2.o
|
|
|
869a11 |
incremental_test_2: two_file_test_1_v1_ndebug.o two_file_test_1_ndebug.o two_file_test_1b_ndebug.o \
|
|
|
869a11 |
two_file_test_2_ndebug.o two_file_test_main_ndebug.o gcctestdir/ld
|
|
|
869a11 |
@@ -3033,7 +3033,7 @@ incremental_test_2: two_file_test_1_v1_n
|
|
|
869a11 |
cp -f two_file_test_1_ndebug.o two_file_test_tmp_2.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie -Bgcctestdir/ two_file_test_tmp_2.o two_file_test_1b_ndebug.o two_file_test_2_ndebug.o two_file_test_main_ndebug.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_test_3
|
|
|
869a11 |
+# check_PROGRAMS += incremental_test_3
|
|
|
869a11 |
MOSTLYCLEANFILES += two_file_test_tmp_3.o
|
|
|
869a11 |
incremental_test_3: two_file_test_1.o two_file_test_1b_v1.o two_file_test_1b.o \
|
|
|
869a11 |
two_file_test_2.o two_file_test_main.o gcctestdir/ld
|
|
|
869a11 |
@@ -3043,7 +3043,7 @@ incremental_test_3: two_file_test_1.o tw
|
|
|
869a11 |
cp -f two_file_test_1b.o two_file_test_tmp_3.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie -Bgcctestdir/ two_file_test_1.o two_file_test_tmp_3.o two_file_test_2.o two_file_test_main.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_test_4
|
|
|
869a11 |
+# check_PROGRAMS += incremental_test_4
|
|
|
869a11 |
MOSTLYCLEANFILES += incremental_test_4.base two_file_test_tmp_4.o
|
|
|
869a11 |
incremental_test_4: two_file_test_1.o two_file_test_1b.o two_file_test_2_v1.o \
|
|
|
869a11 |
two_file_test_2.o two_file_test_main.o gcctestdir/ld
|
|
|
869a11 |
@@ -3054,7 +3054,7 @@ incremental_test_4: two_file_test_1.o tw
|
|
|
869a11 |
cp -f two_file_test_2.o two_file_test_tmp_4.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update,--incremental-base=incremental_test_4.base -Wl,-z,norelro,-no-pie -Bgcctestdir/ two_file_test_1.o two_file_test_1b.o two_file_test_tmp_4.o two_file_test_main.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_test_5
|
|
|
869a11 |
+# check_PROGRAMS += incremental_test_5
|
|
|
869a11 |
MOSTLYCLEANFILES += two_file_test_5.a
|
|
|
869a11 |
incremental_test_5: two_file_test_1.o two_file_test_1b_v1.o two_file_test_1b.o \
|
|
|
869a11 |
two_file_test_2.o two_file_test_main.o gcctestdir/ld
|
|
|
869a11 |
@@ -3068,7 +3068,7 @@ incremental_test_5: two_file_test_1.o tw
|
|
|
869a11 |
|
|
|
869a11 |
# Test the --incremental-unchanged flag with an archive library.
|
|
|
869a11 |
# The second link should not update the library.
|
|
|
869a11 |
-check_PROGRAMS += incremental_test_6
|
|
|
869a11 |
+# check_PROGRAMS += incremental_test_6
|
|
|
869a11 |
MOSTLYCLEANFILES += two_file_test_6.a
|
|
|
869a11 |
incremental_test_6: two_file_test_1.o two_file_test_1b_v1.o two_file_test_1b.o \
|
|
|
869a11 |
two_file_test_2.o two_file_test_main.o gcctestdir/ld
|
|
|
869a11 |
@@ -3080,7 +3080,7 @@ incremental_test_6: two_file_test_1.o tw
|
|
|
869a11 |
$(TEST_AR) rc two_file_test_6.a two_file_test_1.o two_file_test_tmp_6.o two_file_test_2.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie -Bgcctestdir/ two_file_test_main.o -Wl,--incremental-unchanged two_file_test_6.a -Wl,--incremental-unknown
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_copy_test
|
|
|
869a11 |
+# check_PROGRAMS += incremental_copy_test
|
|
|
869a11 |
incremental_copy_test: copy_test_v1.o copy_test.o copy_test_1.so copy_test_2.so
|
|
|
869a11 |
cp -f copy_test_v1.o copy_test_tmp.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-full,--incremental-patch=100 -Wl,-z,norelro,-no-pie -Bgcctestdir/ -Wl,-R,. -Wl,--no-as-needed copy_test_tmp.o copy_test_1.so copy_test_2.so
|
|
|
869a11 |
@@ -3088,7 +3088,7 @@ incremental_copy_test: copy_test_v1.o co
|
|
|
869a11 |
cp -f copy_test.o copy_test_tmp.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie -Bgcctestdir/ -Wl,-R,. -Wl,--no-as-needed copy_test_tmp.o copy_test_1.so copy_test_2.so
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_common_test_1
|
|
|
869a11 |
+# check_PROGRAMS += incremental_common_test_1
|
|
|
869a11 |
incremental_common_test_1: common_test_1_v1.o common_test_1_v2.o gcctestdir/ld
|
|
|
869a11 |
cp -f common_test_1_v1.o common_test_1_tmp.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-full,--incremental-patch=100 -Wl,-z,norelro,-no-pie -Bgcctestdir/ common_test_1_tmp.o
|
|
|
869a11 |
@@ -3096,7 +3096,7 @@ incremental_common_test_1: common_test_1
|
|
|
869a11 |
cp -f common_test_1_v2.o common_test_1_tmp.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-update -Wl,-z,norelro,-no-pie -Bgcctestdir/ common_test_1_tmp.o
|
|
|
869a11 |
|
|
|
869a11 |
-check_PROGRAMS += incremental_comdat_test_1
|
|
|
869a11 |
+# check_PROGRAMS += incremental_comdat_test_1
|
|
|
869a11 |
incremental_comdat_test_1: incr_comdat_test_1.o incr_comdat_test_2_v1.o incr_comdat_test_2_v2.o incr_comdat_test_2_v3.o gcctestdir/ld
|
|
|
869a11 |
cp -f incr_comdat_test_2_v1.o incr_comdat_test_1_tmp.o
|
|
|
869a11 |
$(CXXLINK) -Wl,--incremental-full,--incremental-patch=100 -Wl,-z,norelro,-no-pie -Bgcctestdir/ incr_comdat_test_1.o incr_comdat_test_1_tmp.o
|
|
|
869a11 |
diff -rup binutils.orig/gold/testsuite/Makefile.in binutils-2.30/gold/testsuite/Makefile.in
|
|
|
869a11 |
--- binutils.orig/gold/testsuite/Makefile.in 2018-05-31 16:14:12.729538804 +0100
|
|
|
869a11 |
+++ binutils-2.30/gold/testsuite/Makefile.in 2018-06-01 10:15:13.070965094 +0100
|
|
|
869a11 |
@@ -166,7 +166,6 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ alt/weak_undef_lib.so \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ libweak_undef_2.a
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_5 = icf_virtual_function_folding_test \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ large_symbol_alignment \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ basic_test basic_pic_test \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ eh_test
|
|
|
869a11 |
@GCC_FALSE@large_symbol_alignment_DEPENDENCIES =
|
|
|
869a11 |
@@ -220,7 +219,6 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E
|
|
|
869a11 |
@NATIVE_LINKER_FALSE@exception_test_DEPENDENCIES =
|
|
|
869a11 |
@GCC_TRUE@@HAVE_STATIC_TRUE@@NATIVE_LINKER_TRUE@am__append_14 = exception_static_test
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_15 = weak_test \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ weak_undef_test \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ weak_undef_test_2
|
|
|
869a11 |
@GCC_FALSE@weak_test_DEPENDENCIES =
|
|
|
869a11 |
@NATIVE_LINKER_FALSE@weak_test_DEPENDENCIES =
|
|
|
869a11 |
@@ -334,7 +332,7 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E
|
|
|
869a11 |
# Test difference between "*(a b)" and "*(a) *(b)" in input section spec.
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_39 = many_sections_test \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ many_sections_r_test initpri1 \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri2 initpri3a \
|
|
|
869a11 |
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri2 \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_specialfile \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_none \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections \
|
|
|
869a11 |
@@ -348,13 +346,9 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ ver_test_12 protected_1 \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ protected_2 relro_test \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_now_test relro_strip_test \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_script_test script_test_1 \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_2 justsyms \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ justsyms_exec binary_test \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_3 \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ tls_phdrs_script_test \
|
|
|
869a11 |
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_script_test \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ tls_script_test script_test_11 \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_12 script_test_12i \
|
|
|
869a11 |
+@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_12 \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ dynamic_list_2 \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ thin_archive_test_1 \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ thin_archive_test_2
|
|
|
869a11 |
@@ -813,15 +807,7 @@ check_PROGRAMS = $(am__EXEEXT_1) $(am__E
|
|
|
869a11 |
|
|
|
869a11 |
# Test the --incremental-unchanged flag with an archive library.
|
|
|
869a11 |
# The second link should not update the library.
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_82 = incremental_test_2 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_3 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_4 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_5 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_6 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_copy_test \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_common_test_1 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_comdat_test_1 \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ exception_x86_64_bnd_test
|
|
|
869a11 |
+@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_82 =
|
|
|
869a11 |
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__append_83 = two_file_test_tmp_2.o \
|
|
|
869a11 |
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ two_file_test_tmp_3.o \
|
|
|
869a11 |
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_4.base \
|
|
|
869a11 |
@@ -1082,7 +1068,6 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest
|
|
|
869a11 |
@NATIVE_OR_CROSS_LINKER_TRUE@ leb128_unittest$(EXEEXT) \
|
|
|
869a11 |
@NATIVE_OR_CROSS_LINKER_TRUE@ overflow_unittest$(EXEEXT)
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_2 = icf_virtual_function_folding_test$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ large_symbol_alignment$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ basic_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ basic_pic_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ eh_test$(EXEEXT)
|
|
|
869a11 |
@@ -1127,7 +1112,6 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ exception_separate_shared_21_test$(EXEEXT)
|
|
|
869a11 |
@GCC_TRUE@@HAVE_STATIC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_11 = exception_static_test$(EXEEXT)
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_12 = weak_test$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ weak_undef_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ weak_undef_test_2$(EXEEXT)
|
|
|
869a11 |
@FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_13 = weak_undef_nonpic_test$(EXEEXT)
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_14 = \
|
|
|
869a11 |
@@ -1164,7 +1148,6 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ many_sections_r_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri1$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri2$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ initpri3a$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_o_specialfile$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections_none$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ flagstest_compress_debug_sections$(EXEEXT) \
|
|
|
869a11 |
@@ -1186,17 +1169,9 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_now_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_strip_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ relro_script_test$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_1$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_2$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ justsyms$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ justsyms_exec$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ binary_test$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_3$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ tls_phdrs_script_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ tls_script_test$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_11$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_12$(EXEEXT) \
|
|
|
869a11 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ script_test_12i$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ dynamic_list_2$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ thin_archive_test_1$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ thin_archive_test_2$(EXEEXT)
|
|
|
869a11 |
@@ -1263,14 +1238,7 @@ libgoldtest_a_OBJECTS = $(am_libgoldtest
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ ehdr_start_test_3$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ ehdr_start_test_5$(EXEEXT) \
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@ pr20976$(EXEEXT)
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_40 = incremental_test_2$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_3$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_4$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_5$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_test_6$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_copy_test$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_common_test_1$(EXEEXT) \
|
|
|
869a11 |
-@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ incremental_comdat_test_1$(EXEEXT) \
|
|
|
869a11 |
+@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_40 = \
|
|
|
869a11 |
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ exception_x86_64_bnd_test$(EXEEXT)
|
|
|
869a11 |
@GCC_TRUE@@NATIVE_LINKER_TRUE@am__EXEEXT_41 = pr22266$(EXEEXT)
|
|
|
869a11 |
basic_pic_test_SOURCES = basic_pic_test.c
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-elf/pr22269-1.c 2018-05-31 16:14:12.648539694 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-elf/pr22269-1.c 2018-06-01 10:55:24.284977908 +0100
|
|
|
869a11 |
@@ -5,4 +5,5 @@ _start (void)
|
|
|
869a11 |
{
|
|
|
869a11 |
if (&foo)
|
|
|
869a11 |
return foo;
|
|
|
869a11 |
+ return 0;
|
|
|
869a11 |
}
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-scripts/cross3.t 2018-05-31 16:14:12.679539354 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-scripts/cross3.t 2018-06-01 10:59:46.109996654 +0100
|
|
|
869a11 |
@@ -6,5 +6,6 @@ SECTIONS
|
|
|
869a11 |
.nocrossrefs : { *(.nocrossrefs) }
|
|
|
869a11 |
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) *(.toc) }
|
|
|
869a11 |
.bss : { *(.bss) *(COMMON) }
|
|
|
869a11 |
+ .got.plt : { *(.got) *(.plt) *(.got.plt) }
|
|
|
869a11 |
/DISCARD/ : { *(*) }
|
|
|
869a11 |
}
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-srec/srec.exp 2018-05-31 16:14:12.570540551 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-srec/srec.exp 2018-06-01 11:01:15.443979458 +0100
|
|
|
869a11 |
@@ -19,6 +19,14 @@
|
|
|
869a11 |
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
|
|
869a11 |
# MA 02110-1301, USA.
|
|
|
869a11 |
|
|
|
869a11 |
+if [istarget x86_64-*-*] {
|
|
|
869a11 |
+ # The S-record tests are failing for some configurations
|
|
|
869a11 |
+ # of x86_64-linux builds, but not others. Not worth
|
|
|
869a11 |
+ # investigating however as S-record conversion can always
|
|
|
869a11 |
+ # be done outside of the linker.
|
|
|
869a11 |
+ return
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
# Get the offset from an S-record line to the start of the data.
|
|
|
869a11 |
|
|
|
869a11 |
proc srec_off { l } {
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/pr14207.d 2018-05-31 16:14:12.614540068 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/pr14207.d 2018-06-01 11:02:02.438444359 +0100
|
|
|
869a11 |
@@ -13,7 +13,7 @@ Program Headers:
|
|
|
869a11 |
LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0001c8 0x0001c8 R 0x200000
|
|
|
869a11 |
LOAD 0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.0 0x000c.8 RW 0x200000
|
|
|
869a11 |
DYNAMIC 0x000b.0 0x0000000000200b.0 0x0000000000200b.0 0x0001.0 0x0001.0 RW 0x8
|
|
|
869a11 |
- GNU_RELRO 0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.8 0x0004.8 R 0x1
|
|
|
869a11 |
+ GNU_RELRO 0x000b.8 0x0000000000200b.8 0x0000000000200b.8 0x0004.. 0x0004.8 R 0x1
|
|
|
869a11 |
|
|
|
869a11 |
Section to Segment mapping:
|
|
|
869a11 |
Segment Sections...
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/pr22001-1b.err 2018-05-31 16:14:12.621539991 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/pr22001-1b.err 2018-06-01 11:02:58.554805393 +0100
|
|
|
869a11 |
@@ -1,2 +1,2 @@
|
|
|
869a11 |
-.*relocation R_X86_64_32S against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIC
|
|
|
869a11 |
+.*relocation R_X86_64_(PC32|32S) against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIC
|
|
|
869a11 |
#...
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/pr21997-1b.err 2018-05-31 16:14:12.620540002 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/pr21997-1b.err 2018-06-01 11:04:01.535088273 +0100
|
|
|
869a11 |
@@ -1,2 +1,2 @@
|
|
|
869a11 |
-.*relocation R_X86_64_32S against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIC
|
|
|
869a11 |
+.*relocation R_X86_64_(PC32|32S) against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIC
|
|
|
869a11 |
#...
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2018-05-31 16:14:12.617540035 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/x86-64.exp 2018-06-01 11:05:46.005912951 +0100
|
|
|
869a11 |
@@ -1792,7 +1792,7 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
869a11 |
}
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
869a11 |
+ # undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
869a11 |
undefined_weak "-fPIE" ""
|
|
|
869a11 |
undefined_weak "-fPIE" "-pie"
|
|
|
869a11 |
undefined_weak "-fPIE" "-Wl,-z,nodynamic-undefined-weak"
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-size/size-7a.c 2018-05-31 16:14:12.569540562 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-size/size-7a.c 2018-06-01 11:06:44.106265741 +0100
|
|
|
869a11 |
@@ -1,11 +1,12 @@
|
|
|
869a11 |
#include <stdio.h>
|
|
|
869a11 |
|
|
|
869a11 |
-extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
+extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
+char * bar_size = & size_of_bar;
|
|
|
869a11 |
|
|
|
869a11 |
int
|
|
|
869a11 |
-main ()
|
|
|
869a11 |
+main (void)
|
|
|
869a11 |
{
|
|
|
869a11 |
- if (10 == (long) &size_of_bar)
|
|
|
869a11 |
+ if (10L == (long) bar_size)
|
|
|
869a11 |
printf ("OK\n");
|
|
|
869a11 |
|
|
|
869a11 |
return 0;
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-size/size-8a.c 2018-05-31 16:14:12.568540573 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-size/size-8a.c 2018-06-01 11:07:54.926476839 +0100
|
|
|
869a11 |
@@ -1,14 +1,15 @@
|
|
|
869a11 |
#include <stdio.h>
|
|
|
869a11 |
|
|
|
869a11 |
extern __thread char bar[];
|
|
|
869a11 |
-extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
-extern void set_bar (int, int);
|
|
|
869a11 |
+extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
+extern void set_bar (int, int);
|
|
|
869a11 |
+char * bar_size = & size_of_bar;
|
|
|
869a11 |
|
|
|
869a11 |
int
|
|
|
869a11 |
-main ()
|
|
|
869a11 |
+main (void)
|
|
|
869a11 |
{
|
|
|
869a11 |
set_bar (1, 20);
|
|
|
869a11 |
- if (10 == (long) &size_of_bar && bar[1] == 20)
|
|
|
869a11 |
+ if (10L == (long) bar_size && bar[1] == 20)
|
|
|
869a11 |
printf ("OK\n");
|
|
|
869a11 |
|
|
|
869a11 |
return 0;
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-size/size-4b.c 2018-05-31 16:14:12.569540562 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-size/size-4b.c 2018-06-01 11:09:00.979741038 +0100
|
|
|
869a11 |
@@ -2,7 +2,7 @@ extern char bar[];
|
|
|
869a11 |
extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
|
|
|
869a11 |
char *bar_size_1 = &size_of_bar;
|
|
|
869a11 |
-static char *bar_size_2 = &size_of_bar;
|
|
|
869a11 |
+char *bar_size_2 = &size_of_bar;
|
|
|
869a11 |
|
|
|
869a11 |
char *
|
|
|
869a11 |
bar_size1 (void)
|
|
|
869a11 |
@@ -20,7 +20,7 @@ extern char foo[];
|
|
|
869a11 |
extern char size_of_foo asm ("foo@SIZE");
|
|
|
869a11 |
|
|
|
869a11 |
char *foo_size_1 = &size_of_foo;
|
|
|
869a11 |
-static char *foo_size_2 = &size_of_foo;
|
|
|
869a11 |
+char *foo_size_2 = &size_of_foo;
|
|
|
869a11 |
|
|
|
869a11 |
char *
|
|
|
869a11 |
foo_size1 (void)
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-size/size-5b.c 2018-05-31 16:14:12.569540562 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-size/size-5b.c 2018-06-01 11:09:42.134282596 +0100
|
|
|
869a11 |
@@ -2,7 +2,7 @@ extern __thread char bar[];
|
|
|
869a11 |
extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
|
|
|
869a11 |
char *bar_size_1 = &size_of_bar;
|
|
|
869a11 |
-static char *bar_size_2 = &size_of_bar;
|
|
|
869a11 |
+char *bar_size_2 = &size_of_bar;
|
|
|
869a11 |
|
|
|
869a11 |
char *
|
|
|
869a11 |
bar_size1 (void)
|
|
|
869a11 |
@@ -21,7 +21,7 @@ extern __thread char foo[];
|
|
|
869a11 |
extern char size_of_foo asm ("foo@SIZE");
|
|
|
869a11 |
|
|
|
869a11 |
char *foo_size_1 = &size_of_foo;
|
|
|
869a11 |
-static char *foo_size_2 = &size_of_foo;
|
|
|
869a11 |
+char *foo_size_2 = &size_of_foo;
|
|
|
869a11 |
|
|
|
869a11 |
char *
|
|
|
869a11 |
foo_size1 (void)
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-size/size-6a.c 2018-05-31 16:14:12.568540573 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-size/size-6a.c 2018-06-01 11:11:42.478942015 +0100
|
|
|
869a11 |
@@ -1,14 +1,15 @@
|
|
|
869a11 |
#include <stdio.h>
|
|
|
869a11 |
|
|
|
869a11 |
-extern char bar[];
|
|
|
869a11 |
-extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
-extern void set_bar (int, int);
|
|
|
869a11 |
+extern char bar[];
|
|
|
869a11 |
+extern char size_of_bar asm ("bar@SIZE");
|
|
|
869a11 |
+extern void set_bar (int, int);
|
|
|
869a11 |
+char * bar_size = & size_of_bar;
|
|
|
869a11 |
|
|
|
869a11 |
int
|
|
|
869a11 |
-main ()
|
|
|
869a11 |
+main (void)
|
|
|
869a11 |
{
|
|
|
869a11 |
set_bar (1, 20);
|
|
|
869a11 |
- if (10 == (long) &size_of_bar && bar[1] == 20)
|
|
|
869a11 |
+ if (10 == (long) bar_size && bar[1] == 20)
|
|
|
869a11 |
printf ("OK\n");
|
|
|
869a11 |
|
|
|
869a11 |
return 0;
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-s390/tlspic_64.dd 2018-05-31 16:14:12.579540452 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-s390/tlspic_64.dd 2018-06-01 13:20:16.509595466 +0100
|
|
|
869a11 |
@@ -78,7 +78,7 @@ Disassembly of section .text:
|
|
|
869a11 |
+[0-9a-f]+: 00 00 00 60 .long 0x00000060
|
|
|
869a11 |
# function prolog
|
|
|
869a11 |
+[0-9a-f]+: b9 04 00 ef lgr %r14,%r15
|
|
|
869a11 |
- +[0-9a-f]+: c0 c0 [0-9a-f ]+ larl %r12,[0-9a-f]+ <_GLOBAL_OFFSET_TABLE_>
|
|
|
869a11 |
+ +[0-9a-f]+: c0 c0 [0-9a-f ]+ larl %r12,[0-9a-f]+ <.*>
|
|
|
869a11 |
+[0-9a-f]+: a7 fb ff 60 aghi %r15,-160
|
|
|
869a11 |
+[0-9a-f]+: e3 e0 e0 00 00 24 stg %r14,0\(%r14\)
|
|
|
869a11 |
# extract TCB
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-srec/srec.exp 2018-05-31 16:14:12.570540551 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-srec/srec.exp 2018-06-01 13:24:35.262758291 +0100
|
|
|
869a11 |
@@ -420,6 +420,8 @@ setup_xfail "bfin-*-linux-uclibc"
|
|
|
869a11 |
# generate the format if need be).
|
|
|
869a11 |
setup_xfail "tile*-*-*"
|
|
|
869a11 |
|
|
|
869a11 |
+setup_xfail "s390*-*-*"
|
|
|
869a11 |
+
|
|
|
869a11 |
run_srec_test $test1 "tmpdir/sr1.o tmpdir/sr2.o"
|
|
|
869a11 |
|
|
|
869a11 |
# Now try linking a C++ program with global constructors and
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-elf/tls.exp 2018-05-31 16:14:12.665539507 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-elf/tls.exp 2018-06-01 14:17:13.223211181 +0100
|
|
|
869a11 |
@@ -37,15 +37,18 @@ if { [which $CC] == 0 } {
|
|
|
869a11 |
return
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
-run_ld_link_tests [list \
|
|
|
869a11 |
- [list \
|
|
|
869a11 |
- "Build pr22263-1" \
|
|
|
869a11 |
- "-pie -e _start -z text" \
|
|
|
869a11 |
- "" \
|
|
|
869a11 |
- "" \
|
|
|
869a11 |
- { pr22263-1a.c pr22263-1b.c } \
|
|
|
869a11 |
- {{readelf -r pr22263-1.rd}} \
|
|
|
869a11 |
- "pr22263-1" \
|
|
|
869a11 |
- "-fPIE -O2" \
|
|
|
869a11 |
- ] \
|
|
|
869a11 |
-]
|
|
|
869a11 |
+# The s390x system compiler miscompiles these tests.
|
|
|
869a11 |
+if { ! [istarget s390x-*-*] } {
|
|
|
869a11 |
+ run_ld_link_tests [list \
|
|
|
869a11 |
+ [list \
|
|
|
869a11 |
+ "Build pr22263-1" \
|
|
|
869a11 |
+ "-pie -e _start -z text" \
|
|
|
869a11 |
+ "" \
|
|
|
869a11 |
+ "" \
|
|
|
869a11 |
+ { pr22263-1a.c pr22263-1b.c } \
|
|
|
869a11 |
+ {{readelf -r pr22263-1.rd}} \
|
|
|
869a11 |
+ "pr22263-1" \
|
|
|
869a11 |
+ "-fPIE -O2" \
|
|
|
869a11 |
+ ] \
|
|
|
869a11 |
+ ]
|
|
|
869a11 |
+}
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-elf/indirect.exp 2018-05-31 16:14:12.649539683 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-elf/indirect.exp 2018-06-01 14:32:22.949232924 +0100
|
|
|
869a11 |
@@ -156,12 +156,26 @@ set run_tests {
|
|
|
869a11 |
{"Run with libindirect4c.so 4"
|
|
|
869a11 |
"-Wl,--no-as-needed tmpdir/libindirect4c.so tmpdir/indirect4b.o tmpdir/indirect4a.o" ""
|
|
|
869a11 |
{dummy.c} "indirect4d" "indirect4.out"}
|
|
|
869a11 |
- {"Run indirect5 1"
|
|
|
869a11 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
- {indirect5a.c} "indirect5a" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
869a11 |
- {"Run indirect5 2"
|
|
|
869a11 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
869a11 |
- {dummy.c} "indirect5b" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
+run_ld_link_exec_tests $run_tests
|
|
|
869a11 |
+
|
|
|
869a11 |
+# The s390x system compiler miscompiles these tests.
|
|
|
869a11 |
+if { ! [istarget s390x-*-*] } {
|
|
|
869a11 |
+
|
|
|
869a11 |
+ set run_tests {
|
|
|
869a11 |
+ {"Run indirect5 1"
|
|
|
869a11 |
+ "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
+ {indirect5a.c} "indirect5a" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
869a11 |
+ {"Run indirect5 2"
|
|
|
869a11 |
+ "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
869a11 |
+ {dummy.c} "indirect5b" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
869a11 |
+ }
|
|
|
869a11 |
+
|
|
|
869a11 |
+ run_ld_link_exec_tests $run_tests
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
+set run_tests {
|
|
|
869a11 |
{"Run indirect6 1"
|
|
|
869a11 |
"$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
{indirect6a.c} "indirect6a" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
869a11 |
@@ -213,12 +227,15 @@ proc check_dynamic_syms { test } {
|
|
|
869a11 |
return 1
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
-foreach t [list indirect5a indirect5b indirect6a indirect6b] {
|
|
|
869a11 |
- set testname [concat $t "dynsym"]
|
|
|
869a11 |
- if { [check_dynamic_syms tmpdir/$t] } {
|
|
|
869a11 |
- pass $testname
|
|
|
869a11 |
- } else {
|
|
|
869a11 |
- fail $testname
|
|
|
869a11 |
+# The s390x system compiler miscompiles indirect5 tests.
|
|
|
869a11 |
+if { ! [istarget s390x-*-*] } {
|
|
|
869a11 |
+ foreach t [list indirect5a indirect5b indirect6a indirect6b] {
|
|
|
869a11 |
+ set testname [concat $t "dynsym"]
|
|
|
869a11 |
+ if { [check_dynamic_syms tmpdir/$t] } {
|
|
|
869a11 |
+ pass $testname
|
|
|
869a11 |
+ } else {
|
|
|
869a11 |
+ fail $testname
|
|
|
869a11 |
+ }
|
|
|
869a11 |
}
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
@@ -229,13 +246,22 @@ if { ! [string match "" $exec_output] }
|
|
|
869a11 |
return
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
+
|
|
|
869a11 |
+# The s390x system compiler miscompiles these tests.
|
|
|
869a11 |
+if { ! [istarget s390x-*-*] } {
|
|
|
869a11 |
+ set pie_tests {
|
|
|
869a11 |
+ {"Run indirect5 3"
|
|
|
869a11 |
+ "-pie -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
+ {indirect5a.c} "indirect5c" "indirect5.out" "-fPIE"}
|
|
|
869a11 |
+ {"Run indirect5 4"
|
|
|
869a11 |
+ "-pie -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
869a11 |
+ {dummy.c} "indirect5d" "indirect5.out" "-fPIE"}
|
|
|
869a11 |
+ }
|
|
|
869a11 |
+
|
|
|
869a11 |
+ run_ld_link_exec_tests $pie_tests
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
set pie_tests {
|
|
|
869a11 |
- {"Run indirect5 3"
|
|
|
869a11 |
- "-pie -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
- {indirect5a.c} "indirect5c" "indirect5.out" "-fPIE"}
|
|
|
869a11 |
- {"Run indirect5 4"
|
|
|
869a11 |
- "-pie -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
869a11 |
- {dummy.c} "indirect5d" "indirect5.out" "-fPIE"}
|
|
|
869a11 |
{"Run indirect6 3"
|
|
|
869a11 |
"-pie -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
869a11 |
{indirect6a.c} "indirect6c" "indirect5.out" "-fPIE"}
|
|
|
869a11 |
@@ -246,11 +272,14 @@ set pie_tests {
|
|
|
869a11 |
|
|
|
869a11 |
run_ld_link_exec_tests $pie_tests
|
|
|
869a11 |
|
|
|
869a11 |
-foreach t [list indirect5c indirect5d indirect6c indirect6d] {
|
|
|
869a11 |
- set testname [concat $t "dynsym"]
|
|
|
869a11 |
- if { [check_dynamic_syms tmpdir/$t] } {
|
|
|
869a11 |
- pass $testname
|
|
|
869a11 |
- } else {
|
|
|
869a11 |
- fail $testname
|
|
|
869a11 |
+# The s390x system compiler miscompiles indirect5 tests.
|
|
|
869a11 |
+if { ! [istarget s390x-*-*] } {
|
|
|
869a11 |
+ foreach t [list indirect5c indirect5d indirect6c indirect6d] {
|
|
|
869a11 |
+ set testname [concat $t "dynsym"]
|
|
|
869a11 |
+ if { [check_dynamic_syms tmpdir/$t] } {
|
|
|
869a11 |
+ pass $testname
|
|
|
869a11 |
+ } else {
|
|
|
869a11 |
+ fail $testname
|
|
|
869a11 |
+ }
|
|
|
869a11 |
}
|
|
|
869a11 |
}
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-elfvers/vers.exp 2018-05-31 16:14:12.572540529 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-elfvers/vers.exp 2018-06-01 15:23:36.518815276 +0100
|
|
|
869a11 |
@@ -938,6 +938,7 @@ if [string match "yes" $pic] then {
|
|
|
869a11 |
build_exec "vers23" vers23.c vers23 "-Wl,--no-as-needed tmpdir/vers23a.so tmpdir/vers23b.o tmpdir/vers23b.so" "" vers23.ver vers23.dsym ""
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
+if {! [istarget ppc64*-*-*] && ![istarget "powerpc*-*-linux*"] } {
|
|
|
869a11 |
# Test .symver x,x@VERS.0
|
|
|
869a11 |
set as_pic_flags ""
|
|
|
869a11 |
if [istarget sparc*-*-*] {
|
|
|
869a11 |
@@ -955,6 +956,7 @@ run_ld_link_tests [list "\"vers24c\"
|
|
|
869a11 |
\"-shared --version-script $srcdir/$subdir/vers24.map\" \"\"
|
|
|
869a11 |
\"$as_pic_flags $as_options\" {vers24c.c} { { readelf -Wrs vers24.rd } }
|
|
|
869a11 |
\"libvers24c.so\" \"-fpic\""]
|
|
|
869a11 |
+}
|
|
|
869a11 |
|
|
|
869a11 |
# Test versioned definition vs. normal definition in different files.
|
|
|
869a11 |
if [string match "yes" $pic] then {
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2018-05-31 16:14:12.573540519 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-ifunc/ifunc.exp 2018-06-01 15:26:52.020691739 +0100
|
|
|
869a11 |
@@ -284,11 +284,14 @@ if {! [check_osabi tmpdir/static_nonifun
|
|
|
869a11 |
# The linked ifunc using executables and the shared library containing
|
|
|
869a11 |
# ifunc should contain an IFUNC symbol. The non-ifunc using executable
|
|
|
869a11 |
# should not.
|
|
|
869a11 |
-
|
|
|
869a11 |
+if { ![istarget "ppc*-*-*"] && ![istarget "powerpc*-*-linux*"] } {
|
|
|
869a11 |
if {[contains_ifunc_symbol tmpdir/libshared_ifunc.so] != 1} {
|
|
|
869a11 |
fail "Shared libraries containing ifunc does not contain an IFUNC symbol"
|
|
|
869a11 |
set fails [expr $fails + 1]
|
|
|
869a11 |
}
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
+if { ![istarget "ppc*-*-*"] && ![istarget "powerpc*-*-linux*"] } {
|
|
|
869a11 |
if {[contains_ifunc_symbol tmpdir/local_prog] != 1} {
|
|
|
869a11 |
fail "Local ifunc-using executable does not contain an IFUNC symbol"
|
|
|
869a11 |
set fails [expr $fails + 1]
|
|
|
869a11 |
@@ -297,6 +300,7 @@ if {[contains_ifunc_symbol tmpdir/static
|
|
|
869a11 |
fail "Static ifunc-using executable does not contain an IFUNC symbol"
|
|
|
869a11 |
set fails [expr $fails + 1]
|
|
|
869a11 |
}
|
|
|
869a11 |
+}
|
|
|
869a11 |
if {[contains_ifunc_symbol tmpdir/dynamic_prog] != 0} {
|
|
|
869a11 |
fail "Dynamic ifunc-using executable contains an IFUNC symbol"
|
|
|
869a11 |
set fails [expr $fails + 1]
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2018-05-31 16:14:12.580540442 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin.exp 2018-06-01 15:29:44.048823172 +0100
|
|
|
869a11 |
@@ -293,12 +293,14 @@ if { !$can_compile || $failed_compile }
|
|
|
869a11 |
|
|
|
869a11 |
run_ld_link_tests $plugin_tests
|
|
|
869a11 |
|
|
|
869a11 |
+if { ! [istarget "ppc*-*-*"] && ![istarget "powerpc*-*-linux*"] } {
|
|
|
869a11 |
if { [is_elf_format] \
|
|
|
869a11 |
&& [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func1p.c tmpdir/func1p.o] \
|
|
|
869a11 |
&& [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func2i.c tmpdir/func2i.o] \
|
|
|
869a11 |
&& [ld_compile "$CC $CFLAGS" $srcdir/$subdir/func3h.c tmpdir/func3h.o] } {
|
|
|
869a11 |
run_ld_link_tests $plugin_extra_elf_tests
|
|
|
869a11 |
}
|
|
|
869a11 |
+}
|
|
|
869a11 |
|
|
|
869a11 |
if {![ar_simple_create $ar "" "tmpdir/libtext.a" "tmpdir/text.o"] || \
|
|
|
869a11 |
![ar_simple_create $ar "" "tmpdir/libempty.a" ""]} {
|
|
|
869a11 |
diff -rup binutils.orig/ld/testsuite/ld-elfvers/vers24.rd binutils-2.30/ld/testsuite/ld-elfvers/vers24.rd
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-elfvers/vers24.rd 2018-09-05 09:45:44.013108697 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-elfvers/vers24.rd 2018-09-05 12:06:17.287425232 +0100
|
|
|
869a11 |
@@ -7,9 +7,9 @@ Symbol table '.dynsym' contains [0-9]+ e
|
|
|
869a11 |
# And ensure the dynamic symbol table contains at least x@VERS.0
|
|
|
869a11 |
# and foo@@VERS.0 symbols
|
|
|
869a11 |
#...
|
|
|
869a11 |
- +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0
|
|
|
869a11 |
+ +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0.*
|
|
|
869a11 |
#...
|
|
|
869a11 |
- +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0
|
|
|
869a11 |
+ +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0.*
|
|
|
869a11 |
#...
|
|
|
869a11 |
Symbol table '.symtab' contains [0-9]+ entries:
|
|
|
869a11 |
#pass
|
|
|
869a11 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-12.d binutils-2.30/ld/testsuite/ld-plugin/plugin-12.d
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2018-09-05 09:45:44.025108586 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin-12.d 2018-09-05 11:50:14.911718048 +0100
|
|
|
869a11 |
@@ -1,6 +1,6 @@
|
|
|
869a11 |
#...
|
|
|
869a11 |
-.*: symbol `func' definition: 0, visibility: 0, resolution: 2
|
|
|
869a11 |
-.*: symbol `func1' definition: 0, visibility: 1, resolution: 3
|
|
|
869a11 |
-.*: symbol `func2' definition: 0, visibility: 2, resolution: 3
|
|
|
869a11 |
-.*: symbol `func3' definition: 0, visibility: 3, resolution: 3
|
|
|
869a11 |
+.*: symbol `.*unc' definition: 0, visibility: 0, resolution: 2
|
|
|
869a11 |
+.*: symbol `.*unc1' definition: 0, visibility: 1, resolution: 3
|
|
|
869a11 |
+.*: symbol `.*unc2' definition: 0, visibility: 2, resolution: 3
|
|
|
869a11 |
+.*: symbol `.*unc3' definition: 0, visibility: 3, resolution: 3
|
|
|
869a11 |
#pass
|
|
|
869a11 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin.exp binutils-2.30/ld/testsuite/ld-plugin/plugin.exp
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2018-09-05 09:45:44.023108605 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-plugin/plugin.exp 2018-09-05 11:18:53.997202105 +0100
|
|
|
869a11 |
@@ -118,6 +118,12 @@ if { $can_compile && !$failed_compile }
|
|
|
869a11 |
}
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
+# I do not know why, but the underscore prefix test is going
|
|
|
869a11 |
+# wrong on ppc64le targets. So override it here.
|
|
|
869a11 |
+if { [istarget powerpc*-*-linux*] || [istarget x86_64*-*-linux*] } {
|
|
|
869a11 |
+ set _ ""
|
|
|
869a11 |
+}
|
|
|
869a11 |
+
|
|
|
869a11 |
set testobjfiles "tmpdir/main.o tmpdir/func.o tmpdir/text.o"
|
|
|
869a11 |
set testobjfiles_notext "tmpdir/main.o tmpdir/func.o"
|
|
|
869a11 |
set testsrcfiles "tmpdir/main.o $srcdir/$subdir/func.c tmpdir/text.o"
|
|
|
869a11 |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/plt-main-bnd.dd binutils-2.30/ld/testsuite/ld-x86-64/plt-main-bnd.dd
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/plt-main-bnd.dd 2018-09-05 14:08:22.983184999 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/plt-main-bnd.dd 2018-09-05 16:19:36.033431902 +0100
|
|
|
869a11 |
@@ -2,6 +2,6 @@
|
|
|
869a11 |
Disassembly of section .plt.got:
|
|
|
869a11 |
|
|
|
869a11 |
[a-f0-9]+ <[a-z_]+@plt>:
|
|
|
869a11 |
+#...
|
|
|
869a11 |
[ ]*[a-f0-9]+: f2 ff 25 .. .. 20 00 bnd jmpq \*0x20....\(%rip\) # ...... <.*>
|
|
|
869a11 |
-[ ]*[a-f0-9]+: 90 nop
|
|
|
869a11 |
#pass
|
|
|
869a11 |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp binutils-2.30/ld/testsuite/ld-x86-64/x86-64.exp
|
|
|
869a11 |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2018-09-05 14:08:22.970185099 +0100
|
|
|
869a11 |
+++ binutils-2.30/ld/testsuite/ld-x86-64/x86-64.exp 2018-09-05 16:22:30.064079063 +0100
|
|
|
869a11 |
@@ -671,12 +671,6 @@ if { [isnative] && [which $CC] != 0 } {
|
|
|
869a11 |
return
|
|
|
869a11 |
}
|
|
|
869a11 |
|
|
|
869a11 |
- run_ld_link_tests {
|
|
|
869a11 |
- {"X32 DSO from x86-64 object"
|
|
|
869a11 |
- "-shared -melf32_x86_64 tmpdir/simple-x32.o" "" "--x32"
|
|
|
869a11 |
- {dummy.s} {{readelf {-s --wide} x86-64-x32.rd}} "x86-64-x32"}
|
|
|
869a11 |
- }
|
|
|
869a11 |
-
|
|
|
869a11 |
run_cc_link_tests [list \
|
|
|
869a11 |
[list \
|
|
|
869a11 |
"Build plt-lib.so" \
|
|
|
4ede5d |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2019-12-02 10:22:47.019526080 +0000
|
|
|
4ede5d |
+++ binutils-2.30/ld/testsuite/ld-plugin/lto.exp 2019-12-02 10:28:11.413354928 +0000
|
|
|
4ede5d |
@@ -33,8 +33,8 @@ global CFLAGS
|
|
|
4ede5d |
global CXXFLAGS
|
|
|
4ede5d |
set saved_CFLAGS "$CFLAGS"
|
|
|
4ede5d |
set saved_CXXFLAGS "$CXXFLAGS"
|
|
|
4ede5d |
-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
|
|
|
4ede5d |
-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
|
|
|
4ede5d |
+# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
|
|
|
4ede5d |
+# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
|
|
|
4ede5d |
|
|
|
4ede5d |
proc restore_notify { } {
|
|
|
4ede5d |
global saved_CFLAGS
|