diff options
| author | Colin Cross <ccross@android.com> | 2015-02-12 17:03:22 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2015-02-12 21:37:20 -0800 |
| commit | e09ab2cc2ff41ce7519c143d448371ddd62afc59 (patch) | |
| tree | 27aeb6b9af0e2cee7200e1683a9650f013b49396 /libc/stdio/stdio_ext.cpp | |
| parent | f9fb52ab309c97d5b2ef4f8e1daff3eed4cf4024 (diff) | |
Make .note.android.ident section type SH_NOTE
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
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions
