This reverts commit 675b9d612c. See https://sourceware.org/pipermail/binutils/2023-August/128761.html.
675b9d612c
The canonical form to discard all sections not mentioned earlier in the script is /DISCARD/ : { *(*) } not /DISCARD/ : { *(.*) } ".*" happens to work with the usual section names starting with a dot, but let's not promote something not quite right.
* ld-scripts/phdrs.t: Use startaddress that's greater than any MAXPAGESIZE used.