Changes in src/InitTweak/InitTweak.cc [1f2e957:aff7e86]
- File:
-
- 1 edited
-
src/InitTweak/InitTweak.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
r1f2e957 raff7e86 10 10 // Created On : Fri May 13 11:26:36 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 16 16:40:24 202113 // Update Count : 1012 // Last Modified On : Fri Dec 13 23:15:52 2019 13 // Update Count : 8 14 14 // 15 15 … … 1217 1217 void addDataSectonAttribute( ObjectDecl * objDecl ) { 1218 1218 objDecl->attributes.push_back(new Attribute("section", { 1219 #if defined( __x86_64 ) || defined( __i386 )1220 1219 new ConstantExpr( Constant::from_string(".data#") ), 1221 #else // defined( __ARM_ARCH )1222 new ConstantExpr( Constant::from_string(".data//") ),1223 #endif1224 1220 })); 1225 1221 } … … 1227 1223 void addDataSectionAttribute( ast::ObjectDecl * objDecl ) { 1228 1224 objDecl->attributes.push_back(new ast::Attribute("section", { 1229 #if defined( __x86_64 ) || defined( __i386 )1230 1225 ast::ConstantExpr::from_string(objDecl->location, ".data#"), 1231 #else // defined( __ARM_ARCH )1232 ast::ConstantExpr::from_string(objDecl->location, ".data//"),1233 #endif1234 1226 })); 1235 1227 }
Note:
See TracChangeset
for help on using the changeset viewer.