Open
Description
When linking against metaware libraries (-lmw), the GNU linker throws out the following error against sbrk.o and tlsctorg.o:
arc64-elf-ld: error: linker symbol __SDATA_BEGIN__ not found
arc64-elf-ld: final link failed: bad value
The relocations causing the fault are
000000000004 001a0000001e R_ARC_SDA32_ME 0000000000000000 __mwheap_cur + 0
...
000000000092 001a0000001e R_ARC_SDA32_ME 0000000000000000 __mwheap_cur + 0