ham@Neon.Stanford.EDU (Peter R. Ham) (08/17/89)
Has anyone used ld as a cross linker where the host and target machines have different byte orders? Would it be difficult to change gnu ld to allow this? -- Peter Ham PO Box 3430 (h)(415) 324-9645 MS Computer Science Student Stanford, CA ham@polya.stanford.edu Stanford University 94309 (o)(415) 723-2067
jonathan@comp.vuw.ac.nz (09/01/89)
Has anyone used ld as a cross linker where the host and target machines have the same byte order, but the host machine has stricter alignment requirements? I have tried to do this with an hp9k800 as the host and an hp9k300 as the target. It appears that each relocatable chunk in the input is aligned to a two-byte boundary. Either the input or the output ends up not being word-aligned, and then ld dumps core trying to copy it.