Skip to content
Snippets Groups Projects
  • Hal Finkel's avatar
    Allow the use of an alternate symbol for calculating a function's size. · ad4d9f58
    Hal Finkel authored
    The standard function epilog includes a .size directive, but ppc64 uses
    an alternate local symbol to tag the actual start of each function.
    
    Until recently, binutils accepted the .size directive as:
     .size	test1, .Ltmp0-test1
    however, using this directive with recent binutils will result in the error:
     .size expression for XXX does not evaluate to a constant
    so we must use the label which actually tags the start of the function.
    
    llvm-svn: 151200
    ad4d9f58