Subject: ffs_table
To: None <port-arm@netbsd.org>
From: Ian Fry <Ian.Fry@sophos.com>
List: port-arm
Date: 11/13/2001 12:51:34
I tried doing a build last night, and had a problem with programs that use
the ffs function: ld complains that libc requires a symbol called
'Lffs_table', however, according to lib/libc/arch/arm/string/ffs.S:

.text;
.type Lffs_table, _ASM_TYPE_OBJECT;
L_ffs_table:

Should this be:

.text;
.type L_ffs_table, _ASM_TYPE_OBJECT;
L_ffs_table:

? (Note the extra underscore on the .type line)

Making this change allowed the build to get much further.

Ian.