Alexander Neundorf wrote: >On Monday 04 August 2008, you wrote: >> Alexander Neundorf wrote: > >... > >> >I tried in January, but didn't have success. Ok, I also didn't have a >> > patch. There is now a feature request for it: >> >http://sourceware.org/bugzilla/show_bug.cgi?id=5546 >> >> You asked to modify DT tags in ELF binaries, which is quite a complex >> operation. >> >> I meant asking to reserve space so that we could modify using chrpath >> ourselves. Apple's ld has the option -headerpad_max_install_names so >> that the otool tool can change the install names. We want the same >> thing in ELF. > >Yes, that's what I asked for in my initial mail, then the binutils > developers concluded that a generic feature for modifying DT tags would > be much better: http://sourceware.org/ml/binutils/2008-01/msg00021.html
The generic solution still needs to have header padding. The ELF dynamic strings are part of the loaded executable image, so extending the size would require relinking. So, once header padding is available, we can use chrpath, way before objcopy supports generic DT changing. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
