cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
162 Views
Registered: ‎09-18-2020

Unused code in Hello World program

Hi.

Just started with Vitis making the example "hello world" on a Zynq Ultrascale+ R5 core.

The generated elf-file has a size of 8kB already using  -fno-exceptions -ffunction-sections -fdata-sections --gc-sections.

I had a look inside the listing and saw functions like u32 Xil_GetNextMPURegion(void) which aren't called in my opinion provided by libxil.a.

Is there any way to get rid of them?

Greetings.

Tags (2)
0 Replies