aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/objdump.exp
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/objdump.exp')
-rw-r--r--binutils/testsuite/binutils-all/objdump.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/objdump.exp b/binutils/testsuite/binutils-all/objdump.exp
index 53168d4..bdfc4b1 100644
--- a/binutils/testsuite/binutils-all/objdump.exp
+++ b/binutils/testsuite/binutils-all/objdump.exp
@@ -96,6 +96,11 @@ if ![regexp $want $got all text_name text_size data_name data_size] then {
verbose "data name is $data_name size is $data_size"
set ets 8
set eds 4
+ # The [ti]c4x target has the property sizeof(char)=sizeof(long)=1
+ if [istarget *c4x*-*-*] then {
+ set ets 2
+ set eds 1
+ }
# c54x section sizes are in bytes, not octets; adjust accordingly
if [istarget *c54x*-*-*] then {
set ets 4