diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -511,7 +511,7 @@ endif ifeq (yes,$(elf)) # binutils only position loadable notes into the first page for binaries, # not for shared objects -$(common-objpfx)shlib.lds: $(common-objpfx)config.make +$(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules $(LINK.o) -shared -Wl,-O1 \ $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \ -Wl,--verbose 2>&1 | \ @@ -519,9 +519,9 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make -e '/^=========/,/^=========/!d;/^=========/d' \ -e 's/^.*\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \ -e 's/^.*\*(\.dynbss).*$$/& \ - __start___libc_freeres_ptrs = .; \ + PROVIDE(__start___libc_freeres_ptrs = .); \ *(__libc_freeres_ptrs) \ - __stop___libc_freeres_ptrs = .;/' + PROVIDE(__stop___libc_freeres_ptrs = .);/' mv -f $@T $@ common-generated += shlib.lds |