[Bug target/23387] New: Weak support

danglin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 14 18:59:00 GMT 2005


This PR is a placeholder for known limitations regarding the weak support
of the HP PA_RISC target under HP-UX 11 and later.  This support is available
in GCC 3.3 and later.

Weak support on this target is implemented using SOM secondary definition
(sdef) symbols.  While sdef symbols have some of the attributes of weak
symbols as defined in the ELF SYSV ABI, they differ in behavior in the
following ways:

1) Undefined sdef symbols generate linker and/or runtime errors.
2) The first definition seen by the linker is used (i.e., a primary
   definition doesn't replace an earlier secondary definition).
3) Secondary symbols in objects linked into a shared object become
   primary symbols (sdef symbols never appear in shared objects).

-- 
           Summary: Weak support
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: hppa*-hp-hpux11* (32-bit only)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23387



More information about the Gcc-bugs mailing list