Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about position-independent-code

Read more about position-independent-code

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - position-independent-code

Writing and linking shared libraries in assembly 32-bit

I am currently learning assembler for x86 with att syntax. Over the past time I have already written exercise programs without dependencies. Now I wanted to try writing a shared shared-library, as thi...
test-img

Cediwelli

assembly

x86

shared-libraries

libc

position-independent-code

Votes: 0

Answers: 1

Latest Answer

As stated in the UPDATE, i've got it working by patching the runtime of the ELF with patchelf --set-interpreter /lib/ld-linux.so.2 startprog Also as stated, if anyone knows, why it automatically assig...
test-img

Cediwelli

Creating and uploading PIC in GCC

Suppose I wish to create position independent code which will be dynamically loaded by a MCU. GCC allows for compiling PIC but I am unsure what the process is to get the final binary output. To clarif...
test-img

FourierFlux

gcc

linker

microcontroller

gnu-assembler

position-independent-code

Votes: 0

Answers: 0

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved