diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2016-11-12 23:16:03 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2016-12-03 17:26:51 +0000 |
| commit | bf692af31b93ca14b63211bd508b4b8bf1179b50 (patch) | |
| tree | 06160e9fcabcb8ae573286fb5ecda6a16bedaf20 /tests/tests2/36_array_initialisers.c | |
| parent | ccf9ed7d54910308ac1779d090cb38b5da2ad948 (diff) | |
| download | tinycc-bf692af31b93ca14b63211bd508b4b8bf1179b50.tar.gz tinycc-bf692af31b93ca14b63211bd508b4b8bf1179b50.tar.bz2 | |
Fix error logic for undefined reference in library
Prior to this patch, an error would only be given when a library has an
unresolved undefined symbol if there is no undefined reference for the
same symbol in the executable itself. This patch changes the logic to
check both that the executable has the symbol in its static symbol table
*and* that it is defined to decide if the error path should be followed.
Diffstat (limited to 'tests/tests2/36_array_initialisers.c')
0 files changed, 0 insertions, 0 deletions
