• 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

dynamic-tables

cloudify

telegraf-output-plugins

clarity-lang

android-percent-library

nscollectionlayoutsection

webservicehost

django-rest-viewsets

hiveddl

rust-tonic

fastavro

timespan

polymer-3.x

filetime

jsrender

subcomponent

wifip2p

amazon-simple-email-service

excanvas

automation-for-jira

groovysh

ml-studio

implementation-defined-behavior

pg-mem

drop-table

dynamic-languages

datastax-startup

mplab-x-5.50

globalcompositeoperation

workflow

About Contact Privacy policy Terms and conditions