RE: .bss segment alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not to sure if this will help, but you can force a fortran common to a
specific virtual address at link time by passing ld some commands:
 


g77 <usual stuff > -Wl,--defsym -Wl,global01_=0x40200000


with this you know that "COMMON / GLOBAL01 /" will be in a fixed
location.  i have used this in the past to map fortran common to shared
memory using shmat to a fixed address.

you can probably force anything to be anywhere with ld commands, but I
have no clue on the details :)


regards,
bud davis


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux