I simply followed what FreeBSD was doing and compiled to make sure it was working.  I didn't know where those symbols were actually generated.  Now that you mention linker scripts, I see that [this should be right](https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/+/master/i686-linux-android/lib/ldscripts/elf_i386.x).