Follow-up to #1963.
Linker scripts are more lax with numeric literals: they don't enforce any rules about how _ digit separators can be placed, and they don't warn about 32-bit overflow (because rgblink has no -Wlarge-constant).
Adding a -Wlarge-constant to rgblink will be tricky, because so far we only output warnings regarding object files, so all the warning-location-stack code assumes traversable FileStackNodes, which don't exist for included linker scripts.
Follow-up to #1963.
Linker scripts are more lax with numeric literals: they don't enforce any rules about how
_digit separators can be placed, and they don't warn about 32-bit overflow (because rgblink has no-Wlarge-constant).Adding a
-Wlarge-constantto rgblink will be tricky, because so far we only output warnings regarding object files, so all the warning-location-stack code assumes traversableFileStackNodes, which don't exist for included linker scripts.