Doing a buildworld of freebsd with lld found only this case where a rw text segment would have been required.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
- Avoid GOT for non-PIC object
- Just use . instead of a specific label
Submitted by: @kib
Comment Actions
@kib pointed out this comes from crypto/openssl/crypto/des/asm/crypt586.pl.
As of rS109998 crypt586.pl has:
sub fcrypt_body { local($name,$do_ip)=@_; &function_begin($name); &comment(""); &comment("Load the 2 words"); $trans="ebp"; &xor( $L, $L); &xor( $R, $R); # PIC-ification:-) &picmeup("edx","DES_SPtrans"); #if ($cpp) { &picmeup("edx","DES_SPtrans"); } #else { &lea("edx",&DWP("DES_SPtrans")); } &push("edx"); # becomes &swtmp(1) # &mov($trans,&wparam(1)); # reloaded with DES_SPtrans in D_ENCRYPT &push(&DWC(25)); # add a variable
but the generated version in this review was added in rS95967 prior to that change.