Skip to content

Allow the same numeric literal constraints in linker scripts as in assembly #1976

@Rangi42

Description

@Rangi42

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.

Metadata

Metadata

Assignees

Labels

enhancementTypically new features; lesser priority than bugsrgblinkThis affects RGBLINK

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions