FS#26434 - [namcap] Warn on TEXTREL in shared object.
Attached to Project:
Arch Linux
Opened by Sverd Johnsen (sjohnsen) - Friday, 14 October 2011, 01:11 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 04 February 2012, 13:17 GMT
Opened by Sverd Johnsen (sjohnsen) - Friday, 14 October 2011, 01:11 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 04 February 2012, 13:17 GMT
|
Details
When TEXTREL is found in DSO, namcap should print a warning.
|
This task depends upon
Closed by Rémy Oudompheng (remyoudompheng)
Saturday, 04 February 2012, 13:17 GMT
Reason for closing: Implemented
Additional comments about closing: featured in 3.2.2
Saturday, 04 February 2012, 13:17 GMT
Reason for closing: Implemented
Additional comments about closing: featured in 3.2.2
They are pretty rare these days but it's a nice to have warning when namcap should be "full featured". The most commonly causes are ASM code that is not PIC ending up a DSO, or the build system not applying compiler flags correctly at times. See "Conclusion" for a quick WHY: http://www.akkadia.org/drepper/textrelocs.html or search around in http://www.akkadia.org/drepper/dsohowto.pdf
readelf -d a.out | grep TEXTREL
0x00000016 (TEXTREL) 0x0