hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/CallSiteRelocationSymbol.java
changeset 43942 fff6b7b5611f
parent 43461 3a591205b9bc
child 46949 44ccdba2d72e
equal deleted inserted replaced
43941:97c4abf5aa0a 43942:fff6b7b5611f
    57         ByteContainer container = binaryContainer.getExtLinkageGOTContainer();
    57         ByteContainer container = binaryContainer.getExtLinkageGOTContainer();
    58         Symbol symbol = container.createGotSymbol(symbolOffset, symbolName);
    58         Symbol symbol = container.createGotSymbol(symbolOffset, symbolName);
    59         addExternalPltToGotRelocation(binaryContainer, symbol, relocationOffset);
    59         addExternalPltToGotRelocation(binaryContainer, symbol, relocationOffset);
    60     }
    60     }
    61 
    61 
    62     protected static void addMetaspaceGotRelocation(BinaryContainer binaryContainer, String symbolName, int symbolOffset, int relocationOffset) {
       
    63         ByteContainer container = binaryContainer.getMetaspaceGotContainer();
       
    64         Symbol symbol = container.createGotSymbol(symbolOffset, symbolName);
       
    65         addExternalPltToGotRelocation(binaryContainer, symbol, relocationOffset);
       
    66     }
       
    67 
       
    68     /**
    62     /**
    69      * Add an {@link RelocType#EXTERNAL_GOT_TO_PLT} relocation to the
    63      * Add an {@link RelocType#EXTERNAL_GOT_TO_PLT} relocation to the
    70      * {@link BinaryContainer#getExtLinkageGOTContainer()}.
    64      * {@link BinaryContainer#getExtLinkageGOTContainer()}.
    71      */
    65      */
    72     private static void addExternalGotToPltRelocation(BinaryContainer binaryContainer, Symbol symbol, int relocationOffset) {
    66     private static void addExternalGotToPltRelocation(BinaryContainer binaryContainer, Symbol symbol, int relocationOffset) {