diff options
-rw-r--r-- | gnu/usr.bin/ld/ld.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c index 3c1fa70..3de1b9c 100644 --- a/gnu/usr.bin/ld/ld.c +++ b/gnu/usr.bin/ld/ld.c @@ -2447,7 +2447,8 @@ digest_symbols () } set_vectors[setv_fill_count++] = p->n_value; } - else if ((type & N_EXT) && type != (N_UNDF | N_EXT)) + else if ((type & N_EXT) && type != (N_UNDF | N_EXT) + && (type & N_TYPE) != N_FN) { /* non-common definition */ if (defs++ && sp->value != p->n_value) |