Page MenuHomeFreeBSD

Tidy up machine dependent Makefiles in libc.
ClosedPublic

Authored by brooks on Feb 28 2017, 10:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 2:29 AM
Unknown Object (File)
Mon, Nov 25, 1:38 AM
Unknown Object (File)
Sun, Nov 24, 11:25 AM
Unknown Object (File)
Sun, Nov 24, 7:31 AM
Unknown Object (File)
Nov 23 2024, 4:34 PM
Unknown Object (File)
Nov 21 2024, 11:07 AM
Unknown Object (File)
Nov 20 2024, 9:32 PM
Unknown Object (File)
Nov 14 2024, 3:51 AM
Subscribers

Details

Summary

Correct MDSRCS use in <arch>/string/Makefile.inc.

  • Remove .c files which duplicate entries in MISRCS.
  • Use the same, less merge conflict prone style in all cases.
  • Use MDSRCS for mips (.c and .S files both ended up in SRCS).
  • Remove pointless sparc64 Makefile.inc.
  • Remove uninformative foreign VCS ID entries.

Correct an misunderstanding of MDSRCS.

MDSRCS it intended to allow assembly versions of funtions with C
implementations listed in MISRCS. The selection of the correct
machdep_ldis?.c for a given architecture does not follow this pattern
and the file should be added to SRCS directly.


Garbage collect unused gdtoa related files on mips.

Test Plan

Will perform a universe build before commit.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7817
Build 7961: arc lint + arc unit

Event Timeline

brooks retitled this revision from to Tidy up machine dependent Makefiles in libc..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: jhb, adrian, imp.
imp edited edge metadata.

lgtm

This revision is now accepted and ready to land.Mar 1 2017, 2:40 PM
jhb edited edge metadata.
This revision was automatically updated to reflect the committed changes.
fuz added inline comments.
head/lib/libc/amd64/string/Makefile.inc
13 ↗(On Diff #25903)

This change dropped our machdep strcpy.c implementation, so strcpy no longer calls into the assembly stpcpy to do its job. Will fix this in an upcoming DR.