diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-01-17 23:39:05 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-17 23:39:05 +0000 |
commit | af55cbae944c0d520feb0ed59057f255421b95f1 (patch) | |
tree | 22a4ef0758312681d0323ddab9dc26556b73482d /ld/testsuite | |
parent | 06a6a421f22d81789b080f78862eeb110f998bf9 (diff) | |
download | gdb-af55cbae944c0d520feb0ed59057f255421b95f1.zip gdb-af55cbae944c0d520feb0ed59057f255421b95f1.tar.gz gdb-af55cbae944c0d520feb0ed59057f255421b95f1.tar.bz2 |
Add missing files
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size32-3-i386.d | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size32-3-x32.d | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size32-3-x86-64.d | 11 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size32-3a.s | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-size/size32-3b.s | 2 |
6 files changed, 42 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b6d5214..2432df4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -3,7 +3,8 @@ * ld-size/size32-3-i386.d: New file. * ld-size/size32-3-x32.d: Likewise. * ld-size/size32-3-x86-64.d: Likewise. - * ld-size/size32-3.s: Likewise. + * ld-size/size32-3a.s: Likewise. + * ld-size/size32-3b.s: Likewise. 2013-01-16 H.J. Lu <hongjiu.lu@intel.com> diff --git a/ld/testsuite/ld-size/size32-3-i386.d b/ld/testsuite/ld-size/size32-3-i386.d new file mode 100644 index 0000000..fbdd591 --- /dev/null +++ b/ld/testsuite/ld-size/size32-3-i386.d @@ -0,0 +1,11 @@ +#source: size32-3a.s +#source: size32-3b.s +#as: --32 +#ld: -shared -melf_i386 -z nocombreloc +#readelf: -r --wide +#target: x86_64-*-* i?86-*-* + +#failif +#... +.* +R_386_NONE +.* +#... diff --git a/ld/testsuite/ld-size/size32-3-x32.d b/ld/testsuite/ld-size/size32-3-x32.d new file mode 100644 index 0000000..794ac16 --- /dev/null +++ b/ld/testsuite/ld-size/size32-3-x32.d @@ -0,0 +1,11 @@ +#source: size32-3a.s +#source: size32-3b.s +#as: --x32 +#ld: -shared -melf32_x86_64 -z nocombreloc +#readelf: -r --wide +#target: x86_64-*-* + +#failif +#... +.* +R_X86_64_NONE +.* +#... diff --git a/ld/testsuite/ld-size/size32-3-x86-64.d b/ld/testsuite/ld-size/size32-3-x86-64.d new file mode 100644 index 0000000..e8c083a --- /dev/null +++ b/ld/testsuite/ld-size/size32-3-x86-64.d @@ -0,0 +1,11 @@ +#source: size32-3a.s +#source: size32-3b.s +#as: --64 +#ld: -shared -melf_x86_64 -z nocombreloc +#readelf: -r --wide +#target: x86_64-*-* + +#failif +#... +.* +R_X86_64_NONE +.* +#... diff --git a/ld/testsuite/ld-size/size32-3a.s b/ld/testsuite/ld-size/size32-3a.s new file mode 100644 index 0000000..bb21345 --- /dev/null +++ b/ld/testsuite/ld-size/size32-3a.s @@ -0,0 +1,5 @@ +# 32-bit size relocation against hidden symbol in shared object + .comm xxx,40,32 + .data + .p2align 2 + .long xxx@SIZE diff --git a/ld/testsuite/ld-size/size32-3b.s b/ld/testsuite/ld-size/size32-3b.s new file mode 100644 index 0000000..32bd543 --- /dev/null +++ b/ld/testsuite/ld-size/size32-3b.s @@ -0,0 +1,2 @@ +# 32-bit size relocation against hidden symbol in shared object + .hidden xxx |