src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/Symbol.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/Symbol.java
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/Symbol.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 23,33 ****
package jdk.tools.jaotc.binformat;
import java.util.Objects;
! import jdk.tools.jaotc.jnilibelf.ELFSymbol;
public class Symbol {
public enum Binding {
UNDEFINED,
--- 23,33 ----
package jdk.tools.jaotc.binformat;
import java.util.Objects;
! import jdk.tools.jaotc.binformat.NativeSymbol;
public class Symbol {
public enum Binding {
UNDEFINED,
*** 49,59 ****
private final int offset;
private final Binding binding;
private final Kind kind;
private ByteContainer section;
! private ELFSymbol elfSymbol;
/**
* Create symbol info.
*
* @param offset section offset for the defined symbol
--- 49,59 ----
private final int offset;
private final Binding binding;
private final Kind kind;
private ByteContainer section;
! private NativeSymbol nativeSymbol;
/**
* Create symbol info.
*
* @param offset section offset for the defined symbol
*** 75,90 ****
public String getName() {
return name;
}
! public ELFSymbol getElfSymbol() {
! return elfSymbol;
}
! public void setElfSymbol(ELFSymbol elfSymbol) {
! this.elfSymbol = elfSymbol;
}
public Binding getBinding() {
return binding;
}
--- 75,90 ----
public String getName() {
return name;
}
! public NativeSymbol getNativeSymbol() {
! return nativeSymbol;
}
! public void setNativeSymbol(NativeSymbol nativeSym) {
! this.nativeSymbol = nativeSym;
}
public Binding getBinding() {
return binding;
}
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/Symbol.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File