When running OpenRISC toolchain with -nostdlibs and -nostartfiles as per line 1348, the benchmark_size.py reports "Binary does not have program header" for all binaries. I understand stdlibs and start files are not added to remove libs and C runtime from binary, but then shouldn't it still run for the bare metal binary generated as well? (As mentioned before, or1k-elf is a bare metal toolchain based on newlib).
Current soln:
I am excluding these flags for OpenRISC toolchain compilation.
I wanted your guidance on the working of this part of the tool.
Part of OpenRISC port.
Issue:
When running OpenRISC toolchain with -nostdlibs and -nostartfiles as per line 1348, the benchmark_size.py reports "Binary does not have program header" for all binaries. I understand stdlibs and start files are not added to remove libs and C runtime from binary, but then shouldn't it still run for the bare metal binary generated as well? (As mentioned before, or1k-elf is a bare metal toolchain based on newlib).
Current soln:
I am excluding these flags for OpenRISC toolchain compilation.
I wanted your guidance on the working of this part of the tool.