EnglishFrenchSpanish

OnWorks favicon

ld86 - Online in the Cloud

Run ld86 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ld86 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ld86 - Linker for as86(1)

SYNOPSIS


ld86 [-03MNdimrstyz[-]] [-llib_extension] [-o outfile] [-Ccrtfile] [-Llibdir] [-Olibfile]
[-Ttextaddr] [-Hheapsize] [-Ddataaddr] infile...

DESCRIPTION


This linker understands only the object files produced by the as86 assembler, it can link
them into either an impure or a separate I&D executable.

The linking defaults are everything off or none except for -0 and the output file is
a.out. There is not a standard library location defined in the linker.

OPTIONS


-0 produce header with 16-bit magic

-3 produce header with 32-bit magic

-d delete the header from the output file, used for MSDOS COM files. As a side effect
this also includes -s as there's nowhere to put a symbol table.

-Cx add file libdir-from-search/crtx.o to list of files linked

-D data base address follows (in format suitable for strtoul)

-H the top of heap (initial stack) address (in format suitable for strtoul)

-Lx add dir name x to the head of the list of library dirs searched

-M print symbols linked on stdout

-N Create a native Linux OMAGIC output file. If the contents are i386 code the binary
can be either linked by GCC or executed by linux. If the -z option is also included
the linker can generate a QMAGIC executable.

-Ox add library or object file libdir-from-search/x to list of files linked

-T text base address follows (in format suitable for strtoul)

-i separate I&D output

-lx add library libdir-from-search/libx.a to list of files linked

-m print modules linked on stdout

-o output file name follows

-s strip symbols

-r Generate a relocatable object from one source object, if the linker is given the -N
option also the output format will be the hosts native format if possible.

-t trace modules being looked at on stdout

-y Alter the symbol tables to add label 'extensions' so that labels with more than 8
characters can be stored in elks executables.

-z produce "unmapped zero page" or "QMAGIC" executables

All the options not taking an argument may be turned off by following the option letter by
a '-', as for cc1.

PREDEFINED LABELS


The linker predefines several labels that can be imported into user programs.

__etext
Standard C variable for the end of the text segment.

__edata
Standard C variable for the end of the initilised data.

__end Standard C variable for the end of the bss area.

__segoff
The offset within the executable file between the start of the text segment and the
start of the data segment in 16 byte 'paragraphs'. Note this is zero for impure
(tiny model) executables and is adjusted for executables that don't start at offset
0 within the segment.

__segXDL
The lowest address with data in segment 'X'. (eg __seg0DL is for segment zero or
the text segment, __seg3DL is for the data segment) The value 'X' is a hex digit.

__segXDH
The top of segment 'X's data area.

__segXCL
The bottom of segment 'X's 'common data' or unitilised data area. Each segment has
both an initilised and unitilised data area.

__segXCH
The top of segment 'X's common area.

__segXSO
This is the adjusted offset from segment 0 of the start of segment 'X' in
'paragraphs'.

HISTORY


The 6809 version does not support -i.

The previous versions of the linker could produce an 8086 executable with segments of a
size >64k, now only i386 executables may have segments this large.

Use ld86 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad