[CR16] Problem with TC_LINKRELAX_FIXUP

Jayant R. Sonar Jayant.Sonar@kpitcummins.com
Wed Jul 4 04:28:00 GMT 2012


Hello Alan,

Thank you for your valuable inputs.

In md_apply_fix(), I removed fixP->fx_offset = 0 and it fixed the 
'addend' problem. 

However, this change introduced another problem.
My uClinux kernel now crashes while booting the hardware.

I tried retaining this assignment statement under one or more case 
statements of "switch (fixP->fx_r_type)", in same function. 
However, wherever it solved 'addend' problem it caused kernel crash.

I tried to look into the readelf dump of kernel images. However, apart 
from few changes in sizes and addresses there weren't much differences.

Please guide how should I proceed.

Thanks and Regards,
Jayant Sonar
[KPIT Cummins, Pune]




More information about the Binutils mailing list