Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VAX addressing modes



On 2017-07-25 10:18, Martin Husemann wrote:
Hey folks,

in PR 52427 you can find an example for VAX gcc/binutils (in -current
and -8), probably when compiling *huge* switch() case: statements,
produces runtime relocactions (against the .text section) that look
like:

	R_VAX_RELATIVE   *ABS*+0x676cf

My knowledge of VAX addressing modes is tiny, so before I go digging deep
in the VARM on a fools erand, can somone please explain these?

Or are they just a compiler/linker bug?

I'm not sure I understand the problem. This has nothing to do with VAX addressing modes, but is a question of how relocatable symbols are handled in the compiler, object file and linker.

To talk about VAX addressing modes, you need a VAX instruction, and the arguments to that instruction.

	Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index