ld/testsuite/ld-shared/sh2.c
raw| 1 | /* This is part of the shared library ld test. This file becomes part |
| 2 | of a shared library. */ |
| 3 | |
| 4 | /* This variable is defined here, and referenced by another file in |
| 5 | the shared library. */ |
| 6 | int shlibvar2 = 4; |
| 7 | |
| 8 | /* This function is called by another file in the shared library. */ |
| 9 | |
| 10 | int |
| 11 | shlib_shlibcalled () |
| 12 | { |
| 13 | return 5; |
| 14 | } |