• Categories
    • python
    • javascript
    • java
    • reactjs
    • c#
    • android
    • html
    • node.js
    • php
    • r
    • css
    • flutter
    • c++
    • pandas
    • sql
    • python-3.x
    • typescript
    • angular
    • django
    • mysql
    • ios
    • json
    • swift
    All Categories

Category "relocation"

Why function pointer in the structure causes relocation at program load-time

I've the following code that I compile and run on Linux: #include <stdio.h> // can't be static void do_stuff(void) { ;; } typedef void (*func)(void)

relocation truncated to fit r_386_8 against .bss'

When I try to build my source into a 32-bit static executable for Linux with nasm -f elf -F dwarf -g loop.asm ld -m elf_i386 -o loop loop.o I get this R_386_

  • « Previous
  • Next »

Other Categories

daphne

callcontext

windows-server-2019

defaultproxy

data-wrangling

cell-array

gnu-indent

pivot

nsdragginginfo

episerver-forms

insertion-sort

logstash-logback-encoder

tf-idf

jquery-file-upload

space

persistent-object-store

azerty-keyboard

monads

function-composition

raku

git-reset

reverse-engineering

pinned-shortcut

monit

android-build

gpu-cooperative-groups

game-physics

google-doodle

asp.net-authorization

jsmpeg

About Contact Privacy policy Terms and conditions