Hi,<br>I`m working with processor models. I´m using clang++ to preprocess and compile my application stopping it (-S) before the assembler because I would like to use a different assembler (it comes from another processor model). It seems that the output assembly code is not compatible with the assembler but I´M not sure about that. The errors are with @progbits, weak and hidden sections. See below:<br>
<br>"<br>obj/main.o.s(1,63): '    .section .text.__ZNSt3__120__vector_base_commonILb1EEC1Ev,"axG",@progbits,__ZNSt3__120__vector_base_commonILb1EEC1Ev,comdat'<br>obj/main.o.s(1,63): error: 'G",@progbits,__ZNSt3__120__vector_base_commonILb1EEC1Ev,comdat': Expected <'a' 'w' 'x' 'M' or 's' flag> but found 'G",@progbits,__ZNSt3__120__vector_base_commonILb1EEC1Ev,comdat'<br>
<br>"<br><br>and also:<br><br>"<br>obj/main.o.s(2,2): '    .hidden    __ZNSt3__120__vector_base_commonILb1EEC1Ev'<br>obj/main.o.s(2,2): error: '.hidden    __ZNSt3__120__vector_base_commonILb1EEC1Ev': Syntax Error<br>
<br>"<br><br>finally:<br><br>"<br><br>obj/main.o.s(3,2): '    .weak    __ZNSt3__120__vector_base_commonILb1EEC1Ev'<br>obj/main.o.s(3,2): error: '.weak    __ZNSt3__120__vector_base_commonILb1EEC1Ev': Syntax Error<br>
<br>"<br><br>My problem is also that I have only few information about the assembler that comes from an hidden architecture.<br>What can I do? Do you have any ideas?<br><br>I would be grateful if can give me also some ideas to modify the compiler...<br>
Thank you<br><br><br>