In x86_64 intel nasm assembly you can do
label: .asciz "Something\n"
mov rsi, label
and it will generate
movabs rsi,0x201000
If you use x86_64 intel with gas and write
label: .asciz "Something\n"
mov rsi, label
it will generate
mov rsi, qword ptr [0x6000db]
which just loads the literal ascii values for the string "Something" into rsi instead of the address for it.
I've tried about a dozen different permutations and can't figure out how replicate the nasm output in gas.
Note: I know I can use lea, mov with rip-relative etc. I'm not asking for a way to get this code to work, I'm asking how to replicate the results from the nasm output.