Newsgroups: comp.arch Path: csiph.com!xmission!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!kithrup.com!mrs From: mrs@kithrup.com (Mike Stump) Subject: Re: Agner's Proposal for an ideal extensible instruction set Message-ID: Date: Tue, 29 Dec 2015 22:21:29 GMT References: <87y4ce631a.fsf@news.bourguet.org> Organization: Kithrup Enterprises, Ld. X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Lines: 19 X-Received-Bytes: 1677 X-Received-Body-CRC: 1749663879 Xref: csiph.com comp.arch:32270 In article , Quadibloc wrote: >On Tuesday, December 29, 2015 at 3:21:58 AM UTC-7, Ivan Godard wrote: > >> Yes, it can and that's the way you have to do it when the ISA has poor >> support for based addressing, as many early CPUs (and today's >> microcontrollers) did. > >Even with good support for based addressing, there's no reason to expect that >the linker and loader know anything about randomly re-ordering the modules in >the program. You don't keep up do you? C++ virtually requires this. Most systems that supports C++, can do this. Indeed, Apple's linker sections off bytes from global symbol to global symbol, and swizzles them as it sees fit and has done for a very long time. It does this to order the ordering of these sections of code/data so that the program startup is linear and can be predicted and fetched easier from rotating magnetic media. For this to work, the linker _and_ loader both, need to be able to redo references.