Further info - this change is with respect to ibcs-us-4.2.1. For base reference to earlier kernel-based version of ibcs, I used ibcs-3.9.3 running in the following Linux: eer@sled11:/etc> uname -a Linux sled11 3.0.76-0.11-pae #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) i686 i686 i386 GNU/Linux
I don't really know how to submit patches, and can recreate the diff file as I suspect is needed. Also, the changes include a possibly unnecessary restoration of a structure variable, and its assignment. The fact that the structure still has the member getting the assignment suggests it may be useful to restore its assignment. Development done with gcc-12 on OpenSUSE Leap 15.6 to support binary execution of statically linked ELF binary compiler frontend/backend/driver/inline optimizer modules from...
UW7 Personality, ELF statically linked binaries need BSS zeroed
Okay - switching to debian to try to reproduce your buildinfo environment. Close this ticket.
For the record, rediscovering this response, rather than asking it again ;-) Debian files, here I come.
Title line should read misc.c, not misc.h
per-cxenix/misc.h AT_FDCWD and AT_EACCESS undefined on SUSE Leap 15.4
lol - yeah, that's what they say. You'll be amused to know that 1) GEMSOS is a Class A1 (under TCSEC) real time secure operating system that I work on for highly secure systems. 2) GEMSOS, as a security kernel together with the firmware and x86 architecture hardware, creates a security kernel whose design center is, as they say, security, rather than performance or speed or nifty gadgets. 3) like ALL other secure systems built as reference monitors implementing Mandatory Access Controls (MAC), GEMSOS...
Okay, so according to http://docsrv.sco.com/cgi-bin/man?mansearchword=i286emul&mansection=C&lang=en , i286emul (and more importantly, SysVR2 and SysVR3 on i286) do, indeed, use GDT callgate 89: "i286emul reads the 286 program's text and data into memory and maps them through the LDT (Local Descriptor Table) (via sysi86(S)) as 286 text and data segments. It also sets callgate 89 in the GDT (Global Descriptor Table) (which is used by 286 programs for system calls) to point to a routine in i286emul....
svr4/sysi86.c case SI86DSCR
That’s an very useful explanation. Thanks. I’ll look at the Debian build info, and use judgement as to how to resolve compilation issues with what I’m doing. Any guidance on the GCC x86.get_pc_thunk.ax ask reference? Looks like it’s just capturing the function ID from the lcall. If so, I’ll work something out or uprev the gcc I’m using. In the long term, I plan to port this to our own os using non GCC compiler tools, so I’ll be coming up with an alternative way to access tha information anyway. Again,...
Please identify versions of gcc etc. you are working with
Rod - here are exerpts from a note to myself from April 2013: These days, I use a...