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

Keith Owens
2000-11-29T03:53:48Z

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.