teximage1D with a size more than GL_MAX_TEX_SIZE?

I have a 1D shading table with a length of 65536 .But GL_MAX_TEXTURE_SIZE=4096.What could I do?

Use a 2D table and address it as

y = index/256;
x = index-y*256;

Use 2d or rectangle texture instead