Bonding areas having different functions including bonding areas providing primarily mechanical bonding