Chromium Code Reviews| Index: elf/Makefile |
| diff --git a/elf/Makefile b/elf/Makefile |
| index 07fc811c01aae3647c331a0cd8220480ba2a434a..fb5db6d40cbdaa249decf2c68c25600edd990552 100644 |
| --- a/elf/Makefile |
| +++ b/elf/Makefile |
| @@ -308,8 +308,13 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map) |
| $(LINK.o) -nostdlib -nostartfiles -shared $(z-now-$(bind-now)) \ |
|
pasko-google - do not use
2011/08/24 16:38:14
would be nice to leave a comment above this line:
khim
2011/08/24 17:03:07
Done.
|
| $(LDFLAGS-rtld) -Wl,-z,defs -Wl,--verbose 2>&1 | \ |
| LC_ALL=C \ |
| - sed -e '/^=========/,/^=========/!d;/^=========/d' \ |
| + sed -e '/^=========/,/^=========/!d;/^=========/d' \ |
| -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \ |
| + -e 's/_end = \.; PROVIDE (end = \.);/& . = DATA_SEGMENT_END(.);/' \ |
| + -e 's/seg_bss PT_LOAD FLAGS(6) ; \/\* read + write \*\///' \ |
| + -e 's/\. = DATA_SEGMENT_END (\.);//' -e 's/} :seg_bss/}/' \ |
|
pasko-google - do not use
2011/08/24 16:38:14
please, wrap the 2-nd -e here to the next line, wo
khim
2011/08/24 17:03:07
Done.
|
| + -e 's/\. = ALIGN (CONSTANT (MAXPAGESIZE));//' \ |
| + -e 's/\. = ALIGN (CONSTANT (COMMONPAGESIZE));//' \ |
| > $@.lds |
| $(LINK.o) -nostdlib -nostartfiles -shared -o $@ \ |
| $(LDFLAGS-rtld) -Wl,-z,defs $(z-now-$(bind-now)) \ |