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)
Sun, Feb 16, 8:45 AM
Unknown Object (File)
Wed, Feb 12, 8:11 PM
Unknown Object (File)
Jan 12 2025, 2:41 PM
Unknown Object (File)
Jan 11 2025, 1:18 AM
Unknown Object (File)
Jan 6 2025, 5:32 PM
Unknown Object (File)
Dec 20 2024, 2:29 AM
Unknown Object (File)
Nov 25 2024, 1:38 AM
Unknown Object (File)
Nov 24 2024, 11:25 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.