ack/h
George Koehler 1bf58cf51c Add RELOLIS for PowerPC lis with ha16 or hi16.
The new relocation type RELOLIS handles these instructions:

    lis RT, ha16[expr] == addis RT, r0, ha16[expr]
    lis RT, hi16[expr] == addis RT, r0, hi16[expr]

RELOLIS stores a 32-bit value in the program text.  In this value, the
high bit is a ha16 flag, the next 5 bits are the target register RT,
and the low bits are a signed 26-bit offset.  The linker replaces this
value with the lis instruction.

The old RELOPPC relocated a ha16/lo16 or hi16/lo16 pair.  The new
RELOLIS relocates only a ha16 or hi16, so it is no longer necessary to
have a matching lo16 in the next instruction.  The disadvantage is
that RELOLIS has only a signed 26-bit offset, not a 32-bit offset.

Switch the assembler to use RELOLIS for ha16 or hi16 and RELO2 for
lo16.  The li32 instruction still uses the old RELOPPC relocation.

This is not the same as my RELOPPC change from my recent mail to
tack-devel (https://sourceforge.net/p/tack/mailman/message/35651528/).
This commit is on a different branch.  Here I am throwing away my
RELOPPC change and instead trying RELOLIS.
2017-02-08 11:46:31 -05:00
..
arch.h Header --> Id 1994-06-24 11:31:16 +00:00
as_spec.h Header --> Id 1994-06-24 11:31:16 +00:00
bc_io.h Header --> Id 1994-06-24 11:31:16 +00:00
bc_string.h Header --> Id 1994-06-24 11:31:16 +00:00
build.lua C preprocessor; tabgen; now the pc86 boot.s builds using the ack 2016-07-29 00:22:49 +02:00
cg_pattern.h Header --> Id 1994-06-24 11:31:16 +00:00
cgg_cg.h Remove stackadjust and stackoffset() from ncg. 2016-10-07 20:52:13 -04:00
con_float Moved from /etc. 2007-02-25 12:42:04 +00:00
em_abs.h Adapted for ANSI C and our pseudo-Posix syscall interface. 2007-04-21 23:18:14 +00:00
em_ego.h Header --> Id 1994-06-24 11:31:16 +00:00
em_flag.h Header --> Id 1994-06-24 11:31:16 +00:00
em_mes.h Header --> Id 1994-06-24 11:31:16 +00:00
em_ptyp.h Header --> Id 1994-06-24 11:31:16 +00:00
em_reg.h Header --> Id 1994-06-24 11:31:16 +00:00
em_table Moved from /etc. 2007-02-25 12:42:04 +00:00
ip_spec.h Header --> Id 1994-06-24 11:31:16 +00:00
m2_traps.h Header --> Id 1994-06-24 11:31:16 +00:00
Makefile Initial revision 1984-08-23 13:00:32 +00:00
ocm_chan.h Header --> Id 1994-06-24 11:31:16 +00:00
ocm_parco.h Header --> Id 1994-06-24 11:31:16 +00:00
ocm_proc.h Header --> Id 1994-06-24 11:31:16 +00:00
out.h Add RELOLIS for PowerPC lis with ha16 or hi16. 2017-02-08 11:46:31 -05:00
pc_err.h Adapted for ANSI C and our pseudo-Posix syscall interface. 2007-04-21 23:18:14 +00:00
pc_file.h Header --> Id 1994-06-24 11:31:16 +00:00
pc_math.h Header --> Id 1994-06-24 11:31:16 +00:00
ranlib.h Header --> Id 1994-06-24 11:31:16 +00:00
stb.h Header --> Id 1994-06-24 11:31:16 +00:00