OSDN Git Service

Fix the libgcc/libatomic link order.
authorDan Albert <danalbert@google.com>
Fri, 14 Nov 2014 05:24:04 +0000 (21:24 -0800)
committerDan Albert <danalbert@google.com>
Fri, 14 Nov 2014 05:29:28 +0000 (21:29 -0800)
commit741b36e922a09c47507b61cbfc9cd8bba029f476
treecaa7d9f7b362f548d9119156cefe10a1f560c27f
parente088c0d281b796694c6c0d0e761ef62d3fe287c2
Fix the libgcc/libatomic link order.

The previous position of libgcc.a/libatomic.a on the link line causes
the linker to prefer satisfying dependencies from these libraries from
other libraries that might include them, rather than from libgcc.a (or
libatomic.a) itself. This imposes an ABI requirement that those
intermediate shared libraries _always_ export those symbols, which is
undesirable.

Change-Id: Ib593236b475d3e98356b2b1be6f96cee2b67378f
core/binary.mk
core/definitions.mk