From cf3cdbf8b3cda61a619299e7966a83df66244036 Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Tue, 20 Dec 2011 10:27:58 -0800 Subject: Add binutils-2.21. Use --enable-gold=default for dual linker support. Change-Id: Id1a744c7db58a0b5e7a3be174cdfa875f2f86e49 --- binutils-2.21/ld/testsuite/ld-x86-64/protected3.d | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 binutils-2.21/ld/testsuite/ld-x86-64/protected3.d (limited to 'binutils-2.21/ld/testsuite/ld-x86-64/protected3.d') diff --git a/binutils-2.21/ld/testsuite/ld-x86-64/protected3.d b/binutils-2.21/ld/testsuite/ld-x86-64/protected3.d new file mode 100644 index 0000000..897c1cf --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-x86-64/protected3.d @@ -0,0 +1,13 @@ +#as: --64 +#ld: -shared -melf_x86_64 +#objdump: -drw + +.*: +file format .* + + +Disassembly of section .text: + +0+[a-f0-9]+ : +[ ]*[a-f0-9]+: 8b 05 [a-f0-9][a-f0-9] 00 [a-f0-9][a-f0-9] 00 mov 0x[a-f0-9]+\(%rip\),%eax # [a-f0-9]+ +[ ]*[a-f0-9]+: c3 retq +#pass -- cgit v1.1