Position independent CODE with position dependent DATA ?
Renaud
nono240@gmail.com
Wed Jul 7 12:17:00 GMT 2010
More information about the Binutils mailing list
Wed Jul 7 12:17:00 GMT 2010
- Previous message (by thread): suggestion about binutils reading
- Next message (by thread): Position independent CODE with position dependent DATA ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there ! I tried to get an answer over multiple groups, without success. The spot : my CPU (AVR32) has no MMU, running our own minimal RTOS, and tasks are compiled as PIC (mandatory) - using GCC. Without entering into details, we *need* to declare the DATA sections (bss, data...) to be position dependent, i.e to fall at a fixed address regardless of CODE position, thus not PC-relative (unlike PIC is doing as default). I searched around the LD manual without success... Maybe by declaring the sections as "shared memory" or something like that ? Any hints ? (please, please keep away from endless debat, I need an answer ;)) Thanks !
- Previous message (by thread): suggestion about binutils reading
- Next message (by thread): Position independent CODE with position dependent DATA ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list