Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    r02f4eb8 raff7e86  
    1010// Created On       : Fri May 13 11:26:36 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun 16 20:57:22 2021
    13 // Update Count     : 18
     12// Last Modified On : Fri Dec 13 23:15:52 2019
     13// Update Count     : 8
    1414//
    1515
     
    12171217        void addDataSectonAttribute( ObjectDecl * objDecl ) {
    12181218                objDecl->attributes.push_back(new Attribute("section", {
    1219                         new ConstantExpr( Constant::from_string(".data"
    1220 #if defined( __x86_64 ) || defined( __i386 ) // assembler comment to prevent assembler warning message
    1221                                         "#"
    1222 #else // defined( __ARM_ARCH )
    1223                                         "//"
    1224 #endif
    1225                                 ))}));
     1219                        new ConstantExpr( Constant::from_string(".data#") ),
     1220                }));
    12261221        }
    12271222
    12281223        void addDataSectionAttribute( ast::ObjectDecl * objDecl ) {
    12291224                objDecl->attributes.push_back(new ast::Attribute("section", {
    1230                         ast::ConstantExpr::from_string(objDecl->location, ".data"
    1231 #if defined( __x86_64 ) || defined( __i386 ) // assembler comment to prevent assembler warning message
    1232                                         "#"
    1233 #else // defined( __ARM_ARCH )
    1234                                         "//"
    1235 #endif
    1236                                 )}));
     1225                        ast::ConstantExpr::from_string(objDecl->location, ".data#"),
     1226                }));
    12371227        }
    12381228
Note: See TracChangeset for help on using the changeset viewer.