You should get help and get healthy before even having a relationship. I was anorexic in my teen years and into college. You need to learn to love yourself before attempting to love someone else.
How about finding a more supportive boyfriend? If he gets annoyed with your struggles with a mental disorder, he seems rather stupid.
Here's a crazy thought- how about getting treatment for it?