output/legacy.c: OUT_SEGMENT -> OUT_ADDRESS with a zero addend
commit217e714e6bfae501cdceeb9ca13b9339502a4f0e
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 May 2017 22:10:47 +0000 (1 15:10 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 May 2017 22:10:47 +0000 (1 15:10 -0700)
treefa72b3d52dd00678447dc4c000421b6f4ca0ce4b
parent08e71e7dc47027d6e9ef4f85189e8421f632fb13
output/legacy.c: OUT_SEGMENT -> OUT_ADDRESS with a zero addend

The legacy output doesn't distinguish between segments and other
addresses, so we need to force the offset to zero before passing it
down to the output layer.

This addresses BR 3392406.

Reported-by: <rugxulo@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
asm/assemble.c
output/legacy.c