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)
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)
Sat, Nov 23, 4:34 PM
Unknown Object (File)
Thu, Nov 21, 11:07 AM
Unknown Object (File)
Wed, Nov 20, 9:32 PM
Unknown Object (File)
Nov 14 2024, 3:51 AM
Unknown Object (File)
Nov 7 2024, 9:27 PM
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

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

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

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.