aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pr19803.s
diff options
context:
space:
mode:
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>2016-03-18 09:51:47 +0000
committerNick Clifton <nickc@redhat.com>2016-03-18 09:51:47 +0000
commit41f46ed9fea1a066de95b6a85c56393beef0b8b8 (patch)
tree74d49a75ad394fc318a67c240313c73421fe5837 /ld/testsuite/ld-pe/pr19803.s
parente101a78be9388651099af079899b8654292d24f6 (diff)
downloadgdb-41f46ed9fea1a066de95b6a85c56393beef0b8b8.zip
gdb-41f46ed9fea1a066de95b6a85c56393beef0b8b8.tar.gz
gdb-41f46ed9fea1a066de95b6a85c56393beef0b8b8.tar.bz2
Fix possible failure in the AVR linker tests.
* ld-avr/gc-section-debugline.d: Relax regex check for CU.
Diffstat (limited to 'ld/testsuite/ld-pe/pr19803.s')
-rw-r--r--ld/testsuite/ld-pe/pr19803.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/pr19803.s b/ld/testsuite/ld-pe/pr19803.s
new file mode 100644
index 0000000..290a698
--- /dev/null
+++ b/ld/testsuite/ld-pe/pr19803.s
@@ -0,0 +1,14 @@
+ .text
+ .globl "_DllMainCRTStartup@12"
+"_DllMainCRTStartup@12":
+ .globl _DllMainCRTStartup
+_DllMainCRTStartup:
+ .globl DllMainCRTStartup
+DllMainCRTStartup:
+ nop
+
+ .section .rdata,"dr"
+ .globl _testval
+_testval:
+ .long 1
+ .long 2