Page MenuHomeFreeBSD

Use standard pattern for stdargs
ClosedPublic

Authored by imp on Feb 11 2018, 5:26 PM.
Tags
None
Referenced Files
F105911480: D14323.diff
Sun, Dec 22, 12:48 PM
Unknown Object (File)
Thu, Nov 28, 12:03 PM
Unknown Object (File)
Thu, Nov 28, 12:03 PM
Unknown Object (File)
Nov 15 2024, 6:39 PM
Unknown Object (File)
Oct 23 2024, 6:43 PM
Unknown Object (File)
Oct 18 2024, 4:12 AM
Unknown Object (File)
Oct 18 2024, 3:02 AM
Unknown Object (File)
Sep 29 2024, 8:10 PM
Subscribers

Details

Summary

mips stdargs.h has all kinds of junk for really old compilers. gcc 3 was released in 2001, so we don't need support for pre-gcc3 anymore. When you remove it, there's nothing left except for code that's a poorer version of sys/_stdarg.h. Migrate to that. In fact, sparc64 and powerpc could use the same.

Test Plan

I'm just doing a buildworld :) worked for mipsel, mips64, powerpc64, sparc64

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp edited the test plan for this revision. (Show Details)

I'll note that phk suggests that mips can't use this file in his initial commit, but I see no reason why it can't.

buildworld mips64 and mipsel completes w/o error

imp edited the summary of this revision. (Show Details)

sparc and powerpc too

imp retitled this revision from Use standard pattern for varargs to Use standard pattern for stdargs.Feb 11 2018, 10:24 PM
imp edited the summary of this revision. (Show Details)
imp edited the test plan for this revision. (Show Details)
imp added reviewers: nwhitehorn, jhibbits, marius.
imp edited the summary of this revision. (Show Details)
  • We don't support gcc < 4.2.1, so varargs.h now is just #error
kan added a subscriber: kan.

no objection

This revision is now accepted and ready to land.Feb 12 2018, 3:10 AM
This revision was automatically updated to reflect the committed changes.