diff options
| author | Colin Cross <ccross@android.com> | 2015-02-11 17:40:45 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2015-02-11 17:40:45 -0800 |
| commit | 24958ae4efd70d5ef36d93d2d2bcca38ad340395 (patch) | |
| tree | 1f4045f37791b309a2da42336abd02a61153ee91 /libc/bionic/crtbrand.c | |
| parent | 0046c39f9ed6d7335f06e4d866df5ae0e7b4d485 (diff) | |
| download | bionic-24958ae4efd70d5ef36d93d2d2bcca38ad340395.zip bionic-24958ae4efd70d5ef36d93d2d2bcca38ad340395.tar.gz bionic-24958ae4efd70d5ef36d93d2d2bcca38ad340395.tar.bz2 | |
Remove no-op sed step when compiling crtbrand.o
crtbrand.c was compiled to a .s file, run through a sed script
to translate a %progbits to %note, and the compiled to .o.
However, when the sed command was copied from the original source
it was not updated to use the new name of the section (.note.ABI-tag
to .note.android.ident), so it didn't modify the file. Since the
section has been generated with type %progbits instead of %note for
two years, just delete the whole sed step.
Change-Id: Id78582e9b43b628afec4eed22a088283132f0742
Diffstat (limited to 'libc/bionic/crtbrand.c')
| -rw-r--r-- | libc/bionic/crtbrand.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libc/bionic/crtbrand.c b/libc/bionic/crtbrand.c index 31fcbc7..a726c51 100644 --- a/libc/bionic/crtbrand.c +++ b/libc/bionic/crtbrand.c @@ -32,21 +32,6 @@ /* * Special ".note" entry to tag an Android binary and specify the ABI version. - * - * For all arches except sparc, gcc emits the section directive for the - * following struct with a PROGBITS type. However, the section should be - * of NOTE type, according to the Generic SysV ABI spec. - * - * Unfortunately, there is no clean way to tell gcc to use another section type, - * so this C file (or the C file that includes it) must be compiled in multiple - * steps: - * - * - Compile the .c file to a .s file. - * - Edit the .s file to change the 'progbits' type to 'note', for the section - * directive that defines the .note.ABI-tag section. - * - Compile the .s file to an object file. - * - * These steps are done in the invididual Makefiles for each applicable arch. */ static const struct { int32_t namesz; |
