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

2023-12-11 Thread danglin at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31120

John David Anglin  changed:

   What|Removed |Added

 CC||danglin at gcc dot gnu.org

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


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

2023-12-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31120

Alan Modra  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #1 from Alan Modra  ---
*** Bug 31195 has been marked as a duplicate of this bug. ***

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


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

2024-01-04 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31120

--- Comment #2 from Sourceware Commits  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c217aed574216e6af34188ac8a9bf019539e415d

commit c217aed574216e6af34188ac8a9bf019539e415d
Author: Alan Modra 
Date:   Sun Dec 31 14:09:10 2023 +1030

PR31120, ld-scripts/fill2 fails when bfd_vma is 32 bits

The ld lexer converts strings to integers without overflow checking,
so I don't think there is any problem in truncating an integer that
exceeds the size of a bfd_vma rather than using (bfd_vma) -1.

PR 31120
* ldlex.l: Don't use bfd_scan_vma for integer conversion, use
strtoull.

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


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

2024-01-04 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31120

Alan Modra  changed:

   What|Removed |Added

   Target Milestone|--- |2.42
 Resolution|--- |FIXED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
 Status|NEW |RESOLVED

--- Comment #3 from Alan Modra  ---
Fixed

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