@@ -119,10 +119,10 @@ void RTDyldMemoryManager::deregisterEHFramesInProcess(uint8_t *Addr,
119
119
120
120
void RTDyldMemoryManager::registerEHFramesInProcess (uint8_t *Addr,
121
121
size_t Size ) {
122
- // On Linux __register_frame takes a single argument:
122
+ // On Linux __register_frame takes a single argument:
123
123
// a pointer to the start of the .eh_frame section.
124
124
125
- // How can it find the end? Because crtendS.o is linked
125
+ // How can it find the end? Because crtendS.o is linked
126
126
// in and it has an .eh_frame section with four zero chars.
127
127
__register_frame (Addr);
128
128
}
@@ -243,9 +243,9 @@ RTDyldMemoryManager::getSymbolAddressInProcess(const std::string &Name) {
243
243
if (Name == " stat" ) return (uint64_t )&stat;
244
244
if (Name == " fstat" ) return (uint64_t )&fstat;
245
245
if (Name == " lstat" ) return (uint64_t )&lstat;
246
- if (Name == " stat64" ) return (uint64_t )&stat64;
247
- if (Name == " fstat64" ) return (uint64_t )&fstat64;
248
- if (Name == " lstat64" ) return (uint64_t )&lstat64;
246
+ // if (Name == "stat64") return (uint64_t)&stat64;
247
+ // if (Name == "fstat64") return (uint64_t)&fstat64;
248
+ // if (Name == "lstat64") return (uint64_t)&lstat64;
249
249
if (Name == " atexit" ) return (uint64_t )&atexit ;
250
250
if (Name == " mknod" ) return (uint64_t )&mknod ;
251
251
@@ -255,7 +255,7 @@ RTDyldMemoryManager::getSymbolAddressInProcess(const std::string &Name) {
255
255
return (uint64_t )&__morestack;
256
256
#endif
257
257
#endif // __linux__ && __GLIBC__
258
-
258
+
259
259
// See ARM_MATH_IMPORTS definition for explanation
260
260
#if defined(__BIONIC__) && defined(__arm__)
261
261
if (Name.compare (0 , 8 , " __aeabi_" ) == 0 ) {
0 commit comments