Page MenuHomeFreeBSD

readelf: Fix printing NT_FREEBSD_ARCH_TAG
ClosedPublic

Authored by arichardson on Feb 3 2021, 2:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 29, 9:40 PM
Unknown Object (File)
Thu, Dec 11, 5:29 PM
Unknown Object (File)
Dec 2 2025, 8:05 AM
Unknown Object (File)
Nov 21 2025, 3:01 AM
Unknown Object (File)
Nov 21 2025, 2:58 AM
Unknown Object (File)
Nov 21 2025, 2:57 AM
Unknown Object (File)
Nov 21 2025, 2:55 AM
Unknown Object (File)
Nov 14 2025, 1:55 AM
Subscribers

Details

Summary

Looking at lib/csu/arm/crt1_s.S, this should be a string and therefore the
restriction to 4 characters seems wrong.
Found whle updating https://reviews.llvm.org/D74393.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36688
Build 33577: arc lint + arc unit

Event Timeline

Introduced in rS343669, looks like partial copy-paste from the other note types.

contrib/elftoolchain/readelf/readelf.c
3744

Cast is unnecessary?

This revision is now accepted and ready to land.Feb 3 2021, 3:04 PM
contrib/elftoolchain/readelf/readelf.c
3744

A yes, for some reason I thought it was a uint8_t *. Will remove before committing.

This revision was automatically updated to reflect the committed changes.
arichardson marked an inline comment as done.