bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31120] New: ld-scripts/fill2 fails when bfd_vma is 32 bits


From: amodra at gmail dot com
Subject: [Bug ld/31120] New: ld-scripts/fill2 fails when bfd_vma is 32 bits
Date: Thu, 07 Dec 2023 04:26:38 +0000

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

            Bug ID: 31120
           Summary: ld-scripts/fill2 fails when bfd_vma is 32 bits
           Product: binutils
           Version: 2.42 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: amodra at gmail dot com
  Target Milestone: ---

regexp_diff match failure
regexp "^  0x00000020 00010203 04050607 04050607 04050607 ................$"
line   "  0x00000020 00010203 04050607 ffffffff ffffffff ................"
FAIL: ld-scripts/fill2

The reason for the failure is that FILL ($0001020304050607) in fil2.t has the
value read by strtoul (via scan_bfd_vma in ldlex.l), and strtoul returns -1 on
overflow.

-- 
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]