emitElfStatic-stub.C
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #include <cstdlib>
00038 #include <cstdio>
00039 #include <iostream>
00040 #include <set>
00041 #include <map>
00042
00043 #include "emitElfStatic.h"
00044 #include "Symtab.h"
00045 #include "Symbol.h"
00046 #include "Archive.h"
00047 #include "Object.h"
00048 #include "Region.h"
00049
00050 using namespace Dyninst;
00051 using namespace Dyninst::SymtabAPI;
00052
00053
00054 #define EMIT_STATIC_ASSERT "This function is currently unimplemented on this architecture."
00055
00056 bool emitElfStatic::archSpecificRelocation(Symtab *, Symtab *, char *, relocationEntry &,
00057 Offset, Offset, Offset, LinkMap &, string &) {
00058 assert(!EMIT_STATIC_ASSERT);
00059 return false;
00060 }
00061
00062 bool emitElfStatic::checkSpecialCaseSymbols(Symtab *, Symbol *) {
00063 assert(!EMIT_STATIC_ASSERT);
00064 return false;
00065 }
00066
00067 Offset emitElfStatic::layoutTLSImage(Offset, Region *, Region *, LinkMap &) {
00068 assert(!EMIT_STATIC_ASSERT);
00069 return 0;
00070 }
00071
00072 Offset emitElfStatic::adjustTLSOffset(Offset, Offset) {
00073 assert(!EMIT_STATIC_ASSERT);
00074 return 0;
00075 }
00076
00077 char emitElfStatic::getPaddingValue(Region::RegionType) {
00078 assert(!EMIT_STATIC_ASSERT);
00079 return 0;
00080 }
00081
00082 void emitElfStatic::cleanupTLSRegionOffsets(map<Region *, LinkMap::AllocPair> &,
00083 Region *, Region *)
00084 {
00085 assert(!EMIT_STATIC_ASSERT);
00086 }
00087
00088 bool emitElfStatic::isGOTRelocation(unsigned long) {
00089 assert(!EMIT_STATIC_ASSERT);
00090 return false;
00091 }
00092
00093 Offset emitElfStatic::getGOTSize(LinkMap &) {
00094 assert(!EMIT_STATIC_ASSERT);
00095 return 0;
00096 }
00097
00098 Offset emitElfStatic::getGOTAlign(LinkMap &) {
00099 assert(!EMIT_STATIC_ASSERT);
00100 return 0;
00101 }
00102
00103 void emitElfStatic::buildGOT(LinkMap &) {
00104 assert(!EMIT_STATIC_ASSERT);
00105 }
00106
00107 bool emitElfStatic::isConstructorRegion(Region *) {
00108 assert(!EMIT_STATIC_ASSERT);
00109 return false;
00110 }
00111
00112 Offset emitElfStatic::layoutNewCtorRegion(LinkMap &) {
00113 assert(!EMIT_STATIC_ASSERT);
00114 return 0;
00115 }
00116
00117 bool emitElfStatic::createNewCtorRegion(LinkMap &) {
00118 assert(!EMIT_STATIC_ASSERT);
00119 return false;
00120 }
00121
00122 bool emitElfStatic::isDestructorRegion(Region *) {
00123 assert(!EMIT_STATIC_ASSERT);
00124 return false;
00125 }
00126
00127 bool emitElfStatic::isGOTRegion(Region *) {
00128 assert(!EMIT_STATIC_ASSERT);
00129 return false;
00130 }
00131
00132 Offset emitElfStatic::layoutNewDtorRegion(LinkMap &) {
00133 assert(!EMIT_STATIC_ASSERT);
00134 return 0;
00135 }
00136
00137 bool emitElfStatic::createNewDtorRegion(LinkMap &) {
00138 assert(!EMIT_STATIC_ASSERT);
00139 return false;
00140 }
00141
00142 void emitElfStatic::getExcludedSymbolNames(set<string> &) {
00143 assert(!EMIT_STATIC_ASSERT);
00144 }