Clang doesn't seem to generate these, but GCC does. I'm trying to link secp256k1, which is a C library, to my Rust code so the linker script needs to include these sections too.
@@ -57,7 +57,7 @@ SECTIONS
_sdata = .;
/* Must be called __global_pointer$ for linker relaxations to work. */
PROVIDE(__global_pointer$ = . + 0x800);
- *(.sdata .sdata.*);
+ *(.sdata .sdata.* .sdata2 .sdata2.*);
*(.data .data.*);
. = ALIGN(4);
_edata = .;