assemble: for relative addresses, convert *this segment* to fixed
commitc5cbb97db463f0bfc258b6ddad2a5fa0a23e8306
authorH. Peter Anvin <hpa@zytor.com>
Tue, 21 Feb 2017 19:53:15 +0000 (21 11:53 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 21 Feb 2017 19:53:15 +0000 (21 11:53 -0800)
tree64dedc517e6344aa964a3e5513951b377efdf838
parent90303022b4390698f311f8d73f4d113157702397
assemble: for relative addresses, convert *this segment* to fixed

We can remove OUT_ADDRESS relocations for absolute addresses (NO_SEG),
but for OUT_RELADDR relocations we can remove them if they point into
*our own segment*, not NO_SEG.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
asm/assemble.c