[PATCH] D22961: [ELF] - Linkerscript: restrict moving location counter backwards.

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 06:47:23 PDT 2016


evgeny777 added a comment.

Does anyone really wants this? There should be huge number of ways to make broken image besides this.
Also AFAIK the code below is valid:

  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
  .debug_abbrev   0 : { *(.debug_abbrev) }

And I wonder if it is different from this one (which, I guess, your patch is making invalid)

  . = 0;
  .debug_info  : { *(.debug_info .gnu.linkonce.wi.*) }
  . = 0;
  .debug_abbrev  : { *(.debug_abbrev) }


https://reviews.llvm.org/D22961





More information about the llvm-commits mailing list