Re: Want to use --emit-relocs in the linker step

2020-04-27 Thread Maxim Dounin
Hello! On Mon, Apr 27, 2020 at 06:23:59PM +0430, Mahmood Naderan wrote: > Hi, > I want to add '--emit-relocs' at the linker stage while building nginx, I > have edited the objs/Makefile to be like this: > > $(LINK) -o objs/nginx \ > objs/src/core/nginx.o \ > >

Re: Want to use --emit-relocs in the linker step

2020-04-27 Thread Mahmood Naderan
Thank you. That is right. Regards, Mahmood On Mon, Apr 27, 2020 at 6:28 PM Andrei Belov wrote: > > > On 27 Apr 2020, at 16:53, Mahmood Naderan wrote: > > > > Hi, > > I want to add '--emit-relocs' at the linker stage while building nginx, > I have edited the objs/Makefile to be like this: > >

Re: Want to use --emit-relocs in the linker step

2020-04-27 Thread Andrei Belov
> On 27 Apr 2020, at 16:53, Mahmood Naderan wrote: > > Hi, > I want to add '--emit-relocs' at the linker stage while building nginx, I > have edited the objs/Makefile to be like this: > > $(LINK) -o objs/nginx \ > objs/src/core/nginx.o \ > > objs/ngx_modu

Want to use --emit-relocs in the linker step

2020-04-27 Thread Mahmood Naderan
Hi, I want to add '--emit-relocs' at the linker stage while building nginx, I have edited the objs/Makefile to be like this: $(LINK) -o objs/nginx \ objs/src/core/nginx.o \ objs/ngx_modules.o \ -ldl -lpthread -lcrypt -lpcre -lz --emit-relocs \