Messages in this thread |  | | From | Keith Owens <> | Subject | Re: [PATCH] removal of "static foo = 0" from drivers/ide (test11) | Date | Wed, 29 Nov 2000 14:23:06 +1100 |
| |
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/
|  |