This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I am experimenting by statically compiling a minimal program and examining the system calls that are issued: $ cat hello.c #include <stdio.h> int main (void) { write(1, "Hello world!", 12); return 0; } $ gcc hello.c -static $ objdump -f a.out a.out: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: EXEC_P, [...] read more
$ objdump -f ./a.out ./a.out: file format elf32-i386 architecture: i386, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x080484e0 $ objdump -f function.o function.o: file format elf32-i386 architecture: i386, flags 0x00000011: HAS_RELOC, HAS_SYMS start address 0x00000000 What is the meaning of flags (flags 0x00000011: OR flags 0x00000112:) ? Nothin in the [...] read more
For background, I'm running bare-metal QEMU-4.1.0 on aarch64. There are several ways to get QEMU to load compiled code into memory. I'd like to understand what the underlying differences are, because I see very different behavior and the documentation doesn't shed any light. Consider this first command line: qemu-system-aarch64 \ [...] read more
Among other things I am trying to understand the difference between OUTPUT_ARCH(arm) and OUTPUT_ARCH(armv4). Assume we have next files (I have used linker script example from here as a basis): main.c: int main(void) { test_1(); test_2(); return 0; } main.lds: OUTPUT_ARCH(arm) SECTIONS { . = 0x10000; .text : { *(.text) [...] read more
I wrote a mini-boot loader and a simple kernel that print a string. I followed step-by-step this playlist(First 3 videos to be precise!). Anyway, when I boot my virtual machine(with my ISO) I get those messages: "error: no multiboot header found." "error: you need to load the kernel first." I [...] read more
I read GRUB Multiboot header not found but I cannot still load my kernel I tries to write the multiboot2 header directly in the .s file then link it. It is supposed to appear before all other segment: [kheader.s] .section .mbt2std tag_start: .long 0xE85250D6 .long 0 .long tag_end-tag_start .long -1*(tag_end-tag_start [...] read more
I tried to use this Code/Guide on an ATmega1284p. The problem that I encounter is that the linker does not work, and I get following error message after executing (code builds well for ATmega88): avr-ld -o main.elf main.o -g avr-ld: avr:51 architecture of input file `main.o' is incompatible with avr [...] read more
So, I am trying to learn ARM assembly and basically what I want to do is turn on the LEDs of my BeagleBone Black using pure assembly. I know how to program in C very well, but I am new to ARM assembly if that makes any difference. Basically I [...] read more
Two updates - see at the end of this post: After two sleepless nights I decided (for the very first time) to directly ask for your support. Problem: When I try to cross-compile for Raspberry (RPI) a peace of code on my intel ubuntu it leads to the code which [...] read more
I compiled very very simple assembly code with nasm and ld under Linux (CentOS6 32bit). nasm -f elf -o basic1.o basic1.asm ld -o basic1 basic1.o cat basic1.asm ;--------------------------------------- section .data msg db 'hello world', 10, 00 section .bss tests resd 100 segment .text global _start _start: And, I execute the [...] read more
I'm actually studying the unix objdump command. I want to retrieve the flags showed by the command "objdump -f file" Here is an example > $>objdump -f /bin/ls > > /bin/ls: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: > > EXEC_P, HAS_SYMS, D_PAGED > > start address 0x0000000000404e68 I know [...] read more
I am working in software firm where hardware independent coding is done on the Network Chipsets and fully Multigthreading coding implemented and various buffers(CRU Buffer, Linear Buffer) are handled and memory (stack memory) is optimally used. And IPC done via Message queues. And Multiple Locks, Semaphores are used for concurrency [...] read more
I am trying to boot a custom kernel on Xeon-phi instead of the default Linux kernel. At this link, I found a way to cross compile my kernel which compiles successfully using k1om-mpss-linux-gcc cross compiler. Is cross compiling enough ? I get the error > mykernel.img is not a k1om [...] read more
enter code here------------ SYSTEM INFO Using intel-core i7 processor installed UBUNTU 13.10 -------------------------------------------------------------------------------- CODE INFO My program generates binary : test It links with one shared library : libtest.so libtest.so links with libc.so.6 When tried to run the binary ./test gives the following error: bash: ./test: cannot execute binary file [...] read more
One of my user has problem with the listpicker. The problem is only happen with his lumia 1520 (and I think also with other phone with that resolution but I can't test it). The listpicker crash when the user tap on it and it goes to full mode display in [...] read more
I've been trying to compile busybox from source for ttylinux x64 I'm currently.. dealing with. Because of some king of bug (very similar to described here) I'm forced to use cross compiler. But this thing refuses to work. When I try to run it: $ /mnt/hdd/cross-compiler-x86_64/bin/x86_64-gcc --version I get: -bash: [...] read more
I'm actually trying to get the flags of given by the objdump -s command through a C program. But I don't know where to look for them. For example here: ./my_objdump: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x00000000004006f0 I would like to know how [...] read more
I'm using SCons to compile few programs and then I want to check what type of binary file is it. Is it 64bit or 32bit, in windows I used dumpbin. I tried using nm for unix and that returned the following ~/Documents/scons_unix/SCons_test$ nm VisualStudio08-32bit 0000000000600e50 d _DYNAMIC 0000000000600fe8 d _GLOBAL_OFFSET_TABLE_ [...] read more
Trying to do asp net core publish for aws ec2 t4g linux-2 linux arm machine. I do this Menu build/publish Set the target runtime to linux-arm64 zip the publish folder Transfer zip file to the machine unzip then objdump I get file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: which I [...] read more