[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25829] New: Several ld tests fail for 16-bit targets like pdp11-
From: |
casner at acm dot org |
Subject: |
[Bug ld/25829] New: Several ld tests fail for 16-bit targets like pdp11-aout |
Date: |
Wed, 15 Apr 2020 22:17:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25829
Bug ID: 25829
Summary: Several ld tests fail for 16-bit targets like
pdp11-aout
Product: binutils
Version: 2.35 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: casner at acm dot org
Target Milestone: ---
Several tests in ld/testsuite/ld-scripts fail for the pdp11-aout target because
address and/or size constants used in the tests are larger than will fit in a
16-bit address space. The choice of those constants is arbitrary, though,
often just following the example test case that was submitted when the bug was
filed. None of those tests are performing an operation where the numerical
size of the constant is significant. Thus, these tests can be fixed for
targets with 16-bit address spaces just by scaling down the constants.
A related problem is the use of .long for references to test symbols. That
requires a 32-bit relocation, which a 16-bit target can't do. Changing to
.dc.a allows the relocation to fit the target address size.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25829] New: Several ld tests fail for 16-bit targets like pdp11-aout,
casner at acm dot org <=
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, casner at acm dot org, 2020/04/15
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, casner at acm dot org, 2020/04/20
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, cvs-commit at gcc dot gnu.org, 2020/04/21
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, nickc at redhat dot com, 2020/04/21
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, casner at acm dot org, 2020/04/21
- [Bug ld/25829] Several ld tests fail for 16-bit targets like pdp11-aout, cvs-commit at gcc dot gnu.org, 2020/04/29