bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25689] PDP-11 a.out LMA/VMA addresses incorrect


From: fritzm at fritzm dot org
Subject: [Bug binutils/25689] PDP-11 a.out LMA/VMA addresses incorrect
Date: Sun, 03 Oct 2021 22:57:00 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25689

Fritz Mueller <fritzm at fritzm dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fritzm at fritzm dot org

--- Comment #2 from Fritz Mueller <fritzm at fritzm dot org> ---
In case it is helpful:

I recently ran into this also.  Interestingly, the heuristic for deducing the
.text start address from the entry point is in fact still there and still
active (it's at bfd/aout-target.h:55.)

As it turns out, the heuristic is only applied when the entry point is in a
different *page* than the .text VMA, and the defined PDP-11 page size was
changed 256 -> 8192 in PR 20694 after the release of 2.33.1.

In my case, I found bumping my .text relocation and entry point up to 0x2000 in
order to correspond to the increased page size did, in fact, result in the
return of the "old" behavior of the tools, including alignment of symbols with
.tex disassembly in objdump and otherwise better-behaved conversions to other
formats via objcopy.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]