David S. Miller wrote: > There is no guarentee that contiguous data or bss section members > will appear contiguous and in the same order, in the final object. That's a different issue and actually okay in this case. What I meant to show is an example where the compiler happens to allocate the variables in sequence, and where it could access them either by referencing each by absolute address, with relocation (so that objdump-patcher could change that), or by generating a pointer and using pointer-relative addressing or pointer increment (so we only get one relocation and never know what may go wrong with the other variables). - Werner -- _________________________________________________________________________ / Werner Almesberger, ICA, EPFL, CH [EMAIL PROTECTED] / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Universal debug macros. Elmer Joandi
- Re: Universal debug macros. Peter Samuelson
- Re: Universal debug macros. Andrew E. Mileski
- Re: Universal debug macros. Richard B. Johnson
- Re: Universal debug macros. Andrew E. Mileski
- Re: Universal debug macros. Richard B. Johnson
- Re: Universal debug macros. Andrew E. Mileski
- Re: [PATCH] removal of "static foo = 0" Adam J. Richter
- Re: [PATCH] removal of "static foo = 0" Werner Almesberger
- Re: [PATCH] removal of "static foo = 0&qu... David S. Miller
- Re: [PATCH] removal of "static foo = ... Werner Almesberger
- Re: [PATCH] removal of "static foo = ... Andrea Arcangeli
- Re: [PATCH] removal of "static fo... Michael Meissner
- Re: [PATCH] removal of "stat... Andrea Arcangeli
- Re: [PATCH] removal of "... Richard B. Johnson
- Re: [PATCH] removal of "... Andrea Arcangeli
- Re: [PATCH] removal of "... Horst von Brand
- Re: [PATCH] removal of "... Andrea Arcangeli
- Re: [PATCH] removal of "... Alexander Viro
- Re: [PATCH] removal of "... Michael Meissner
- Re: [PATCH] removal of "... Andreas Schwab