]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - binutils/patches/binutils-use-new-ld-dtags.patch
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / binutils / patches / binutils-use-new-ld-dtags.patch
1 --- binutils/ld/ldmain.c
2 +++ binutils/ld/ldmain.c
3 @@ -296,6 +296,7 @@ main (int argc, char **argv)
4
5 link_info.allow_undefined_version = TRUE;
6 link_info.keep_memory = TRUE;
7 + link_info.new_dtags = TRUE;
8 link_info.combreloc = TRUE;
9 link_info.strip_discarded = TRUE;
10 link_info.callbacks = &link_callbacks;
11 --- binutils/ld/ld.texinfo
12 +++ binutils/ld/ld.texinfo
13 @@ -2036,8 +2036,9 @@
14 systems may not understand them. If you specify
15 @option{--enable-new-dtags}, the dynamic tags will be created as needed.
16 If you specify @option{--disable-new-dtags}, no new dynamic tags will be
17 -created. By default, the new dynamic tags are not created. Note that
18 -those options are only available for ELF systems.
19 +created. On Gentoo, by default, the new dynamic tags are created (this
20 +differs from upstream behaviour). Note that those options are only
21 +available for ELF systems.
22
23 @kindex --hash-size=@var{number}
24 @item --hash-size=@var{number}