Sami Wagiaalla wrote: > Roland McGrath wrote: >> That diff was really not useful. Please post the diff between what you >> have in the frysk tree and the corresponding vanilla elfutils source. >> > Roland, > > My mistake. This branch (sami-elfutils_129-merge-20070827-branch) now > contains the vanila elfutils sources plus frysk changes to elfutils. I > attached a diff showing thos changes. > > Sami Thanks! Working through this I found these problems: > GLOBAL(large_global_at_small_global) > GLOBAL(small_global_at_large_global) > STORE(REG0,REG0) <---- HERE > NO_OP > SIZE(small_global_at_large_global) > NO_OP > SIZE(large_global_at_small_global) this isn't "stable" the first of those symbols is choose. > # A global symbol that has zero size. > GLOBAL(global_st_size_0) > LOAD_IMMED_BYTE (REG0, 0) > STORE (REG0, REG0) <---- HERE > NO_OP this symbol can be missed entirely because min_label is > global_st_size_0. > # A global symbol, with size, that contains a nested global and local > # symbols each also with sizes. > GLOBAL(global_outer) > STORE(REG0, REG0) > NO_OP > LOCAL(local_in_global) > STORE (REG0, REG0) <----- HERE > NO_OP > SIZE(local_in_global) > .Lglobal_outer: > STORE (REG0, REG0) > NO_OP > SIZE(global_outer) this isn't stable, the second of local_in_global and global_outer is chosen. I've attached a context diff of up-stream vs local (they are sufficiently different to make a unified diff harder to read). I'll see about mearing that !section and !file test. Andrew