/usr/bin/ld: obj/telemetry.o: warning: relocationinread-only section `.text' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE Run Code Online (Sandbox Code Playgroud) 这是导致警告的文件的一个小示例。仅当我尝试访问/使用 .data 中声明的静态变量时才会发生警告 .file"telemetry.s".data t...
无法汇编我的代码:警告:警告:在只读部分“.text”中重定位,警告:在 PIE 中创建 DT_TEXTREL 问题描述 投票:0回答:1我尝试在我的 Linux 电脑上复制我必须在 Windows 电脑上研究的汇编工作区(其中我有如何安装和使用 wsl 的说明),但是当我尝试使用以下方式进行汇编时 ./assemble.ps1 ./file.s 我收到这 2 ...
> warning: creating a DT_TEXTREL in object. > > What is it and how can I get rid of it (except for linker option)? Are you sure you need to get rid of it? Try compiling your code with the -fPIC compiler flag. --->8--- letharion🇸🇪 ASKER 2009/4/03 Thanks. have to ad...