projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RISC-V: Fix RV32Q conflict
[binutils-gdb.git]
/
gas
/
ehopt.c
diff --git
a/gas/ehopt.c
b/gas/ehopt.c
index bf65602f533558f070d772e5e4364da6431787b8..1d33a60d3e36f8db9d42ba9d8edb06e748b59994 100644
(file)
--- a/
gas/ehopt.c
+++ b/
gas/ehopt.c
@@
-1,5
+1,5
@@
/* ehopt.c--optimize gcc exception frame information.
/* ehopt.c--optimize gcc exception frame information.
- Copyright (C) 1998-20
19
Free Software Foundation, Inc.
+ Copyright (C) 1998-20
22
Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GAS, the GNU Assembler.
Written by Ian Lance Taylor <ian@cygnus.com>.
This file is part of GAS, the GNU Assembler.
@@
-118,7
+118,7
@@
get_cie_info (struct cie_info *info)
/* First make sure that the CIE Identifier Tag is 0/-1. */
/* First make sure that the CIE Identifier Tag is 0/-1. */
- if (st
rncmp (segment_name (now_seg), ".debug_frame", 12) == 0
)
+ if (st
artswith (segment_name (now_seg), ".debug_frame")
)
CIE_id = (char)0xff;
else
CIE_id = 0;
CIE_id = (char)0xff;
else
CIE_id = 0;
@@
-283,10
+283,10
@@
check_eh_frame (expressionS *exp, unsigned int *pnbytes)
#endif
/* Select the proper section data. */
#endif
/* Select the proper section data. */
- if (st
rncmp (segment_name (now_seg), ".eh_frame", 9) == 0
+ if (st
artswith (segment_name (now_seg), ".eh_frame")
&& segment_name (now_seg)[9] != '_')
d = &eh_frame_data;
&& segment_name (now_seg)[9] != '_')
d = &eh_frame_data;
- else if (st
rncmp (segment_name (now_seg), ".debug_frame", 12) == 0
)
+ else if (st
artswith (segment_name (now_seg), ".debug_frame")
)
d = &debug_frame_data;
else
return 0;
d = &debug_frame_data;
else
return 0;