[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25828] New: nm for pdp11-aout shows symbols undefined or s
From: |
casner at acm dot org |
Subject: |
[Bug binutils/25828] New: nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits |
Date: |
Wed, 15 Apr 2020 22:06:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25828
Bug ID: 25828
Summary: nm for pdp11-aout shows symbols undefined or
sign-extended to 64 bits
Product: binutils
Version: 2.35 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: casner at acm dot org
Target Milestone: ---
Presumably since the creation of the pdp11-aout target 20 years ago, a symbol
defined in a linker script that is referenced as a global variable in a source
file will be shown as undefined by nm:
00000000 T __start
00000000 T _start
00000000 T main
00000000 t pr14962a.o
00000002 t pr14962b.o
00000000 T start
U x
Separately, symbols with the MSB set will be shown sign-extended to 64 bits,
whereas PDP11 addresses are only 16 bits.
00000000 A DATA_LENGTH
00001000 A DATA_ORIGIN
ffffffffffff8000 A TXT_LENGTH
00000100 A TXT_ORIGIN
00001004 D data_end
00001000 T data_start
00001000 D data_symbol
00001000 D fred
00000104 T text_end
00000100 T text_start
00000100 T text_symbol
00000100 t tmpdir/script.o
ffffffffffff8100 D tred
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25828] New: nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits,
casner at acm dot org <=
- [Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits, casner at acm dot org, 2020/04/15
- [Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits, nickc at redhat dot com, 2020/04/17
- [Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits, casner at acm dot org, 2020/04/17
- [Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits, cvs-commit at gcc dot gnu.org, 2020/04/20
- [Bug binutils/25828] nm for pdp11-aout shows symbols undefined or sign-extended to 64 bits, nickc at redhat dot com, 2020/04/20