grokking ld output on freebsd, -frepo

Jay Sachs sachs@bull.cs.williams.edu
Sat Nov 1 09:54:00 GMT 1997


I'm trying to patch tlink.c so that it can correctly recompile & link
using the repository (-frepo) under FreeBSD2.2.5.  It mostly works,
but there are some symbols printed by ld that still can't be found,
all of the form

    ::_t5RCPtr1ZC9StructRep
or
    vt::t11SymbolTable1ZPC9Signature

These differ from all the other symbols because they don't have a
leading underscore but instead they have the "::" or "vt::" in front.

How do I massage these symbols so I can do a symbol_hash_lookup() call
that will succeed?

(yes, I know I can install gnu-ld, or configure for elf, but I'd like
to get this working nonetheless).

-Jay



More information about the Gcc mailing list