aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-02 12:06:23 +0100
committerSam James <sam@gentoo.org>2023-08-02 12:06:23 +0100
commitb5c37946cce4b41af0436529b139fa3d23e61f73 (patch)
tree02129ebadb74e7d3f2430cf8221799ce186600e3 /ld/testsuite/ld-scripts
parent675b9d612cc59446e84e2c6d89b45500cb603a8d (diff)
downloadgdb-b5c37946cce4b41af0436529b139fa3d23e61f73.zip
gdb-b5c37946cce4b41af0436529b139fa3d23e61f73.tar.gz
gdb-b5c37946cce4b41af0436529b139fa3d23e61f73.tar.bz2
Revert "2.41 Release sources"
This reverts commit 675b9d612cc59446e84e2c6d89b45500cb603a8d. See https://sourceware.org/pipermail/binutils/2023-August/128761.html.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/empty-address-1.d1
-rw-r--r--ld/testsuite/ld-scripts/empty-address-1.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2a.d2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2a.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2b.d2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-2b.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-3a.d1
-rw-r--r--ld/testsuite/ld-scripts/empty-address-3a.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-3b.d1
-rw-r--r--ld/testsuite/ld-scripts/empty-address-3b.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-3c.t2
-rw-r--r--ld/testsuite/ld-scripts/empty-address-4.t2
-rw-r--r--ld/testsuite/ld-scripts/phdrs.t2
-rw-r--r--ld/testsuite/ld-scripts/phdrs2.t2
-rw-r--r--ld/testsuite/ld-scripts/phdrs3.t2
-rw-r--r--ld/testsuite/ld-scripts/phdrs3a.t2
-rw-r--r--ld/testsuite/ld-scripts/provide-9.t2
-rw-r--r--ld/testsuite/ld-scripts/sort-file.t2
-rw-r--r--ld/testsuite/ld-scripts/sort.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_a.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_a_a.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_a_n.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_n.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_n_a.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_b_n_n.t2
-rw-r--r--ld/testsuite/ld-scripts/sort_no.t2
26 files changed, 26 insertions, 23 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address-1.d b/ld/testsuite/ld-scripts/empty-address-1.d
index dbaf778..210b70f 100644
--- a/ld/testsuite/ld-scripts/empty-address-1.d
+++ b/ld/testsuite/ld-scripts/empty-address-1.d
@@ -5,5 +5,6 @@
0+0 [AT] _start
#...
0+200 [ADT] __data_end
+#...
0+200 [ADT] __data_start
#pass
diff --git a/ld/testsuite/ld-scripts/empty-address-1.t b/ld/testsuite/ld-scripts/empty-address-1.t
index a24f25a..a579683 100644
--- a/ld/testsuite/ld-scripts/empty-address-1.t
+++ b/ld/testsuite/ld-scripts/empty-address-1.t
@@ -8,5 +8,5 @@ SECTIONS
}
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-2a.d b/ld/testsuite/ld-scripts/empty-address-2a.d
index 4471a1b..a619ea1 100644
--- a/ld/testsuite/ld-scripts/empty-address-2a.d
+++ b/ld/testsuite/ld-scripts/empty-address-2a.d
@@ -1,7 +1,7 @@
#source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2a.t
#nm: -n
-#xfail: bfin-*-linux* frv-*-*linux* riscv64*-*-* tic54x-*-*
+#xfail: bfin-*-linux* frv-*-*linux* riscv64*-*-* tic54x-*-* [is_xcoff_format]
#...
0+0 T _start
#...
diff --git a/ld/testsuite/ld-scripts/empty-address-2a.t b/ld/testsuite/ld-scripts/empty-address-2a.t
index 0ab29a4..bc53115 100644
--- a/ld/testsuite/ld-scripts/empty-address-2a.t
+++ b/ld/testsuite/ld-scripts/empty-address-2a.t
@@ -4,5 +4,5 @@ SECTIONS
.data : { *(.data) }
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-2b.d b/ld/testsuite/ld-scripts/empty-address-2b.d
index 8dfe888..c9b97b8 100644
--- a/ld/testsuite/ld-scripts/empty-address-2b.d
+++ b/ld/testsuite/ld-scripts/empty-address-2b.d
@@ -1,7 +1,7 @@
#source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x200 -T empty-address-2b.t
#nm: -n
-#xfail: bfin-*-linux* frv-*-*linux* riscv64*-*-* tic54x-*-*
+#xfail: bfin-*-linux* frv-*-*linux* riscv64*-*-* tic54x-*-* [is_xcoff_format]
#...
0+0 T _start
#...
diff --git a/ld/testsuite/ld-scripts/empty-address-2b.t b/ld/testsuite/ld-scripts/empty-address-2b.t
index c6d1e52..788cd65 100644
--- a/ld/testsuite/ld-scripts/empty-address-2b.t
+++ b/ld/testsuite/ld-scripts/empty-address-2b.t
@@ -8,5 +8,5 @@ SECTIONS
}
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-3a.d b/ld/testsuite/ld-scripts/empty-address-3a.d
index b3135bf..fe87ebc 100644
--- a/ld/testsuite/ld-scripts/empty-address-3a.d
+++ b/ld/testsuite/ld-scripts/empty-address-3a.d
@@ -1,6 +1,7 @@
#source: empty-address-3.s
#ld: -T empty-address-3a.t
#nm: -n
+#xfail: [is_xcoff_format]
#...
0+0 T _start
diff --git a/ld/testsuite/ld-scripts/empty-address-3a.t b/ld/testsuite/ld-scripts/empty-address-3a.t
index 28767a1..42128f8 100644
--- a/ld/testsuite/ld-scripts/empty-address-3a.t
+++ b/ld/testsuite/ld-scripts/empty-address-3a.t
@@ -7,5 +7,5 @@ SECTIONS
}
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-3b.d b/ld/testsuite/ld-scripts/empty-address-3b.d
index 1e68e29..0d9babe 100644
--- a/ld/testsuite/ld-scripts/empty-address-3b.d
+++ b/ld/testsuite/ld-scripts/empty-address-3b.d
@@ -1,6 +1,7 @@
#source: empty-address-3.s
#ld: -T empty-address-3b.t
#nm: -n
+#xfail: [is_xcoff_format]
#...
0+0 T _start
diff --git a/ld/testsuite/ld-scripts/empty-address-3b.t b/ld/testsuite/ld-scripts/empty-address-3b.t
index 6da2421..2b9e27d 100644
--- a/ld/testsuite/ld-scripts/empty-address-3b.t
+++ b/ld/testsuite/ld-scripts/empty-address-3b.t
@@ -8,5 +8,5 @@ SECTIONS
}
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-3c.t b/ld/testsuite/ld-scripts/empty-address-3c.t
index 0829c58..13fe34e 100644
--- a/ld/testsuite/ld-scripts/empty-address-3c.t
+++ b/ld/testsuite/ld-scripts/empty-address-3c.t
@@ -8,5 +8,5 @@ SECTIONS
}
__data_end = .;
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/empty-address-4.t b/ld/testsuite/ld-scripts/empty-address-4.t
index f25bbfe..bb0c2f6 100644
--- a/ld/testsuite/ld-scripts/empty-address-4.t
+++ b/ld/testsuite/ld-scripts/empty-address-4.t
@@ -7,5 +7,5 @@ SECTIONS
ASSERT (. < 0x400, oops);
}
.bss : { *(.bss) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/phdrs.t b/ld/testsuite/ld-scripts/phdrs.t
index 283e30c..1267322 100644
--- a/ld/testsuite/ld-scripts/phdrs.t
+++ b/ld/testsuite/ld-scripts/phdrs.t
@@ -12,5 +12,5 @@ SECTIONS
. = 0x800000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/phdrs2.t b/ld/testsuite/ld-scripts/phdrs2.t
index bccbcec..d5a4c2a 100644
--- a/ld/testsuite/ld-scripts/phdrs2.t
+++ b/ld/testsuite/ld-scripts/phdrs2.t
@@ -19,5 +19,5 @@ SECTIONS
LONG(EMPTY_START) ;
} : Bar
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/phdrs3.t b/ld/testsuite/ld-scripts/phdrs3.t
index 4bd4e85..d86e206 100644
--- a/ld/testsuite/ld-scripts/phdrs3.t
+++ b/ld/testsuite/ld-scripts/phdrs3.t
@@ -12,5 +12,5 @@ SECTIONS
. = 0x800000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/phdrs3a.t b/ld/testsuite/ld-scripts/phdrs3a.t
index c07ff34..4853b7b 100644
--- a/ld/testsuite/ld-scripts/phdrs3a.t
+++ b/ld/testsuite/ld-scripts/phdrs3a.t
@@ -11,5 +11,5 @@ SECTIONS
. = 0x800000 + SIZEOF_HEADERS;
.text : { *(.text) } :text
.data : { *(.data) } :data
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/provide-9.t b/ld/testsuite/ld-scripts/provide-9.t
index 00d906a..b26051a 100644
--- a/ld/testsuite/ld-scripts/provide-9.t
+++ b/ld/testsuite/ld-scripts/provide-9.t
@@ -20,6 +20,6 @@ SECTIONS
*(.bss .bss.*)
} >FOO
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort-file.t b/ld/testsuite/ld-scripts/sort-file.t
index 559a000..f46f574 100644
--- a/ld/testsuite/ld-scripts/sort-file.t
+++ b/ld/testsuite/ld-scripts/sort-file.t
@@ -2,5 +2,5 @@ SECTIONS
{
.text : { SORT_BY_NAME(*)(.text*) }
.data : { *(.data*) }
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort.t b/ld/testsuite/ld-scripts/sort.t
index c53481f..a7bb88f 100644
--- a/ld/testsuite/ld-scripts/sort.t
+++ b/ld/testsuite/ld-scripts/sort.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(.text .text.*)}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_a.t b/ld/testsuite/ld-scripts/sort_b_a.t
index cbfd3c3..c53f6c2 100644
--- a/ld/testsuite/ld-scripts/sort_b_a.t
+++ b/ld/testsuite/ld-scripts/sort_b_a.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_ALIGNMENT(.text*))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_a_a.t b/ld/testsuite/ld-scripts/sort_b_a_a.t
index 359cdff..df0b190 100644
--- a/ld/testsuite/ld-scripts/sort_b_a_a.t
+++ b/ld/testsuite/ld-scripts/sort_b_a_a.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_ALIGNMENT(SORT_BY_ALIGNMENT(.text*)))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_a_n.t b/ld/testsuite/ld-scripts/sort_b_a_n.t
index 04c3917..f5661bb 100644
--- a/ld/testsuite/ld-scripts/sort_b_a_n.t
+++ b/ld/testsuite/ld-scripts/sort_b_a_n.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.text*)))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_n.t b/ld/testsuite/ld-scripts/sort_b_n.t
index 26c2b6e..344d7f3 100644
--- a/ld/testsuite/ld-scripts/sort_b_n.t
+++ b/ld/testsuite/ld-scripts/sort_b_n.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_NAME(.text*))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_n_a.t b/ld/testsuite/ld-scripts/sort_b_n_a.t
index 49cbdd3..532ba52 100644
--- a/ld/testsuite/ld-scripts/sort_b_n_a.t
+++ b/ld/testsuite/ld-scripts/sort_b_n_a.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_NAME(SORT_BY_ALIGNMENT(.text*)))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_b_n_n.t b/ld/testsuite/ld-scripts/sort_b_n_n.t
index b4eabfe..b8b0914 100644
--- a/ld/testsuite/ld-scripts/sort_b_n_n.t
+++ b/ld/testsuite/ld-scripts/sort_b_n_n.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(SORT_BY_NAME(SORT_BY_NAME(.text*)))}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}
diff --git a/ld/testsuite/ld-scripts/sort_no.t b/ld/testsuite/ld-scripts/sort_no.t
index d797c79..7ddc352 100644
--- a/ld/testsuite/ld-scripts/sort_no.t
+++ b/ld/testsuite/ld-scripts/sort_no.t
@@ -1,5 +1,5 @@
SECTIONS
{
.text : {*(.text*)}
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}