This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold] PATCH: Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND

>> The -madd-bnd-prefix option only works with a very recent assembler.
>> These last two rules should have gcctestdir/as as a dependency so that
>> the compiles will pick up the in-tree assembler. Alternatively, we
>> could add a configure check for the -madd-bnd-prefix option, and make
>> this test case conditional. I'd prefer the former -- your thoughts?
> Either works for me.  Sorry for inconvenience.

OK, I'm committing the following patch.


2013-11-22  Cary Coutant  <>

        * testsuite/ (exception_x86_64_bnd_test): Use in-tree
        * testsuite/ Regenerate.

diff --git a/gold/testsuite/ b/gold/testsuite/
index 2b7b5ae..aca9df8 100644
--- a/gold/testsuite/
+++ b/gold/testsuite/
@@ -2263,9 +2263,9 @@ exception_x86_64_bnd_test_DEPENDENCIES =
exception_x86_64_bnd_1.o \
 exception_x86_64_bnd_test_LDFLAGS = $(exception_test_LDFLAGS)
 exception_x86_64_bnd_test_LDADD = $(exception_x86_64_bnd_test_DEPENDENCIES)
+exception_x86_64_bnd_1.o: gcctestdir/as
        $(CXXCOMPILE) -c -fpic -Bgcctestdir/ -Wa,-madd-bnd-prefix -o $@ $<
+exception_x86_64_bnd_2.o: gcctestdir/as
        $(CXXCOMPILE) -c -Bgcctestdir/ -Wa,-madd-bnd-prefix -o $@ $<
 endif DEFAULT_TARGET_X86_64

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]