805e2b6 Get rid of text relocations in -fPIE build

Authored and Committed by Vladis Dronov a year ago
    Get rid of text relocations in -fPIE build
    
    Fedora build system forces a PIE build with -fPIE indirectly via gcc spec
    /usr/lib/rpm/redhat/redhat-hardened-cc1. This does not work for assembly
    sources, so a PIC-aware assembly code won't be built as PIC (PIE implies
    PIC). rdrand_asm.S is PIC-aware in 32bit mode, so force PIC for it, fixing
    the following build warning:
    
    /usr/bin/ld: rdrand_asm.o: warning: relocation in read-only section `.text'
    /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
    
        
file modified
+6 -0