aboutsummaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index 24ef35c..5b3ffe3 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -1357,7 +1357,7 @@ suboptions:
memset (&$$, 0, sizeof (struct res_res_info));
$$.language = language;
/* FIXME: Is this the right default? */
- $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE;
+ $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE;
}
| suboptions memflag
{
@@ -1406,7 +1406,7 @@ memflags_move:
{
memset (&$$, 0, sizeof (struct res_res_info));
$$.language = language;
- $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE;
+ $$.memflags = MEMFLAG_MOVEABLE | MEMFLAG_PURE | MEMFLAG_DISCARDABLE;
}
| memflags_move memflag
{