summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/asm.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert r274772: it is not valid on MIPSemaste2014-11-251-1/+1
| | | | Reported by: sbruno
* Use canonical __PIC__ flagemaste2014-11-211-1/+1
| | | | | | | | It is automatically set when -fPIC is passed to the compiler. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1179
* Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it andandreast2013-11-211-4/+8
| | | | | | get rid of the __CONCAT and CNAME macros. Reviewed by: bde, kib
* libc: Access _logname_valid more efficiently.jilles2013-08-171-1/+2
| | | | | | | | | | | The variable _logname_valid is not exported via the version script; therefore, change C and i386/amd64 assembler code to remove indirection (which allowed interposition). This makes the code slightly smaller and faster. Also, remove #define PIC_GOT from i386/amd64 in !PIC mode. Without PIC, there is no place containing the address of each variable, so there is no possible definition for PIC_GOT.
* Also import WEAK_ALIAS() from the MIPS code.ed2012-01-051-0/+7
|
* Add support for strong aliasing of symbols in i386 assembly.ed2012-01-031-0/+7
| | | | This macro is a literal copy from the MIPS version of <machine/asm.h>.
* Define an END() macro for use in i386 and amd64 assembly code, akinjkoshy2007-08-221-0/+1
| | | | | | to the one available on the ia64, sparc64, and sun4v architectures. Approved by: re (kensmith)
* Remove advertising clause from University of California Regent'simp2004-04-071-4/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* Remove _ARCH_INDIRECT, it was the glue to enable having both hardwarepeter2003-07-231-67/+0
| | | | | | and software versions of the floating point code in libm. The runtime selection was done by reading the hw.floatingpoint sysctl via __get_hw_float().
* Don't use ## to concatinate to two things that don't together make a C token.obrien2003-06-021-1/+1
| | | | | | Two tokens that don't together form a vaid preprocssor token cannot be pasted together using ANSI-C token concatinatation. GCC 3.2's cpp, at least, produces the desired result w/o using "##".
* PIC_GOTOFF is OBE.peter2002-09-231-2/+0
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-9/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* ASM versions of __FBSDID.obrien2002-03-231-0/+11
|
* Fixed the profiling version ALTENTRY(). Again. The previous versionbde2000-01-251-5/+9
| | | | | didn't set up the frame pointer before calling mcount, and then jumped to the wrong place in ENTRY() to defeat the point of the jump.
* Move ENTRY and ALTENTRY definitions to asm.h where they belong.jasone2000-01-201-1/+4
| | | | | | Unbreak profiling. Again. Submitted by: bde
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fixed longstanding profiling bug. The frame pointer wasn't set upbde1997-04-231-63/+23
| | | | | | | | | | | | | | | | | | | for syscalls, so one frame was lost in backtraces from syscalls. This is handled better in the kernel by using a different mcount entry point for profiling before the frame pointer is set up. Expand RCSID(). Use .p2align instead of the ambiguous .align. Added idempotency ifdef. Removed unused macros ALTENTRY(), ALTASENTRY(), ASENTRY(), _MID_ENTRY. Cleaned up formatting. Reviewed by: jdp reviewed an old version Obtained from: parts from NetBSD
* Only do indirections in ENTRY() if _ARCH_INDIRECT is defined.bde1997-04-151-5/+8
|
* Moved userland assembler macros from <machine/asmacros.h> tobde1997-03-091-1/+82
| | | | <machine/asm.h>.
* Cloned src/lib/libc/i386/DEFS.h to create <machine/asm.h> for the i386.bde1997-03-091-0/+120
The former file was too hard to get at from other parts of the src tree and will go away.
OpenPOWER on IntegriCloud