From 504b7d2026f1fbbe912b6f513c069c0d47ba2505 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 16 Oct 2007 14:42:15 +0000 Subject: Support the use of the STT_COMMON type. (In source and object files only at the moment) --- bfd/elfcode.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/elfcode.h') diff --git a/bfd/elfcode.h b/bfd/elfcode.h index e1f5801..ea2a6d3 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -1323,6 +1323,10 @@ elf_slurp_symbol_table (bfd *abfd, asymbol **symptrs, bfd_boolean dynamic) case STT_FUNC: sym->symbol.flags |= BSF_FUNCTION; break; + case STT_COMMON: + /* FIXME: Do we have to put the size field into the value field + as we do with symbols in SHN_COMMON sections (see above) ? */ + /* Fall through. */ case STT_OBJECT: sym->symbol.flags |= BSF_OBJECT; break; -- cgit v1.1