# Class: com.pnfsoftware.jeb.core.units.codeobject.ELFStandardRelocOperations

Default implementation for ELF relocation operations, for a given relocation. It can be overridden to add operations or customize existing common operations \(A, S, P, B\). 

 This class contains operations shared among architectures.

## Constructor: ELFStandardRelocOperations
- parameter: `relocEnvironment`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator.RelocatedFile`
- parameter: `relocInstance`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator.RelocInstance`

Description: Create standard relocation operations.
parameter: relocEnvironment: relocation file information
parameter: relocInstance: relocation instance information

## Field: actualImageBase
Type: `long`
Description: Actual image base.

## Field: deltaImageBase
Type: `long`
Description: Difference between the actual and preferred image bases.

## Field: elfUnit
Type: `com.pnfsoftware.jeb.core.units.codeobject.IELFUnit`
Description: ELF unit.

## Field: endianness
Type: `com.pnfsoftware.jeb.util.io.Endianness`
Description: File endianness.

## Field: mem
Type: `com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory`
Description: Memory object.

## Field: relocEntry
Type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationEntry`
Description: Relocation entry.

## Field: relocTable
Type: `com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationTable`
Description: Relocation table.

## Field: se
Type: `com.pnfsoftware.jeb.core.units.codeobject.IELFSymbolEntry`
Description: Symbol entry, if any.

## Field: targetAddress
Type: `long`
Description: Target address of the relocation.

## Field: theoriticalImageBase
Type: `long`
Description: Preferred image base.

## Method: A
- return type: `long`

Description: Represents the addend used to compute the value of the relocatable field.
return: addend value
throws: if the implicit addend cannot be read

## Method: B
- return type: `long`

Description: Represents the base address at which a shared object was loaded.
return: actual image base

## Method: P
- return type: `long`

Description: Represents the place, as section offset or address, of the storage unit being relocated.
return: relocation place

## Method: S
- return type: `long`

Description: Represents the value of the symbol whose index resides in the relocation entry.
return: symbol value

