Please sign in to comment.
binutils-2.25: Added -mfix-ls3a-llsc and -mnofix-ls3a-llsc option
Change md_assemble() to insert sync before "ll" or "lld" instruction. These options is used to control whether insert "sync" instruction before "ll" or "lld" instrction. By default, we insert "sync" before "ll/lld" if we don't use those options. Test: Command:$ cat Test.s ll $t0, 16($sp) Command:$ as -mfix-loongson3-llsc Test.s -o a.out [Or Command:$ as Test.s -o a.out ] Command:$ objdump -d a.out > Test_obj.s Command:$ cat Test_obj.s 00000000 <.text>: 0: 0000000f sync 4: c3a80010 ll t0,16(sp) This commit same as binutils-2.24-23.fc21.loongson.2.src.rpm The patch in src rpm ware patch32. Change-Id: I6f2701472afb1a6936b8f302887cc78ff01c7791 This contains also modifications from @xen0n: * Ported to binutils 2.25; * Style cleanups; * Avoided re-emitting in case the current `ll/lld` already is preceded by a `sync`. Conflicts: gas/config/tc-mips.c
- Loading branch information...