https://sourceware.org/bugzilla/show_bug.cgi?id=20692
--- Comment #3 from Nick Clifton <nickc at redhat dot com> --- Hi Igor, >> You could try adding "-D.volatile= -D.nonvolatile= -Wa,--no-relax" to the > your solution doesn't work. > GAS command line on SPARC not accepted -Wa,--no-relax > we can use -no-relax Oops - I had too many dashes, sorry about that. > - but it is not fixed my problem Well, it does fix the assembler problem you had. Now you have a linker/ source file problem. > and i can see: > Text relocation remains referenced > against symbol offset in file > _GLOBAL_OFFSET_TABLE_ 0x214 pics/_rtbootld.o > _GLOBAL_OFFSET_TABLE_ 0x194 pics/door.o > ld: fatal: relocations remain against allocatable but non-writable sections Well the linker error messages seems pretty clear. My guess would be that _rtbootld.o and door.o come from assembler source files, or else C/C++ source files containing inline assembler directives, and that they are creating special sections of their own. Can you modify the sources files ? If so you could use "objdump -r pics/<object file>" to find out which sections have these problematic relocations, and then you could edit the sources to add the writeable attribute to the section declarations. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils