Page MenuHomeFreeBSD

libc: stop exporting cerror
ClosedPublic

Authored by emaste on Mar 29 2016, 5:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 28 2024, 4:36 PM
Unknown Object (File)
Jan 28 2024, 4:36 PM
Unknown Object (File)
Jan 28 2024, 4:36 PM
Unknown Object (File)
Jan 7 2024, 11:37 AM
Unknown Object (File)
Dec 20 2023, 12:47 AM
Unknown Object (File)
Nov 11 2023, 9:59 PM
Unknown Object (File)
Nov 5 2023, 9:30 PM
Unknown Object (File)
Nov 4 2023, 11:00 PM
Subscribers

Details

Summary

i386 stopped exporting .cerror in rS240152, and likewise for amd64 in rS240178. It is not used by other libraries on any platform, so apply the same change to the remaining instances.

Diff Detail

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

Event Timeline

emaste retitled this revision from to libc: stop exporting cerror.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: imp, brooks, jhibbits.
emaste added inline comments.
lib/libc/arm/Symbol.map
32 โ†—(On Diff #14718)

Not sure how this ended up exported in FBSD_1.0 but it's an error anyway

lib/libc/mips/Symbol.map
31 โ†—(On Diff #14718)

Not sure how this ended up exported in FBSD_1.0 but it's an error anyway

jhibbits edited edge metadata.
This revision is now accepted and ready to land.Mar 29 2016, 5:42 PM
jilles added a reviewer: jilles.

Looks good to me (but probably avoid MFC).

As a followup, architecture maintainers could take advantage of this to use simpler code sequences to access .cerror (and curbrk and minbrk), like rS240152 for i386 and rS240178 for amd64.

Looks good to me (but probably avoid MFC).

As a followup, architecture maintainers could take advantage of this to use simpler code sequences to access .cerror (and curbrk and minbrk), like rS240152 for i386 and rS240178 for amd64.

Yes, I don't plan to MFC this: the risk is low, but so is the benefit.

This revision was automatically updated to reflect the committed changes.