This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-04-22 14:49:36 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
d815e42419
opnsense-src
/
lib
/
libc
/
powerpc64
/
sys
/
Makefile.inc
5 lines
52 B
PHP
Raw
Normal View
History
Unescape
Escape
Provide 64-bit PowerPC support in libc. Obtained from: projects/ppc64
2010-07-10 10:45:03 -04:00
# $FreeBSD$
[PowerPC] Implement VDSO timebase access on powerpc* Implement the remaining pieces needed to allow userland timestamp reading. Rewritten based on an intial essay into the problem by Justin Hibbits. (Copyright changed to my own on his request.) Tested on ppc64 (POWER9 Talos II), powerpcspe (e500v2 RB800), and powerpc (g4 PowerBook). Reviewed by: jhibbits (in irc) Sponsored by: Tag1 Consulting, Inc. Differential Revision: https://reviews.freebsd.org/D26347
2020-09-07 23:00:31 -04:00
SRCS
+=
__vdso_gettc
.
c
Reimplement brk() and sbrk() to avoid the use of _end. Previously, libc.so would initialize its notion of the break address using _end, a special symbol emitted by the static linker following the bss section. Compatibility issues between lld and ld.bfd could cause the wrong definition of _end (libc.so's definition rather than that of the executable) to be used, breaking the brk()/sbrk() interface. Avoid this problem and future interoperability issues by simply not relying on _end. Instead, modify the break() system call to return the kernel's view of the current break address, and have libc initialize its state using an extra syscall upon the first use of the interface. As a side effect, this appears to fix brk()/sbrk() usage in executables run with rtld direct exec, since the kernel and libc.so no longer maintain separate views of the process' break address. PR: 228574 Reviewed by: kib (previous version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D15663
2018-06-04 15:35:15 -04:00
MDASM
+=
cerror
.
S
Reference in a new issue
Copy permalink