I recently downloaded the h.264 reference code from Fraunhofer ( http://iphome.hhi.de/suehring/ ), and built it using berkely riscv-unknown-elf-gcc (-O2 -march=rv32imac -mabi=ilp32)
I’m focusing on code size, and both riscv-unknown-elf-readelf / riscv-unknown-elf-nm show some functions to be 0xfffffffe bytes long !?
‘riscv-unknown-elf-objdump -d’ shows these functions to be a single, 16b ‘ret’
.elf available on-demand (can’t upload it), functions init_time / interpret_user_data_registered_itu_t_t35_info / interpret_full_frame_freeze_release_info, for instance
‘riscv-unknown-elf-readelf -s ldecode.exe | grep fffffffe’ exhibits the bug
Is this a known bug in the toolchain ? A misuse on my side ?
Plz let me know