mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
Keep this just in case
This commit is contained in:
parent
3b57ba9008
commit
bb63f602dd
36
ld/scripts/isc-sysv3.2.sc
Normal file
36
ld/scripts/isc-sysv3.2.sc
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
Script by mohring@informatik.tu-muenchen.de
|
||||
for ISC SYSV 3.2/386
|
||||
*/
|
||||
TARGET("coff-i386")
|
||||
OUTPUT_FORMAT("coff-i386")
|
||||
OUTPUT_ARCH(i386)
|
||||
SEARCH_DIR(/lib)
|
||||
SEARCH_DIR(/usr/lib)
|
||||
SEARCH_DIR(/usr/local/lib)
|
||||
SEARCH_DIR(/usr2/lib)
|
||||
ENTRY(_start)
|
||||
|
||||
SECTIONS {
|
||||
.text SIZEOF_HEADERS :
|
||||
{
|
||||
CREATE_OBJECT_SYMBOLS
|
||||
*(.init);
|
||||
*(.text);
|
||||
*(.fini);
|
||||
etext = . ;
|
||||
}
|
||||
|
||||
.data NEXT(0x400000) + (SIZEOF(.text) + ADDR(.text)) % 0x2000:
|
||||
{
|
||||
*(.data);
|
||||
edata = . ;
|
||||
}
|
||||
|
||||
.bss SIZEOF(.data) + ADDR(.data) :
|
||||
{
|
||||
*(.bss);
|
||||
[COMMON]
|
||||
end = . ;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user