-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Closed
Labels
Description
Bugzilla Link | 41846 |
Version | 8.0 |
OS | All |
CC | @JDevlieghere,@walkerkd,@pogo59 |
Extended Description
extern "C"
int _exit(){}
int main() {}
class HardwareSerial3 {
int available() { }
};
void yield() {}
built with Ubuntu 19.04 arm-gcc (7.3.1):
arm-none-eabi-g++ -o main.cpp.o -c -fno-exceptions -felide-constructors -fno-rtti -std=gnu++14 -Wno-error=narrowing -flto -g -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -nostdlib -O2 main.cpp
arm-none-eabi-g++ -o firmware.elf -g -Wl,--gc-sections,--relax -mthumb -mcpu=cortex-m4 -O2 --specs=nano.specs -Wl,--start-group main.cpp.o -lm -lstdc++ -Wl,--end-group
llvm-dwarfdump-8 --verify firmware.elf