Hi Mark, > Thanks for testing the patch. Although I am slightly confused how it > ended up producing a .debug_abbrev section that is actually empty. Are > you sure this isn't an existing issue?
it certainly is, and not related to your patch (which I didn't test: my IRIX and Tru64 UNIX boxes are far too slow to test anything not immediatly related ;-) I just observed this general issue and wanted to point it out to avoid introducing other instances without due consideration. > The only thing the patch should do (and seems to do on my GNU/Linux > setup) is to explicitly output a .debug_aranges section that is of the > minimum size (so not actually empty, just indicating no ranges are > covered by outputting just the table terminator). Seems I misread the patch then: I'd suspect this (instead of zero-sized sections) should be safe. Sorry for the noise. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University