Bug 252490 - devel/binutils: object files doesn't have the ELFOSABI_FREEBSD brand
Summary: devel/binutils: object files doesn't have the ELFOSABI_FREEBSD brand
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 10:26 UTC by Mikael Urankar
Modified: 2021-01-08 22:20 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (jflopezfernandez)


Attachments
v0 (6.68 KB, patch)
2021-01-07 10:26 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 2021-01-07 10:26:09 UTC
Created attachment 221349 [details]
v0

file hello.o 
hello.o: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), not stripped

./hello 
ELF binary type "0" not known.

brandelf -t FreeBSD hello
./hello 
Hello World

see attached patch for a proposed fix.
Comment 1 Steve Wills freebsd_committer 2021-01-08 22:20:16 UTC
Submitter is committer