using symbols in ld script
Posted: Sat Feb 18, 2006 9:39 am
i have a pb with symbols defined in th ld script
actually i have a symbol end defined at the end of the ld script
but when i try tu use it in my c++ file
i get this message when linking
undefined reference to end
curiously, i dont get this error in using end symbol in my multiboot asm file header.
actually i have a symbol end defined at the end of the ld script
Code: Select all
...
}
end = .;
Code: Select all
extern DWORD end;
DWORD currentEnd = end;
undefined reference to end
curiously, i dont get this error in using end symbol in my multiboot asm file header.