Displaying 16 results from an estimated 16 matches for "auxv".
Did you mean:
aux
2014 Apr 09
0
[klibc:master] <sys/auxv.h>: add missing dependency < klibc/extern.h>
....org/?p=libs/klibc/klibc.git;a=commit;h=fe3dff23a604af5c96060574bcdb4e723b977627
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 9 Apr 2014 15:58:53 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 9 Apr 2014 15:58:53 -0700
[klibc] <sys/auxv.h>: add missing dependency <klibc/extern.h>
__extern is defined in <klibc/extern.h>
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/include/sys/auxv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr/include/sys/auxv.h b/usr/include/sys/auxv.h
index 08...
2014 Jan 25
0
[klibc:master] auxv: convert auxiliary vector into an array; define getauxval()
...web: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=45e09deb6a0a4fcb3a56efb7e18807b2800e358f
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 24 Jan 2014 20:26:04 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 24 Jan 2014 20:28:23 -0800
auxv: convert auxiliary vector into an array; define getauxval()
Convert the ELF auxiliary vector into an array. Define getauxval() as
an inline accessor to that array.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
usr/include/sys/auxv.h | 16 ++++++++++++++++
usr/include/sys/elfc...
2019 Aug 18
1
1.3.3: powerpc portability problems
The PowerPC-related changes in FLAC 1.3.3 have caused some portability
problems.
libFLAC/cpu.c assumes that the <sys/auxv.h> header and the getauxval()
function are universally available on PowerPC platforms. They are not.
On FreeBSD/powerpc, <sys/auxv.h> is available, but getauxval() is
not. Equivalent functionality is provided by elf_aux_info().
On OpenBSD/powerpc, neither is available, nor any equivale...
2014 Apr 09
0
[klibc:master] Move architecture-specific initialization to arch/
...w file mode 100644
index 0000000..111d130
--- /dev/null
+++ b/usr/klibc/arch/i386/archinit.c
@@ -0,0 +1,18 @@
+/*
+ * arch/i386/archinit.c
+ *
+ * Architecture-specific libc initialization
+ */
+
+#include <stdint.h>
+#include <klibc/compiler.h>
+#include <elf.h>
+#include <sys/auxv.h>
+
+extern void (*__syscall_entry)(int, ...);
+
+void __libc_archinit(void)
+{
+ if (__auxval[AT_SYSINFO])
+ __syscall_entry = (void (*)(int, ...)) __auxval[AT_SYSINFO];
+}
diff --git a/usr/klibc/libc_init.c b/usr/klibc/libc_init.c
index 1c6180b..c54d022 100644
--- a/usr/klibc/libc_init.c
+++...
2005 Jan 06
0
Lotus 123 under Wine
...ll @00510000
(0<0>)
0000000a:0000000b: loads DLL c:\windows\system\x11drv.dll @00460000
(0<0>)
0000000a:0000000b: loads DLL c:\windows\system\imm32.dll @00600000
(0<0>)
0000000a:0000000b: exception code=0x80000003
[New Thread 11]
0x006b1d4d in ?? ()
Unknown or malformed query Part:auxv:read::0,187
(no debugging symbols found)...(no debugging symbols found)...(no
..............
..............
...trace: 98 => 80
Wine-gdb>
--
Please reply to rayner.2@osu.edu John N.Rayner
Geography/Atmospheric Sciences, The Ohio State University,
1035 Derby Hall, 154 N. Oval Mall, Columb...
2020 Jul 15
0
New x86-64 micro-architecture levels
...would be nice to have a similar discussion
for other architectures.
One thing that wasn't clear to me from this proposal is how the glibc
dynamic loader checks for the CPU feature flags. This is important for
valgrind since it can communicate those through different means. cpuid
interception, auxv AT_HWCAP/AT_HWCAP2 interception (but not AT_PLATFORM
at the moment) and of course we can generate SIGILL for unsupported
instructions. We currently don't intercept /proc/cpuinfo (but could).
I think it is important to be precise here, because in the past this
has sometimes caused confusion. Fo...
2014 Sep 20
2
[LLVMdev] ARM assembler bug on LLVM 3.5
...int divide(int a, int b)
{
int result;
if (have_hardware_division)
asm (".cpu cortex-a15 \n sdiv %0, %1, %2" : "=r"(result) : "r"(a), "r"(b));
else
result = a / b;
return result;
}
int main(void)
{
int h, i;
unsigned a;
h = open("/proc/self/auxv", O_RDONLY);
if (h != -1) {
uint32_t cap[2];
while (read(h, &cap, 8) == 8) {
if (cap[0] == 16) {
#if defined(__thumb2__)
if (cap[1] & (1 << 18))
have_hardware_division = 1;
#else
if (cap[1] & (1 << 17))
have_hardware_division = 1;
#endif
br...
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
...index c5b9bab4ef0c..6c4de361c42c 100644
--- a/usr/klibc/libc_init.c
+++ b/usr/klibc/libc_init.c
@@ -22,6 +22,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <stdint.h>
+#include <unistd.h>
#include <klibc/compiler.h>
#include <elf.h>
#include <sys/auxv.h>
@@ -39,7 +40,6 @@
# error "SHARED should be defined to 0 or 1"
#endif
-char **environ;
unsigned int __page_size, __page_shift;
struct auxentry {
diff --git a/usr/klibc/lrand48.c b/usr/klibc/lrand48.c
index 7dfcf9200128..a2fc87ae039f 100644
--- a/usr/klibc/lrand48.c
+++ b/usr...
2020 Jul 10
12
New x86-64 micro-architecture levels
Most Linux distributions still compile against the original x86-64
baseline that was based on the AMD K8 (minus the 3DNow! parts, for Intel
EM64T compatibility).
There has been an attempt to use the existing AT_PLATFORM-based loading
mechanism in the glibc dynamic linker to enable a selection of optimized
libraries. But the general selection mechanism in glibc is problematic:
hwcaps
2013 May 23
2
ASM runtime detection and optimizations
...+ __except(GetExceptionCode()==EXCEPTION_ILLEGAL_INSTRUCTION){
+ /*Ignore exception.*/
+ }
+# endif
+# endif
+# endif
+ return flags;
+}
+
+#elif defined(__linux__)
+/* Linux based */
+opus_uint32 opus_cpu_capa(void)
+{
+ opus_uint32 flags = 0;
+ FILE *cpuinfo;
+
+ /* Reading /proc/self/auxv would be easier, but that doesn't work reliably on
+ * Android */
+ cpuinfo = fopen("/proc/cpuinfo", "r");
+
+ if(cpuinfo != NULL)
+ {
+ /* 512 should be enough for anybody (it's even enough for all the flags that
+ * x86 has accumulated... so far). */
+ c...
2018 Jan 29
1
Panic: data stack: Out of memory when allocating bytes
..., file type elf64-x86-64.
> ??? 0x00000000->0x00000558 at 0x00000f20: note0 READONLY HAS_CONTENTS
> ??? 0x00000000->0x000000d8 at 0x00000fa4: .reg/4880 HAS_CONTENTS
> ??? 0x00000000->0x000000d8 at 0x00000fa4: .reg HAS_CONTENTS
> ??? 0x00000000->0x00000130 at 0x00001134: .auxv HAS_CONTENTS
> ??? 0x00000000->0x00000200 at 0x00001278: .reg2/4880 HAS_CONTENTS
> ??? 0x00000000->0x00000200 at 0x00001278: .reg2 HAS_CONTENTS
> ??? 0x7f73e7dcf000->0x7f73ef5d3000 at 0x00002000: load1 ALLOC LOAD
> HAS_CONTENTS
> ??? 0x7f73efcd6000->0x7f73efcd7000 at...
2018 Jan 24
2
Panic: data stack: Out of memory when allocating bytes
On Wed, Jan 24, 2018 at 18:55:47 +0100, Thomas Robers wrote:
> Am 23.01.2018 um 20:07 schrieb Josef 'Jeff' Sipek:
> > On Tue, Jan 23, 2018 at 14:03:27 -0500, Josef 'Jeff' Sipek wrote:
> > > On Tue, Jan 23, 2018 at 18:21:38 +0100, Thomas Robers wrote:
...
> > > 1. Do you have any idea what the imap process was doing at the time of the
> > >
2018 Jan 25
0
Panic: data stack: Out of memory when allocating bytes
...`/var/core/4880', file type elf64-x86-64.
0x00000000->0x00000558 at 0x00000f20: note0 READONLY HAS_CONTENTS
0x00000000->0x000000d8 at 0x00000fa4: .reg/4880 HAS_CONTENTS
0x00000000->0x000000d8 at 0x00000fa4: .reg HAS_CONTENTS
0x00000000->0x00000130 at 0x00001134: .auxv HAS_CONTENTS
0x00000000->0x00000200 at 0x00001278: .reg2/4880 HAS_CONTENTS
0x00000000->0x00000200 at 0x00001278: .reg2 HAS_CONTENTS
0x7f73e7dcf000->0x7f73ef5d3000 at 0x00002000: load1 ALLOC LOAD
HAS_CONTENTS
0x7f73efcd6000->0x7f73efcd7000 at 0x07806000: load2a ALLOC...
2013 Feb 15
0
Wine release 1.5.24
...t a fault address lies in a known virtual memory view.
ntdll: Check for invalid %gs value in 32-bit code.
winex11: Preserve the client window when changing the window visual.
server: Don't support debug registers in ptrace if sys/user.h is missing.
loader: Define our own auxv structure.
loader: Rename the elf_hash function to avoid conflicts.
odbccu32: Remove an unnecessary source file.
twain_32: Remove an unnecessary DllMain entry point.
cryptnet: Remove an unnecessary DllMain entry point.
dpnhpast: Remove an unnecessary DllMain entry poin...
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64.
On POWER9, flac --best is about 3.3x faster.
Amitay Isaacs (2):
Add m4 macro to check for C __attribute__ features
Check if compiler supports target attribute on ppc64
Anton Blanchard (5):
configure.ac: Remove SPE detection code
configure.ac: Add VSX enable/disable
configure.ac: Fix FLAC__CPU_PPC on little endian, and add
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...-Wl,-no-undefined : yes
Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl
Checking for header sys/auxv.h : no
Checking for getauxval : not found
Checking for macro getauxval : not found
Checking linker accepts -Wl,-no-undefined...