Hi,
I am working on security topics, and I need to write a C file that has
only one function in it (without the main routine). I need to compile
it.
Normally the compilation commands for it would be gcc -c blank.c -o
blank.o This crates a .o file starting at address 0 with just the single
routine inside the .o file. My question is whether I can make the
routine be given a specific address, say for example 8048000 instead of
starting at location 0.
Thanks in advance.