X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2Fldgram.y;h=11c2f219c05d0c3b8f9cd2579faf41a831e4a396;hb=f908e960c5537c116f7123b6697d74db9853d9be;hp=c8396bbfd5b9e19b86bf61c0b632fb748a270b30;hpb=a3e8dd2ad3bce85d550b131cb12b5250ac830faa;p=binutils-gdb.git diff --git a/ld/ldgram.y b/ld/ldgram.y index c8396bbfd5b..11c2f219c05 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -1,5 +1,5 @@ /* A YACC grammar to parse a superset of the AT&T linker scripting language. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. Written by Steve Chamberlain of Cygnus Support (steve@cygnus.com). This file is part of the GNU Binutils. @@ -1262,6 +1262,10 @@ phdr_type: $$ = exp_intop (0x6474e550); else if (strcmp (s, "PT_GNU_STACK") == 0) $$ = exp_intop (0x6474e551); + else if (strcmp (s, "PT_GNU_RELRO") == 0) + $$ = exp_intop (0x6474e552); + else if (strcmp (s, "PT_GNU_PROPERTY") == 0) + $$ = exp_intop (0x6474e553); else { einfo (_("\