The following code extract
float foo(void) // or double
when compiled using "-fPIC -shared -Wl,--warn-shared-textrel" flags results in an error
ld: warning: creating a DT_TEXTREL in a shared object.
as the const value is stored in the .rodata section and accessed directly, but I
think it should be a .rel section and accessed appropriately