HA: [PATCH] D14449: [ELF2] -omagic implementation

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 6 11:21:59 PST 2015


>От: davide.italiano at gmail.com [davide.italiano at gmail.com] от имени Davide Italiano [davide at freebsd.org]
>Отправлено: 6 ноября 2015 г. 20:10
>Кому: George Rimar; reviews+D14449+public+d5b6896f0026b788 at reviews.llvm.org
>Копия: Rafael Ávila de Espíndola; Rui Ueyama; llvm-commits at lists.llvm.org
>Тема: Re: [PATCH] D14449: [ELF2] -omagic implementation
>
>Is somebody really using this?

Well, it could be used is for -r patch (relocatable output) which status is still unclear. Its description mentions that "As a side effect, in environments that support standard Unix magic numbers, this option also sets the output file’s magic number to "OMAGIC"".
Second possible use (I guessing here) is for writing self modifiying apps.


More information about the llvm-commits mailing list