tools/genmodule: Added .unusedlibbase option
commit2a757a35998b6bf10ff55d9f8c9b7c687d597af3
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 25 Aug 2012 11:54:20 +0000 (25 11:54 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 25 Aug 2012 11:54:20 +0000 (25 11:54 +0000)
tree73a024cd12505e29e2b8a4d911a5f5922ea3f08c
parenta4a6ac88133b06d885a9e93491c9ddde4f52727e
tools/genmodule: Added .unusedlibbase option

This option allows to indicate that the libbase does not need to be accessible inside the library when entering through this function.
Using this function can avoid some overhead internally when calling such functions.
One needs to be careful with using this option as the .unusedlibbase function may not call other functions that want to access the libbase.

Added test case in test/library for the option.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45652 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
test/library/mmakefile.src
test/library/peropener.conf
test/library/peropenernolib.c [new file with mode: 0644]
test/library/peropenertest.c
tools/genmodule/config.c
tools/genmodule/functionhead.c
tools/genmodule/functionhead.h
tools/genmodule/writeincdefines.c