]> git.alsa-project.org Git - alsa-lib.git/commit
add support for hosts that have custom symbol prefixes
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Sep 2006 16:07:51 +0000 (18:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Sep 2006 16:07:51 +0000 (18:07 +0200)
commitf0fbd4c03efb7b9d4e5273428c7f6aa1102d2d83
treefad3190f67574dc0e40b5e36f019f16a685f877a
parent0211bc3b6875af9c076517070f0466d257adce51
add support for hosts that have custom symbol prefixes

From: Mike Frysinger <vapier@gentoo.org>

some architectures, like Blackfin, have a prefix added to all symbols (in our
case it's historical baggage)

while normally packages shouldnt care, when code starts mixing assembler with
C (like symbol versioning), you need to dip down into the inner details.
find attached a patch which queries gcc for the prefix (all gcc toolchains
have a builtin define of __USER_LABEL_PREFIX__) and then automatically has
asm() constructs utilize this

since most targets define __USER_LABEL_PREFIX__ to nothing, hopefully this
shouldnt cause any problems :)
configure.in
include/alsa-symbols.h
include/local.h