Message ID | 01252aa43e79fd6ef92fc8dafe19193b334fae8b.1585587351.git.vivek@collabora.com |
---|---|
State | New |
Headers | show |
Series | binutils patches to add DT_FLAGS_1 / DF_1_UNIQUE | expand |
diff --git a/ld/emultempl/elf.em b/ld/emultempl/elf.em index bb7e537530..3d63917313 100644 --- a/ld/emultempl/elf.em +++ b/ld/emultempl/elf.em @@ -787,6 +787,8 @@ fragment <<EOF link_info.flags |= (bfd_vma) DF_ORIGIN; link_info.flags_1 |= (bfd_vma) DF_1_ORIGIN; } + else if (strcmp (optarg, "unique") == 0) + link_info.flags_1 |= (bfd_vma) DF_1_UNIQUE; else if (strcmp (optarg, "combreloc") == 0) link_info.combreloc = TRUE; else if (strcmp (optarg, "nocombreloc") == 0)