Re: [PATCH] removal of "static foo = 0" from drivers/ide (test11)

From: Keith Owens (kaos@ocs.com.au)
Date: Tue Nov 28 2000 - 22:23:06 EST


On Tue, 28 Nov 2000 17:53:48 -0600,
Peter Samuelson <peter@cadcamlab.org> wrote:
>Binary patching? If you are binary patching something you need to get
>the exact location, one way or another. Whatever tool you use to
>extract the location of a symbol in an object file, that same tool
>should tell you which section it is in. If the tool only looks in
>'.data', it is flawed.

The whole point of bss is that it does not have any space allocated in
the object on disk. bss is just a section entry saying "this size, at
this location", the area is allocated and zeroed at load time. Binary
patches against bss on disk cannot work, there is nothing to patch.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:21 EST