[LLVMbugs] [Bug 186] NEW: Need weak linkage on memory functions to make them overridable

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Mon Dec 15 14:39:19 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=186

           Summary: Need weak linkage on memory functions to make them
                    overridable
           Product: Runtime Libraries
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: brukman+bugs at uiuc.edu
        ReportedBy: brukman+bugs at uiuc.edu


Some applications may choose to implement their own memory managers, thus
overriding the default implementations of malloc, calloc, free, et al. Thus, we
should have weak linkage on these symbols so that an application can override
them with its own. This was found trying to link together bash.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list