e09ab2cc2f
The .note.android.ident section is only used by GDB, which doesn't care what section type the section is, but it would be convenient for readelf -n to be able to find the section too. The old way of getting the .note.android.ident section to be of type SH_NOTE involved compiling from .c to .s using gcc, running sed to change progbits to note, and then compiling from .s to .o using gcc. Since crtbrand.c only contains a section containing data, a crtbrand.S can be checked in that will compile on all platforms, avoiding the need for sed. Also add crtbrand.o to crtbegin_so.o so that libraries also get the note, and to the crt workaround in arm libc.so. Change-Id: Ica71942a6af4553b56978ceaa288b3f4c15ebfa2 |
||
---|---|---|
.. | ||
bionic |