From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Mon 15 Oct 2001 - 13:07:05 IST
> On 15-Oct-01 Aidan Kehoe wrote:
> > cc -Wall -W -Wshadow -Wformat -pedantic -O3 -g -c c.c
> > c.c: In function `our_main':
> > c.c:12: warning: flag `#' used with type `p'
> > 7:40am ~ > cc -shared -o c.so c.o
> > 7:40am ~ > file c.so
> c.so: ELF 64-bit LSB shared object, Alpha (unofficial), version
> 1, not stripped
Just to add a littel snippet...
Some architectures have naturally position-independent
code. For example, on VAX, it's trivially easy to
generate PIC code since everything can be made
PC-relative very easily.
Unlike silly archs like IA32 where you need to keep
base address registers handy or have loads of relocations
at load time...
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:44 GMT