summaryrefslogtreecommitdiffstats
path: root/libnativebridge
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-10-20 12:31:30 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-10-20 12:33:59 -0700
commita1ac84cd8d7357f38a9fc60ab9d42e81d1790fd2 (patch)
treef2807868aa6d1a12c3f03b5b171cd20f0242ba4b /libnativebridge
parent1c77bf4ce5059f3a770418cfa8afed39ee41ab24 (diff)
downloadsystem_core-a1ac84cd8d7357f38a9fc60ab9d42e81d1790fd2.zip
system_core-a1ac84cd8d7357f38a9fc60ab9d42e81d1790fd2.tar.gz
system_core-a1ac84cd8d7357f38a9fc60ab9d42e81d1790fd2.tar.bz2
MingW doesn't handle __attribute__((weak)) for Windows PE
Windows PE format doesn't have the same support for weak symbols as ELF does. The symbol android_log_id_to_name was strangely omitted from the resulting Windows executable and the callsite where it was supposed to be called was relaced with a different symbol, which caused a crash in AAPT on Windows. This change works due to a careful set of #ifdefs that ensure only one definition of android_log_id_to_name is defined, but there are other uses of __attribute__((weak)) which should be inspected. Change-Id: I3b58076e31d9b28c5143773a170e9ffda9fa3815
Diffstat (limited to 'libnativebridge')
0 files changed, 0 insertions, 0 deletions