unexpected NOP encodings

Jan Beulich JBeulich@suse.com
Mon Jun 24 13:56:00 GMT 2019


All,

is it known (and intended) that

	.text
	.machine power8
power8:
	nop
	# The NOP inserted here is controlled by the "power6" machine
	# setting below, not the one currently in effect.
	.p2align 3
	blr

	.machine power6

doesn't produce the expected NOP encoding, because the encoding is
chosen only at the end of the assembly process (i.e. when the final
directive has already been seen and processed)?

Jan




More information about the Binutils mailing list