Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2006 16:09:50 +0200
From:      "Attilio Rao" <attilio@freebsd.org>
To:        "Aditya Godbole" <aag.lists@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: assyms.s
Message-ID:  <3bbf2fe10607040709h3625059ck616eded8ce38499f@mail.gmail.com>
In-Reply-To: <2f3a439f0607040654h1983febbhfbceb974e366e855@mail.gmail.com>
References:  <2f3a439f0607040654h1983febbhfbceb974e366e855@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2006/7/4, Aditya Godbole <aag.lists@gmail.com>:
> Hi,
>
> I was going through the machine dependant code and found that
> assembler symbols are created using a script that parses symbol names
> taken from an object file. Why is it done this way? Are there any
> advantages of doing this?

assym.s just keeps track of some 'offsets' (often inside data
structures) to be used in .s codes.

It's preliminary generated from $arch/$arch/genassym.c.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10607040709h3625059ck616eded8ce38499f>