[PATCH] D17601: [ELF] - Define special symbols _etext and _edata
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 06:59:44 PST 2016
rafael added inline comments.
Comment at: test/ELF/edata-etext.s:79
@@ +78,3 @@
+# CHECK-NEXT: Name: _edata
+# CHECK-NEXT: Value: [[ADDR]]
+# CHECK-NEXT: Size: 0
I don't this this is correct. In this case they are the same because there is no padding before .bss.
To see the difference, add a
after the .bss and before the .space in this test.
Also, is .bss really special? My guess would be that _edata actually points to the end of the last non NOBITS section.
More information about the llvm-commits