https://sourceware.org/bugzilla/show_bug.cgi?id=32271
--- Comment #10 from Stas Sergeev <stsp at users dot sourceforge.net> --- Let me clarify. So with --Trodata-segment=0x08148000 I get this: Тип Смещ. Вирт.адр Физ.адр Рзм.фйл Рзм.пм Флг Выравн LOAD 0x000000 0x08048000 0x08048000 0x0011c 0x0011c R 0x1000 LOAD 0x001000 0x08049000 0x08049000 0x000c5 0x000c5 R E 0x1000 LOAD 0x000000 0x08148000 0x08148000 0x00000 0x00018 RW 0x1000 NOTE 0x0000f4 0x080480f4 0x080480f4 0x00028 0x00028 R 0x4 GNU_PROPERTY 0x0000f4 0x080480f4 0x080480f4 0x00028 0x00028 R 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10 As you can see, only segment 03 have moved. So I assume 03 is rodata. >From here we see: 00 .note.gnu.property 01 .text 02 .bss 03 .note.gnu.property 04 .note.gnu.property 05 ... that .text is segment 01. This means 00 may not be moved with -Ttext-segment, but it actually is. -- You are receiving this mail because: You are on the CC list for the bug.