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)
Sat, May 4, 3:27 PM
Unknown Object (File)
Thu, Apr 25, 12:03 AM
Unknown Object (File)
Mon, Apr 22, 1:14 PM
Unknown Object (File)
Mar 17 2024, 12:48 AM
Unknown Object (File)
Mar 5 2024, 7:22 PM
Unknown Object (File)
Feb 23 2024, 9:56 AM
Unknown Object (File)
Feb 2 2024, 7:08 AM
Unknown Object (File)
Jan 9 2024, 5: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

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.