• 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

azure-sdk-python

unity5

undefined-behavior

push

nextjs-rewrites

android-image

personal-hotspot

html5-template

nuttx

osx-mountain-lion

proj

npm-version

infinite-sequence

pybigquery

sse2

interface-design

perspective

opacity

tabpy

dimensionality-reduction

json-api-response-converter

django-mssql-backend

webpack-stream

toml

context-free-language

file-management

broken-image

forward-list

msgbox

apache-httpasyncclient

About Contact Privacy policy Terms and conditions