diff options
author | Nick Clifton <nickc@redhat.com> | 2022-04-20 13:37:51 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-04-20 13:39:05 +0100 |
commit | 65daf5bed68f3e792e80f7c9a12871fd71da32a2 (patch) | |
tree | a55da6b2014760d60106975406377517a8133874 /ld/testsuite/ld-frv | |
parent | 72b580b8f48927cf7bc4cf8bb951aaeff637d0ee (diff) | |
download | gdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.zip gdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.gz gdb-65daf5bed68f3e792e80f7c9a12871fd71da32a2.tar.bz2 |
Add linker warning for when it creates an executable stack.
PR 29072
Diffstat (limited to 'ld/testsuite/ld-frv')
-rw-r--r-- | ld/testsuite/ld-frv/fdpic1.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic2.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic3.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic4.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic5.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic6.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic7.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/fdpic8.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/tls-1-dep.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/tls-1.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/tls-2.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-frv/tls-3.s | 2 |
12 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-frv/fdpic1.s b/ld/testsuite/ld-frv/fdpic1.s index 29f7fff..fa8aa48 100644 --- a/ld/testsuite/ld-frv/fdpic1.s +++ b/ld/testsuite/ld-frv/fdpic1.s @@ -62,3 +62,4 @@ D1: .D4: .picptr funcdesc(.Fb) .word .Fb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic2.s b/ld/testsuite/ld-frv/fdpic2.s index 2987643..aa42c29 100644 --- a/ld/testsuite/ld-frv/fdpic2.s +++ b/ld/testsuite/ld-frv/fdpic2.s @@ -79,3 +79,4 @@ GD3: GD4: .picptr funcdesc(GFb) .word GFb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic3.s b/ld/testsuite/ld-frv/fdpic3.s index f867b93..5fa5b02 100644 --- a/ld/testsuite/ld-frv/fdpic3.s +++ b/ld/testsuite/ld-frv/fdpic3.s @@ -97,3 +97,4 @@ HD3: HD4: .picptr funcdesc(HFb) .word HFb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic4.s b/ld/testsuite/ld-frv/fdpic4.s index 795ae45..c877407 100644 --- a/ld/testsuite/ld-frv/fdpic4.s +++ b/ld/testsuite/ld-frv/fdpic4.s @@ -97,3 +97,4 @@ PD3: PD4: .picptr funcdesc(PFb) .word PFb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic5.s b/ld/testsuite/ld-frv/fdpic5.s index f4d466a..d4fd893 100644 --- a/ld/testsuite/ld-frv/fdpic5.s +++ b/ld/testsuite/ld-frv/fdpic5.s @@ -36,3 +36,4 @@ D5: .picptr funcdesc(UFb) .word UFb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic6.s b/ld/testsuite/ld-frv/fdpic6.s index cd8e1d0..f2befde 100644 --- a/ld/testsuite/ld-frv/fdpic6.s +++ b/ld/testsuite/ld-frv/fdpic6.s @@ -53,3 +53,4 @@ D6: .picptr funcdesc(WFb) .word WFb + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic7.s b/ld/testsuite/ld-frv/fdpic7.s index ceac5fc..60a3452 100644 --- a/ld/testsuite/ld-frv/fdpic7.s +++ b/ld/testsuite/ld-frv/fdpic7.s @@ -61,3 +61,4 @@ D7: .D4: .picptr funcdesc(.Fb+4) .word .Fb+4 + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/fdpic8.s b/ld/testsuite/ld-frv/fdpic8.s index 037250f..d881f88 100644 --- a/ld/testsuite/ld-frv/fdpic8.s +++ b/ld/testsuite/ld-frv/fdpic8.s @@ -79,3 +79,4 @@ GD3: GD4: .picptr funcdesc(GFb+4) .word GFb+4 + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/tls-1-dep.s b/ld/testsuite/ld-frv/tls-1-dep.s index 75daab7..aa5004b 100644 --- a/ld/testsuite/ld-frv/tls-1-dep.s +++ b/ld/testsuite/ld-frv/tls-1-dep.s @@ -5,3 +5,4 @@ .size x, 4 x: .zero 4 + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/tls-1.s b/ld/testsuite/ld-frv/tls-1.s index a13c91b..213acf0 100644 --- a/ld/testsuite/ld-frv/tls-1.s +++ b/ld/testsuite/ld-frv/tls-1.s @@ -83,3 +83,5 @@ _start: sethi.p #gottlsoffhi(0), gr14 setlo #gottlsofflo(0), gr14 ld #tlsoff(0)@(gr15, gr14), gr9 + + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/tls-2.s b/ld/testsuite/ld-frv/tls-2.s index f0712e3..28a2930 100644 --- a/ld/testsuite/ld-frv/tls-2.s +++ b/ld/testsuite/ld-frv/tls-2.s @@ -181,3 +181,5 @@ _start: setlo #gottlsofflo(i+1+4096), gr8 ld #tlsoff(i+1+4096)@(gr15, gr8), gr9 .endif + + .section .note.GNU-stack diff --git a/ld/testsuite/ld-frv/tls-3.s b/ld/testsuite/ld-frv/tls-3.s index 6dd7972..5992888 100644 --- a/ld/testsuite/ld-frv/tls-3.s +++ b/ld/testsuite/ld-frv/tls-3.s @@ -18,3 +18,5 @@ _start: sethi.p #gottlsoffhi(u), gr14 setlo #gottlsofflo(u), gr14 ld #tlsoff(u)@(gr15, gr14), gr9 + + .section .note.GNU-stack |