WILMINGTON, Delaware, Aug 14 (Reuters) - Five law firms should receive $267 million in legal fees for obtaining a $1 billion settlement for shareholders of Dell Technologies , the Delaware Supreme Court ruled on Wednesday, rejecting arguments that the payment was a windfall.

The fee is one of the largest ever for U.S. shareholder litigation.

A Delaware trial court is weighing two other requests for huge legal fees, both in cases involving Tesla. (Reporting by Tom Hals in Wilmington, Delaware)